annotate net-im/psi-plus/psi-plus-0.16.545.535.ebuild @ 410:06486d4a9de7

update psi to the latest available snapshot
author Dirk Olmes <dirk@xanthippe.ping.de>
date Wed, 20 Apr 2016 06:22:34 +0200
parents
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
410
06486d4a9de7 update psi to the latest available snapshot
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
1
06486d4a9de7 update psi to the latest available snapshot
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
2 EAPI=5
06486d4a9de7 update psi to the latest available snapshot
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
3
06486d4a9de7 update psi to the latest available snapshot
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
4 inherit eutils l10n multilib gnome2-utils qt4-r2
06486d4a9de7 update psi to the latest available snapshot
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
5
06486d4a9de7 update psi to the latest available snapshot
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
6 DESCRIPTION="Qt4 Jabber client, with Licq-like interface"
06486d4a9de7 update psi to the latest available snapshot
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
7 HOMEPAGE="https://github.com/psi-plus/psi-plus-snapshots/"
06486d4a9de7 update psi to the latest available snapshot
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
8 SRC_URI="https://github.com/psi-plus/psi-plus-snapshots/archive/${PV}.tar.gz"
06486d4a9de7 update psi to the latest available snapshot
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
9
06486d4a9de7 update psi to the latest available snapshot
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
10 S="${WORKDIR}/psi-plus-snapshots-${PV}"
06486d4a9de7 update psi to the latest available snapshot
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
11
06486d4a9de7 update psi to the latest available snapshot
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
12 LICENSE="GPL-2"
06486d4a9de7 update psi to the latest available snapshot
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
13 SLOT="0"
06486d4a9de7 update psi to the latest available snapshot
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
14 KEYWORDS="~amd64 ~x86"
06486d4a9de7 update psi to the latest available snapshot
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
15 IUSE="autoreplyplugin crypt dbus debug doc jingle otrplugin plugins spell ssl xscreensaver watcherplugin whiteboarding"
06486d4a9de7 update psi to the latest available snapshot
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
16 #RESTRICT="test"
06486d4a9de7 update psi to the latest available snapshot
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
17
06486d4a9de7 update psi to the latest available snapshot
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
18 RDEPEND="app-arch/unzip
06486d4a9de7 update psi to the latest available snapshot
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
19 >=dev-qt/qtgui-4.7:4
06486d4a9de7 update psi to the latest available snapshot
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
20 >=app-crypt/qca-2.0.2:2[qt4(+)]
06486d4a9de7 update psi to the latest available snapshot
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
21 x11-libs/libX11
06486d4a9de7 update psi to the latest available snapshot
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
22 dbus? ( >=dev-qt/qtdbus-4.7:4 )
06486d4a9de7 update psi to the latest available snapshot
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
23 spell? ( >=app-text/enchant-1.3.0 )
06486d4a9de7 update psi to the latest available snapshot
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
24 xscreensaver? ( x11-libs/libXScrnSaver )
06486d4a9de7 update psi to the latest available snapshot
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
25 whiteboarding? ( dev-qt/qtsvg:4 )
06486d4a9de7 update psi to the latest available snapshot
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
26 || ( >=sys-libs/zlib-1.2.5.1-r2[minizip] <sys-libs/zlib-1.2.5.1-r1 )"
06486d4a9de7 update psi to the latest available snapshot
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
27
06486d4a9de7 update psi to the latest available snapshot
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
28 DEPEND="${RDEPEND}
06486d4a9de7 update psi to the latest available snapshot
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
29 sys-devel/qconf
06486d4a9de7 update psi to the latest available snapshot
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
30 doc? ( app-doc/doxygen )"
06486d4a9de7 update psi to the latest available snapshot
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
31
06486d4a9de7 update psi to the latest available snapshot
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
32 PDEPEND="crypt? ( app-crypt/qca:2[gpg] )
06486d4a9de7 update psi to the latest available snapshot
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
33 jingle? ( net-im/psimedia
06486d4a9de7 update psi to the latest available snapshot
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
34 app-crypt/qca:2[openssl] )
06486d4a9de7 update psi to the latest available snapshot
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
35 ssl? ( app-crypt/qca:2[openssl] )
06486d4a9de7 update psi to the latest available snapshot
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
36 otrplugin? ( net-libs/libotr app-text/htmltidy )"
06486d4a9de7 update psi to the latest available snapshot
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
37
06486d4a9de7 update psi to the latest available snapshot
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
38 src_prepare() {
06486d4a9de7 update psi to the latest available snapshot
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
39 epatch_user
06486d4a9de7 update psi to the latest available snapshot
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
40 }
06486d4a9de7 update psi to the latest available snapshot
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
41
06486d4a9de7 update psi to the latest available snapshot
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
42 src_configure() {
06486d4a9de7 update psi to the latest available snapshot
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
43 # unable to use econf because of non-standard configure script
06486d4a9de7 update psi to the latest available snapshot
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
44 local confcmd="./configure
06486d4a9de7 update psi to the latest available snapshot
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
45 --prefix=/usr
06486d4a9de7 update psi to the latest available snapshot
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
46 --datadir=/usr/share
06486d4a9de7 update psi to the latest available snapshot
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
47 --libdir=/usr/lib64
06486d4a9de7 update psi to the latest available snapshot
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
48 --disable-growl
06486d4a9de7 update psi to the latest available snapshot
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
49 --with-qca-inc=/usr/include/qca2
06486d4a9de7 update psi to the latest available snapshot
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
50 --with-qca-lib=/usr/lib64/qca2
06486d4a9de7 update psi to the latest available snapshot
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
51 $(use dbus || echo '--disable-qdbus')
06486d4a9de7 update psi to the latest available snapshot
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
52 $(use debug && echo '--debug')
06486d4a9de7 update psi to the latest available snapshot
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
53 $(use plugins && echo '--enable-plugins')
06486d4a9de7 update psi to the latest available snapshot
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
54 $(use spell || echo '--disable-aspell')
06486d4a9de7 update psi to the latest available snapshot
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
55 $(use spell || echo '--disable-enchant')
06486d4a9de7 update psi to the latest available snapshot
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
56 $(use xscreensaver || echo '--disable-xss')
06486d4a9de7 update psi to the latest available snapshot
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
57 $(use whiteboarding && echo '--enable-whiteboarding')"
06486d4a9de7 update psi to the latest available snapshot
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
58
06486d4a9de7 update psi to the latest available snapshot
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
59 echo ${confcmd}
06486d4a9de7 update psi to the latest available snapshot
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
60 ${confcmd} || die "configure failed"
06486d4a9de7 update psi to the latest available snapshot
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
61 ## Makefile is not always created...
06486d4a9de7 update psi to the latest available snapshot
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
62 #[[ ! -f Makefile ]] && die "configure failed"
06486d4a9de7 update psi to the latest available snapshot
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
63 }
06486d4a9de7 update psi to the latest available snapshot
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
64
06486d4a9de7 update psi to the latest available snapshot
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
65 src_compile() {
06486d4a9de7 update psi to the latest available snapshot
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
66 emake || die "emake failed"
06486d4a9de7 update psi to the latest available snapshot
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
67
06486d4a9de7 update psi to the latest available snapshot
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
68 if use autoreplyplugin; then
06486d4a9de7 update psi to the latest available snapshot
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
69 cd src/plugins/generic/autoreplyplugin
06486d4a9de7 update psi to the latest available snapshot
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
70 qmake
06486d4a9de7 update psi to the latest available snapshot
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
71 make
06486d4a9de7 update psi to the latest available snapshot
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
72 cd ../../../..
06486d4a9de7 update psi to the latest available snapshot
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
73 fi
06486d4a9de7 update psi to the latest available snapshot
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
74
06486d4a9de7 update psi to the latest available snapshot
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
75 if use otrplugin; then
06486d4a9de7 update psi to the latest available snapshot
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
76 cd src/plugins/generic/otrplugin
06486d4a9de7 update psi to the latest available snapshot
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
77 qmake
06486d4a9de7 update psi to the latest available snapshot
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
78 make
06486d4a9de7 update psi to the latest available snapshot
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
79 cd ../../../..
06486d4a9de7 update psi to the latest available snapshot
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
80 fi
06486d4a9de7 update psi to the latest available snapshot
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
81
06486d4a9de7 update psi to the latest available snapshot
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
82 if use watcherplugin; then
06486d4a9de7 update psi to the latest available snapshot
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
83 cd src/plugins/generic/watcherplugin
06486d4a9de7 update psi to the latest available snapshot
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
84 qmake
06486d4a9de7 update psi to the latest available snapshot
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
85 make
06486d4a9de7 update psi to the latest available snapshot
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
86 cd ../../../..
06486d4a9de7 update psi to the latest available snapshot
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
87 fi
06486d4a9de7 update psi to the latest available snapshot
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
88 }
06486d4a9de7 update psi to the latest available snapshot
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
89
06486d4a9de7 update psi to the latest available snapshot
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
90 src_install() {
06486d4a9de7 update psi to the latest available snapshot
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
91 emake DESTDIR="${D}" INSTALL_ROOT="${D}" install
06486d4a9de7 update psi to the latest available snapshot
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
92 dodoc README TODO ChangeLog
06486d4a9de7 update psi to the latest available snapshot
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
93
06486d4a9de7 update psi to the latest available snapshot
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
94 if use autoreplyplugin; then
06486d4a9de7 update psi to the latest available snapshot
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
95 cd src/plugins/generic/autoreplyplugin
06486d4a9de7 update psi to the latest available snapshot
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
96
06486d4a9de7 update psi to the latest available snapshot
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
97 local plugindir="/usr/$(get_libdir)/psi-plus/plugins"
06486d4a9de7 update psi to the latest available snapshot
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
98 dodir "${plugindir}"
06486d4a9de7 update psi to the latest available snapshot
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
99 insinto "${plugindir}"
06486d4a9de7 update psi to the latest available snapshot
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
100 doins libautoreplyplugin.so
06486d4a9de7 update psi to the latest available snapshot
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
101
06486d4a9de7 update psi to the latest available snapshot
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
102 cd ../../../..
06486d4a9de7 update psi to the latest available snapshot
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
103 fi
06486d4a9de7 update psi to the latest available snapshot
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
104
06486d4a9de7 update psi to the latest available snapshot
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
105 if use otrplugin; then
06486d4a9de7 update psi to the latest available snapshot
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
106 cd src/plugins/generic/otrplugin
06486d4a9de7 update psi to the latest available snapshot
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
107
06486d4a9de7 update psi to the latest available snapshot
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
108 local plugindir="/usr/$(get_libdir)/psi-plus/plugins"
06486d4a9de7 update psi to the latest available snapshot
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
109 dodir "${plugindir}"
06486d4a9de7 update psi to the latest available snapshot
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
110 insinto "${plugindir}"
06486d4a9de7 update psi to the latest available snapshot
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
111 doins libotrplugin.so
06486d4a9de7 update psi to the latest available snapshot
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
112
06486d4a9de7 update psi to the latest available snapshot
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
113 cd ../../../..
06486d4a9de7 update psi to the latest available snapshot
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
114 fi
06486d4a9de7 update psi to the latest available snapshot
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
115
06486d4a9de7 update psi to the latest available snapshot
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
116 if use watcherplugin; then
06486d4a9de7 update psi to the latest available snapshot
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
117 cd src/plugins/generic/watcherplugin
06486d4a9de7 update psi to the latest available snapshot
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
118
06486d4a9de7 update psi to the latest available snapshot
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
119 local plugindir="/usr/$(get_libdir)/psi-plus/plugins"
06486d4a9de7 update psi to the latest available snapshot
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
120 dodir "${plugindir}"
06486d4a9de7 update psi to the latest available snapshot
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
121 insinto "${plugindir}"
06486d4a9de7 update psi to the latest available snapshot
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
122 doins libwatcherplugin.so
06486d4a9de7 update psi to the latest available snapshot
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
123
06486d4a9de7 update psi to the latest available snapshot
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
124 cd ../../../..
06486d4a9de7 update psi to the latest available snapshot
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
125 fi
06486d4a9de7 update psi to the latest available snapshot
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
126 }
06486d4a9de7 update psi to the latest available snapshot
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
127
06486d4a9de7 update psi to the latest available snapshot
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
128 pkg_preinst() {
06486d4a9de7 update psi to the latest available snapshot
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
129 gnome2_icon_savelist
06486d4a9de7 update psi to the latest available snapshot
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
130 }
06486d4a9de7 update psi to the latest available snapshot
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
131
06486d4a9de7 update psi to the latest available snapshot
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
132 pkg_postinst() {
06486d4a9de7 update psi to the latest available snapshot
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
133 gnome2_icon_cache_update
06486d4a9de7 update psi to the latest available snapshot
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
134 }
06486d4a9de7 update psi to the latest available snapshot
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
135
06486d4a9de7 update psi to the latest available snapshot
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
136 pkg_postrm() {
06486d4a9de7 update psi to the latest available snapshot
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
137 gnome2_icon_cache_update
06486d4a9de7 update psi to the latest available snapshot
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
138 }