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