Mercurial > hg > portage
annotate net-im/psi-plus/psi-plus-0.16.449.ebuild @ 379:8d5629e582b5
add a USE flag for enabling plugins
author | Dirk Olmes <dirk@xanthippe.ping.de> |
---|---|
date | Tue, 03 Mar 2015 16:09:31 +0100 |
parents | 2288352e429d |
children | 9d68e84e722e |
rev | line source |
---|---|
378 | 1 |
2 EAPI=5 | |
3 | |
4 inherit eutils l10n multilib gnome2-utils qt4-r2 | |
5 | |
6 DESCRIPTION="Qt4 Jabber client, with Licq-like interface" | |
7 HOMEPAGE="https://github.com/psi-plus/psi-plus-snapshots/" | |
8 #SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2" | |
9 SRC_URI="https://github.com/psi-plus/psi-plus-snapshots/archive/${PV}.tar.gz" | |
10 | |
11 S="${WORKDIR}/psi-plus-snapshots-${PV}" | |
12 | |
13 LICENSE="GPL-2" | |
14 SLOT="0" | |
15 KEYWORDS="~amd64 ~x86" | |
379
8d5629e582b5
add a USE flag for enabling plugins
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
378
diff
changeset
|
16 IUSE="crypt dbus debug doc jingle plugins spell ssl xscreensaver whiteboarding" |
378 | 17 #RESTRICT="test" |
18 | |
19 RDEPEND="app-arch/unzip | |
20 >=dev-qt/qtgui-4.7:4[qt3support] | |
21 >=dev-qt/qt3support-4.7:4 | |
22 >=app-crypt/qca-2.0.2:2[qt4(+)] | |
23 x11-libs/libX11 | |
24 dbus? ( >=dev-qt/qtdbus-4.7:4 ) | |
25 spell? ( >=app-text/enchant-1.3.0 ) | |
26 xscreensaver? ( x11-libs/libXScrnSaver ) | |
27 whiteboarding? ( dev-qt/qtsvg:4 ) | |
28 || ( >=sys-libs/zlib-1.2.5.1-r2[minizip] <sys-libs/zlib-1.2.5.1-r1 )" | |
29 | |
30 DEPEND="${RDEPEND} | |
31 sys-devel/qconf | |
32 doc? ( app-doc/doxygen )" | |
33 | |
34 PDEPEND="crypt? ( app-crypt/qca:2[gpg] ) | |
35 jingle? ( net-im/psimedia | |
36 app-crypt/qca:2[openssl] ) | |
37 ssl? ( app-crypt/qca:2[openssl] )" | |
38 | |
39 src_prepare() { | |
40 epatch_user | |
41 } | |
42 | |
43 src_configure() { | |
44 # unable to use econf because of non-standard configure script | |
45 local confcmd="./configure | |
46 --prefix=/usr | |
47 --datadir=/usr/share | |
48 --libdir=/usr/lib64 | |
49 --disable-growl | |
50 $(use dbus || echo '--disable-qdbus') | |
51 $(use debug && echo '--debug') | |
379
8d5629e582b5
add a USE flag for enabling plugins
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
378
diff
changeset
|
52 $(use plugins && echo '--enable-plugins') |
378 | 53 $(use spell || echo '--disable-aspell') |
54 $(use spell || echo '--disable-enchant') | |
55 $(use xscreensaver || echo '--disable-xss') | |
56 $(use whiteboarding && echo '--enable-whiteboarding')" | |
57 | |
58 echo ${confcmd} | |
59 ${confcmd} || die "configure failed" | |
60 ## Makefile is not always created... | |
61 #[[ ! -f Makefile ]] && die "configure failed" | |
62 } | |
63 | |
64 pkg_preinst() { | |
65 gnome2_icon_savelist | |
66 } | |
67 | |
68 pkg_postinst() { | |
69 gnome2_icon_cache_update | |
70 } | |
71 | |
72 pkg_postrm() { | |
73 gnome2_icon_cache_update | |
74 } |