Mercurial > hg > portage
annotate net-im/psi-plus/psi-plus-0.16.449.ebuild @ 399:c8888d18c151
update veracrypt to 1.16
author | Dirk Olmes <dirk@xanthippe.ping.de> |
---|---|
date | Tue, 13 Oct 2015 00:28:54 +0200 |
parents | 31a33e308598 |
children |
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" | |
382
31a33e308598
add build support for selected plugins
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
381
diff
changeset
|
15 IUSE="autoreplyplugin crypt dbus debug doc jingle otrplugin plugins spell ssl xscreensaver watcherplugin 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] ) | |
382
31a33e308598
add build support for selected plugins
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
381
diff
changeset
|
35 ssl? ( app-crypt/qca:2[openssl] ) |
31a33e308598
add build support for selected plugins
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
381
diff
changeset
|
36 otrplugin? ( net-libs/libotr app-text/htmltidy )" |
378 | 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 | |
382
31a33e308598
add build support for selected plugins
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
381
diff
changeset
|
63 src_compile() { |
31a33e308598
add build support for selected plugins
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
381
diff
changeset
|
64 emake || die "emake failed" |
31a33e308598
add build support for selected plugins
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
381
diff
changeset
|
65 |
31a33e308598
add build support for selected plugins
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
381
diff
changeset
|
66 if use autoreplyplugin; then |
31a33e308598
add build support for selected plugins
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
381
diff
changeset
|
67 cd src/plugins/generic/autoreplyplugin |
31a33e308598
add build support for selected plugins
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
381
diff
changeset
|
68 qmake |
31a33e308598
add build support for selected plugins
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
381
diff
changeset
|
69 make |
31a33e308598
add build support for selected plugins
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
381
diff
changeset
|
70 cd ../../../.. |
31a33e308598
add build support for selected plugins
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
381
diff
changeset
|
71 fi |
31a33e308598
add build support for selected plugins
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
381
diff
changeset
|
72 |
31a33e308598
add build support for selected plugins
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
381
diff
changeset
|
73 if use otrplugin; then |
31a33e308598
add build support for selected plugins
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
381
diff
changeset
|
74 cd src/plugins/generic/otrplugin |
31a33e308598
add build support for selected plugins
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
381
diff
changeset
|
75 qmake |
31a33e308598
add build support for selected plugins
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
381
diff
changeset
|
76 make |
31a33e308598
add build support for selected plugins
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
381
diff
changeset
|
77 cd ../../../.. |
31a33e308598
add build support for selected plugins
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
381
diff
changeset
|
78 fi |
31a33e308598
add build support for selected plugins
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
381
diff
changeset
|
79 |
31a33e308598
add build support for selected plugins
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
381
diff
changeset
|
80 if use watcherplugin; then |
31a33e308598
add build support for selected plugins
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
381
diff
changeset
|
81 cd src/plugins/generic/watcherplugin |
31a33e308598
add build support for selected plugins
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
381
diff
changeset
|
82 qmake |
31a33e308598
add build support for selected plugins
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
381
diff
changeset
|
83 make |
31a33e308598
add build support for selected plugins
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
381
diff
changeset
|
84 cd ../../../.. |
31a33e308598
add build support for selected plugins
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
381
diff
changeset
|
85 fi |
31a33e308598
add build support for selected plugins
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
381
diff
changeset
|
86 } |
31a33e308598
add build support for selected plugins
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
381
diff
changeset
|
87 |
31a33e308598
add build support for selected plugins
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
381
diff
changeset
|
88 src_install() { |
31a33e308598
add build support for selected plugins
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
381
diff
changeset
|
89 emake DESTDIR="${D}" INSTALL_ROOT="${D}" install |
31a33e308598
add build support for selected plugins
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
381
diff
changeset
|
90 dodoc README TODO ChangeLog |
31a33e308598
add build support for selected plugins
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
381
diff
changeset
|
91 |
31a33e308598
add build support for selected plugins
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
381
diff
changeset
|
92 if use autoreplyplugin; then |
31a33e308598
add build support for selected plugins
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
381
diff
changeset
|
93 cd src/plugins/generic/autoreplyplugin |
31a33e308598
add build support for selected plugins
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
381
diff
changeset
|
94 |
31a33e308598
add build support for selected plugins
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
381
diff
changeset
|
95 local plugindir="/usr/$(get_libdir)/psi-plus/plugins" |
31a33e308598
add build support for selected plugins
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
381
diff
changeset
|
96 dodir "${plugindir}" |
31a33e308598
add build support for selected plugins
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
381
diff
changeset
|
97 insinto "${plugindir}" |
31a33e308598
add build support for selected plugins
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
381
diff
changeset
|
98 doins libautoreplyplugin.so |
31a33e308598
add build support for selected plugins
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
381
diff
changeset
|
99 |
31a33e308598
add build support for selected plugins
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
381
diff
changeset
|
100 cd ../../../.. |
31a33e308598
add build support for selected plugins
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
381
diff
changeset
|
101 fi |
31a33e308598
add build support for selected plugins
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
381
diff
changeset
|
102 |
31a33e308598
add build support for selected plugins
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
381
diff
changeset
|
103 if use otrplugin; then |
31a33e308598
add build support for selected plugins
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
381
diff
changeset
|
104 cd src/plugins/generic/otrplugin |
31a33e308598
add build support for selected plugins
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
381
diff
changeset
|
105 |
31a33e308598
add build support for selected plugins
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
381
diff
changeset
|
106 local plugindir="/usr/$(get_libdir)/psi-plus/plugins" |
31a33e308598
add build support for selected plugins
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
381
diff
changeset
|
107 dodir "${plugindir}" |
31a33e308598
add build support for selected plugins
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
381
diff
changeset
|
108 insinto "${plugindir}" |
31a33e308598
add build support for selected plugins
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
381
diff
changeset
|
109 doins libotrplugin.so |
31a33e308598
add build support for selected plugins
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
381
diff
changeset
|
110 |
31a33e308598
add build support for selected plugins
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
381
diff
changeset
|
111 cd ../../../.. |
31a33e308598
add build support for selected plugins
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
381
diff
changeset
|
112 fi |
31a33e308598
add build support for selected plugins
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
381
diff
changeset
|
113 |
31a33e308598
add build support for selected plugins
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
381
diff
changeset
|
114 if use watcherplugin; then |
31a33e308598
add build support for selected plugins
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
381
diff
changeset
|
115 cd src/plugins/generic/watcherplugin |
31a33e308598
add build support for selected plugins
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
381
diff
changeset
|
116 |
31a33e308598
add build support for selected plugins
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
381
diff
changeset
|
117 local plugindir="/usr/$(get_libdir)/psi-plus/plugins" |
31a33e308598
add build support for selected plugins
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
381
diff
changeset
|
118 dodir "${plugindir}" |
31a33e308598
add build support for selected plugins
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
381
diff
changeset
|
119 insinto "${plugindir}" |
31a33e308598
add build support for selected plugins
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
381
diff
changeset
|
120 doins libwatcherplugin.so |
31a33e308598
add build support for selected plugins
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
381
diff
changeset
|
121 |
31a33e308598
add build support for selected plugins
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
381
diff
changeset
|
122 cd ../../../.. |
31a33e308598
add build support for selected plugins
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
381
diff
changeset
|
123 fi |
31a33e308598
add build support for selected plugins
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
381
diff
changeset
|
124 } |
31a33e308598
add build support for selected plugins
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
381
diff
changeset
|
125 |
378 | 126 pkg_preinst() { |
127 gnome2_icon_savelist | |
128 } | |
129 | |
130 pkg_postinst() { | |
131 gnome2_icon_cache_update | |
132 } | |
133 | |
134 pkg_postrm() { | |
135 gnome2_icon_cache_update | |
136 } |