annotate net-im/psi-plus/psi-plus-0.16.475.ebuild @ 407:0f4fd527fa00

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