annotate net-im/psi-plus/psi-plus-0.16.564.585.ebuild @ 427:18fecfcfbe40

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