annotate net-im/psi-plus/psi-plus-0.16.457.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 041db1ee4881
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
395
041db1ee4881 the version from git builds fine again
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
1
041db1ee4881 the version from git builds fine again
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
2 EAPI=5
041db1ee4881 the version from git builds fine again
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
3
041db1ee4881 the version from git builds fine again
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
4 inherit eutils l10n multilib gnome2-utils qt4-r2
041db1ee4881 the version from git builds fine again
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
5
041db1ee4881 the version from git builds fine again
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
6 DESCRIPTION="Qt4 Jabber client, with Licq-like interface"
041db1ee4881 the version from git builds fine again
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
7 HOMEPAGE="https://github.com/psi-plus/psi-plus-snapshots/"
041db1ee4881 the version from git builds fine again
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
8 SRC_URI="https://github.com/psi-plus/psi-plus-snapshots/archive/${PV}.tar.gz"
041db1ee4881 the version from git builds fine again
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
9
041db1ee4881 the version from git builds fine again
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
10 S="${WORKDIR}/psi-plus-snapshots-${PV}"
041db1ee4881 the version from git builds fine again
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
11
041db1ee4881 the version from git builds fine again
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
12 LICENSE="GPL-2"
041db1ee4881 the version from git builds fine again
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
13 SLOT="0"
041db1ee4881 the version from git builds fine again
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
14 KEYWORDS="~amd64 ~x86"
041db1ee4881 the version from git builds fine again
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
15 IUSE="autoreplyplugin crypt dbus debug doc jingle otrplugin plugins spell ssl xscreensaver watcherplugin whiteboarding"
041db1ee4881 the version from git builds fine again
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
16 #RESTRICT="test"
041db1ee4881 the version from git builds fine again
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
17
041db1ee4881 the version from git builds fine again
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
18 RDEPEND="app-arch/unzip
041db1ee4881 the version from git builds fine again
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
19 >=dev-qt/qtgui-4.7:4
041db1ee4881 the version from git builds fine again
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
20 >=app-crypt/qca-2.0.2:2[qt4(+)]
041db1ee4881 the version from git builds fine again
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
21 x11-libs/libX11
041db1ee4881 the version from git builds fine again
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
22 dbus? ( >=dev-qt/qtdbus-4.7:4 )
041db1ee4881 the version from git builds fine again
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
23 spell? ( >=app-text/enchant-1.3.0 )
041db1ee4881 the version from git builds fine again
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
24 xscreensaver? ( x11-libs/libXScrnSaver )
041db1ee4881 the version from git builds fine again
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
25 whiteboarding? ( dev-qt/qtsvg:4 )
041db1ee4881 the version from git builds fine again
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 )"
041db1ee4881 the version from git builds fine again
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
27
041db1ee4881 the version from git builds fine again
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
28 DEPEND="${RDEPEND}
041db1ee4881 the version from git builds fine again
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
29 sys-devel/qconf
041db1ee4881 the version from git builds fine again
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
30 doc? ( app-doc/doxygen )"
041db1ee4881 the version from git builds fine again
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
31
041db1ee4881 the version from git builds fine again
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
32 PDEPEND="crypt? ( app-crypt/qca:2[gpg] )
041db1ee4881 the version from git builds fine again
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
33 jingle? ( net-im/psimedia
041db1ee4881 the version from git builds fine again
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
34 app-crypt/qca:2[openssl] )
041db1ee4881 the version from git builds fine again
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
35 ssl? ( app-crypt/qca:2[openssl] )
041db1ee4881 the version from git builds fine again
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
36 otrplugin? ( net-libs/libotr app-text/htmltidy )"
041db1ee4881 the version from git builds fine again
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
37
041db1ee4881 the version from git builds fine again
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
38 src_prepare() {
041db1ee4881 the version from git builds fine again
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
39 epatch_user
041db1ee4881 the version from git builds fine again
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
40 }
041db1ee4881 the version from git builds fine again
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
41
041db1ee4881 the version from git builds fine again
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
42 src_configure() {
041db1ee4881 the version from git builds fine again
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
43 # unable to use econf because of non-standard configure script
041db1ee4881 the version from git builds fine again
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
44 local confcmd="./configure
041db1ee4881 the version from git builds fine again
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
45 --prefix=/usr
041db1ee4881 the version from git builds fine again
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
46 --datadir=/usr/share
041db1ee4881 the version from git builds fine again
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
47 --libdir=/usr/lib64
041db1ee4881 the version from git builds fine again
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
48 --disable-growl
041db1ee4881 the version from git builds fine again
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
49 --with-qca-inc=/usr/include/qca2
041db1ee4881 the version from git builds fine again
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
50 --with-qca-lib=/usr/lib64/qca2
041db1ee4881 the version from git builds fine again
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
51 $(use dbus || echo '--disable-qdbus')
041db1ee4881 the version from git builds fine again
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
52 $(use debug && echo '--debug')
041db1ee4881 the version from git builds fine again
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
53 $(use plugins && echo '--enable-plugins')
041db1ee4881 the version from git builds fine again
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
54 $(use spell || echo '--disable-aspell')
041db1ee4881 the version from git builds fine again
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
55 $(use spell || echo '--disable-enchant')
041db1ee4881 the version from git builds fine again
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
56 $(use xscreensaver || echo '--disable-xss')
041db1ee4881 the version from git builds fine again
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
57 $(use whiteboarding && echo '--enable-whiteboarding')"
041db1ee4881 the version from git builds fine again
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
58
041db1ee4881 the version from git builds fine again
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
59 echo ${confcmd}
041db1ee4881 the version from git builds fine again
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
60 ${confcmd} || die "configure failed"
041db1ee4881 the version from git builds fine again
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
61 ## Makefile is not always created...
041db1ee4881 the version from git builds fine again
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
62 #[[ ! -f Makefile ]] && die "configure failed"
041db1ee4881 the version from git builds fine again
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
63 }
041db1ee4881 the version from git builds fine again
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
64
041db1ee4881 the version from git builds fine again
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
65 src_compile() {
041db1ee4881 the version from git builds fine again
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
66 emake || die "emake failed"
041db1ee4881 the version from git builds fine again
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
67
041db1ee4881 the version from git builds fine again
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
68 if use autoreplyplugin; then
041db1ee4881 the version from git builds fine again
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
69 cd src/plugins/generic/autoreplyplugin
041db1ee4881 the version from git builds fine again
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
70 qmake
041db1ee4881 the version from git builds fine again
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
71 make
041db1ee4881 the version from git builds fine again
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
72 cd ../../../..
041db1ee4881 the version from git builds fine again
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
73 fi
041db1ee4881 the version from git builds fine again
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
74
041db1ee4881 the version from git builds fine again
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
75 if use otrplugin; then
041db1ee4881 the version from git builds fine again
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
76 cd src/plugins/generic/otrplugin
041db1ee4881 the version from git builds fine again
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
77 qmake
041db1ee4881 the version from git builds fine again
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
78 make
041db1ee4881 the version from git builds fine again
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
79 cd ../../../..
041db1ee4881 the version from git builds fine again
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
80 fi
041db1ee4881 the version from git builds fine again
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
81
041db1ee4881 the version from git builds fine again
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
82 if use watcherplugin; then
041db1ee4881 the version from git builds fine again
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
83 cd src/plugins/generic/watcherplugin
041db1ee4881 the version from git builds fine again
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
84 qmake
041db1ee4881 the version from git builds fine again
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
85 make
041db1ee4881 the version from git builds fine again
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
86 cd ../../../..
041db1ee4881 the version from git builds fine again
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
87 fi
041db1ee4881 the version from git builds fine again
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
88 }
041db1ee4881 the version from git builds fine again
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
89
041db1ee4881 the version from git builds fine again
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
90 src_install() {
041db1ee4881 the version from git builds fine again
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
91 emake DESTDIR="${D}" INSTALL_ROOT="${D}" install
041db1ee4881 the version from git builds fine again
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
92 dodoc README TODO ChangeLog
041db1ee4881 the version from git builds fine again
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
93
041db1ee4881 the version from git builds fine again
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
94 if use autoreplyplugin; then
041db1ee4881 the version from git builds fine again
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
95 cd src/plugins/generic/autoreplyplugin
041db1ee4881 the version from git builds fine again
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
96
041db1ee4881 the version from git builds fine again
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
97 local plugindir="/usr/$(get_libdir)/psi-plus/plugins"
041db1ee4881 the version from git builds fine again
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
98 dodir "${plugindir}"
041db1ee4881 the version from git builds fine again
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
99 insinto "${plugindir}"
041db1ee4881 the version from git builds fine again
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
100 doins libautoreplyplugin.so
041db1ee4881 the version from git builds fine again
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
101
041db1ee4881 the version from git builds fine again
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
102 cd ../../../..
041db1ee4881 the version from git builds fine again
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
103 fi
041db1ee4881 the version from git builds fine again
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
104
041db1ee4881 the version from git builds fine again
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
105 if use otrplugin; then
041db1ee4881 the version from git builds fine again
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
106 cd src/plugins/generic/otrplugin
041db1ee4881 the version from git builds fine again
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
107
041db1ee4881 the version from git builds fine again
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
108 local plugindir="/usr/$(get_libdir)/psi-plus/plugins"
041db1ee4881 the version from git builds fine again
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
109 dodir "${plugindir}"
041db1ee4881 the version from git builds fine again
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
110 insinto "${plugindir}"
041db1ee4881 the version from git builds fine again
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
111 doins libotrplugin.so
041db1ee4881 the version from git builds fine again
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
112
041db1ee4881 the version from git builds fine again
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
113 cd ../../../..
041db1ee4881 the version from git builds fine again
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
114 fi
041db1ee4881 the version from git builds fine again
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
115
041db1ee4881 the version from git builds fine again
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
116 if use watcherplugin; then
041db1ee4881 the version from git builds fine again
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
117 cd src/plugins/generic/watcherplugin
041db1ee4881 the version from git builds fine again
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
118
041db1ee4881 the version from git builds fine again
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
119 local plugindir="/usr/$(get_libdir)/psi-plus/plugins"
041db1ee4881 the version from git builds fine again
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
120 dodir "${plugindir}"
041db1ee4881 the version from git builds fine again
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
121 insinto "${plugindir}"
041db1ee4881 the version from git builds fine again
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
122 doins libwatcherplugin.so
041db1ee4881 the version from git builds fine again
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
123
041db1ee4881 the version from git builds fine again
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
124 cd ../../../..
041db1ee4881 the version from git builds fine again
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
125 fi
041db1ee4881 the version from git builds fine again
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
126 }
041db1ee4881 the version from git builds fine again
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
127
041db1ee4881 the version from git builds fine again
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
128 pkg_preinst() {
041db1ee4881 the version from git builds fine again
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
129 gnome2_icon_savelist
041db1ee4881 the version from git builds fine again
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
130 }
041db1ee4881 the version from git builds fine again
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
131
041db1ee4881 the version from git builds fine again
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
132 pkg_postinst() {
041db1ee4881 the version from git builds fine again
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
133 gnome2_icon_cache_update
041db1ee4881 the version from git builds fine again
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
134 }
041db1ee4881 the version from git builds fine again
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
135
041db1ee4881 the version from git builds fine again
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
136 pkg_postrm() {
041db1ee4881 the version from git builds fine again
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
137 gnome2_icon_cache_update
041db1ee4881 the version from git builds fine again
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
138 }