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