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
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
378
2288352e429d add a ebuild for psi plus
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
1
2288352e429d add a ebuild for psi plus
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
2 EAPI=5
2288352e429d add a ebuild for psi plus
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
3
2288352e429d add a ebuild for psi plus
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
4 inherit eutils l10n multilib gnome2-utils qt4-r2
2288352e429d add a ebuild for psi plus
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
5
2288352e429d add a ebuild for psi plus
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
6 DESCRIPTION="Qt4 Jabber client, with Licq-like interface"
2288352e429d add a ebuild for psi plus
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
7 HOMEPAGE="https://github.com/psi-plus/psi-plus-snapshots/"
2288352e429d add a ebuild for psi plus
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
8 SRC_URI="https://github.com/psi-plus/psi-plus-snapshots/archive/${PV}.tar.gz"
2288352e429d add a ebuild for psi plus
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
9
2288352e429d add a ebuild for psi plus
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
10 S="${WORKDIR}/psi-plus-snapshots-${PV}"
2288352e429d add a ebuild for psi plus
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
11
2288352e429d add a ebuild for psi plus
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
12 LICENSE="GPL-2"
2288352e429d add a ebuild for psi plus
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
13 SLOT="0"
2288352e429d add a ebuild for psi plus
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
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
2288352e429d add a ebuild for psi plus
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
16 #RESTRICT="test"
2288352e429d add a ebuild for psi plus
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
17
2288352e429d add a ebuild for psi plus
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
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
2288352e429d add a ebuild for psi plus
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
20 >=app-crypt/qca-2.0.2:2[qt4(+)]
2288352e429d add a ebuild for psi plus
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
21 x11-libs/libX11
2288352e429d add a ebuild for psi plus
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
22 dbus? ( >=dev-qt/qtdbus-4.7:4 )
2288352e429d add a ebuild for psi plus
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
23 spell? ( >=app-text/enchant-1.3.0 )
2288352e429d add a ebuild for psi plus
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
24 xscreensaver? ( x11-libs/libXScrnSaver )
2288352e429d add a ebuild for psi plus
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
25 whiteboarding? ( dev-qt/qtsvg:4 )
2288352e429d add a ebuild for psi plus
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 )"
2288352e429d add a ebuild for psi plus
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
27
2288352e429d add a ebuild for psi plus
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
28 DEPEND="${RDEPEND}
2288352e429d add a ebuild for psi plus
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
29 sys-devel/qconf
2288352e429d add a ebuild for psi plus
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
30 doc? ( app-doc/doxygen )"
2288352e429d add a ebuild for psi plus
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
31
2288352e429d add a ebuild for psi plus
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
32 PDEPEND="crypt? ( app-crypt/qca:2[gpg] )
2288352e429d add a ebuild for psi plus
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
33 jingle? ( net-im/psimedia
2288352e429d add a ebuild for psi plus
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
34 app-crypt/qca:2[openssl] )
2288352e429d add a ebuild for psi plus
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
35 ssl? ( app-crypt/qca:2[openssl] )"
2288352e429d add a ebuild for psi plus
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
36
2288352e429d add a ebuild for psi plus
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
37 src_prepare() {
2288352e429d add a ebuild for psi plus
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
38 epatch_user
2288352e429d add a ebuild for psi plus
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
39 }
2288352e429d add a ebuild for psi plus
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
40
2288352e429d add a ebuild for psi plus
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
41 src_configure() {
2288352e429d add a ebuild for psi plus
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
42 # unable to use econf because of non-standard configure script
2288352e429d add a ebuild for psi plus
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
43 local confcmd="./configure
2288352e429d add a ebuild for psi plus
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
44 --prefix=/usr
2288352e429d add a ebuild for psi plus
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
45 --datadir=/usr/share
2288352e429d add a ebuild for psi plus
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
46 --libdir=/usr/lib64
2288352e429d add a ebuild for psi plus
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
47 --disable-growl
2288352e429d add a ebuild for psi plus
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
48 $(use dbus || echo '--disable-qdbus')
2288352e429d add a ebuild for psi plus
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
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
2288352e429d add a ebuild for psi plus
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
51 $(use spell || echo '--disable-aspell')
2288352e429d add a ebuild for psi plus
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
52 $(use spell || echo '--disable-enchant')
2288352e429d add a ebuild for psi plus
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
53 $(use xscreensaver || echo '--disable-xss')
2288352e429d add a ebuild for psi plus
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
54 $(use whiteboarding && echo '--enable-whiteboarding')"
2288352e429d add a ebuild for psi plus
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
55
2288352e429d add a ebuild for psi plus
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
56 echo ${confcmd}
2288352e429d add a ebuild for psi plus
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
57 ${confcmd} || die "configure failed"
2288352e429d add a ebuild for psi plus
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
58 ## Makefile is not always created...
2288352e429d add a ebuild for psi plus
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
59 #[[ ! -f Makefile ]] && die "configure failed"
2288352e429d add a ebuild for psi plus
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
60 }
2288352e429d add a ebuild for psi plus
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
61
2288352e429d add a ebuild for psi plus
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
62 pkg_preinst() {
2288352e429d add a ebuild for psi plus
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
63 gnome2_icon_savelist
2288352e429d add a ebuild for psi plus
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
64 }
2288352e429d add a ebuild for psi plus
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
65
2288352e429d add a ebuild for psi plus
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
66 pkg_postinst() {
2288352e429d add a ebuild for psi plus
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
67 gnome2_icon_cache_update
2288352e429d add a ebuild for psi plus
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
68 }
2288352e429d add a ebuild for psi plus
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
69
2288352e429d add a ebuild for psi plus
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
70 pkg_postrm() {
2288352e429d add a ebuild for psi plus
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
71 gnome2_icon_cache_update
2288352e429d add a ebuild for psi plus
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
72 }