annotate net-im/psi-plus/psi-plus-1.4.924.ebuild @ 559:94a64339de84

visualvm update
author Dirk Olmes <dirk.olmes@codedo.de>
date Fri, 21 Jan 2022 07:36:56 +0100
parents bfa37ca24eec
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
491
996ca3a846c3 updated psi ebuild
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
1
996ca3a846c3 updated psi ebuild
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
2 EAPI=7
996ca3a846c3 updated psi ebuild
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
3
996ca3a846c3 updated psi ebuild
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
4 #inherit eutils l10n multilib gnome2-utils
555
bfa37ca24eec Fixes für nicht mehr existierende eclasses
Dirk Olmes <dirk.olmes@codedo.de>
parents: 491
diff changeset
5 inherit qmake-utils xdg
491
996ca3a846c3 updated psi ebuild
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
6
996ca3a846c3 updated psi ebuild
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
7 DESCRIPTION="Qt5 Jabber client, with Licq-like interface"
996ca3a846c3 updated psi ebuild
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
8 HOMEPAGE="https://github.com/psi-plus/psi-plus-snapshots/"
996ca3a846c3 updated psi ebuild
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
9 SRC_URI="https://github.com/psi-plus/psi-plus-snapshots/archive/${PV}.tar.gz -> ${P}.tar.gz"
996ca3a846c3 updated psi ebuild
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
10
996ca3a846c3 updated psi ebuild
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
11 S="${WORKDIR}/psi-plus-snapshots-${PV}"
996ca3a846c3 updated psi ebuild
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
12
996ca3a846c3 updated psi ebuild
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
13 LICENSE="GPL-2"
996ca3a846c3 updated psi ebuild
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
14 SLOT="0"
996ca3a846c3 updated psi ebuild
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
15 KEYWORDS="~amd64 ~x86"
996ca3a846c3 updated psi ebuild
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
16 IUSE="aspell autoreplyplugin crypt debug doc enchant hunspell jingle keychain omemo otrplugin spell ssl xscreensaver watcherplugin webkit +webengine whiteboarding"
996ca3a846c3 updated psi ebuild
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
17
996ca3a846c3 updated psi ebuild
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
18 BDEPEND="
996ca3a846c3 updated psi ebuild
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
19 dev-qt/linguist-tools:5
996ca3a846c3 updated psi ebuild
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
20 virtual/pkgconfig
996ca3a846c3 updated psi ebuild
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
21 "
996ca3a846c3 updated psi ebuild
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
22
996ca3a846c3 updated psi ebuild
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
23 DEPEND="
996ca3a846c3 updated psi ebuild
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
24 app-crypt/qca:2[ssl]
996ca3a846c3 updated psi ebuild
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
25 dev-qt/qtconcurrent:5
996ca3a846c3 updated psi ebuild
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
26 dev-qt/qtcore:5
996ca3a846c3 updated psi ebuild
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
27 dev-qt/qtdbus:5
996ca3a846c3 updated psi ebuild
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
28 dev-qt/qtgui:5
996ca3a846c3 updated psi ebuild
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
29 dev-qt/qtmultimedia:5
996ca3a846c3 updated psi ebuild
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
30 dev-qt/qtnetwork:5
996ca3a846c3 updated psi ebuild
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
31 dev-qt/qtwidgets:5
996ca3a846c3 updated psi ebuild
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
32 dev-qt/qtx11extras:5
996ca3a846c3 updated psi ebuild
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
33 dev-qt/qtxml:5
996ca3a846c3 updated psi ebuild
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
34 net-dns/libidn:0
996ca3a846c3 updated psi ebuild
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
35 net-libs/http-parser
996ca3a846c3 updated psi ebuild
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
36 sys-libs/zlib[minizip]
996ca3a846c3 updated psi ebuild
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
37 x11-libs/libX11
996ca3a846c3 updated psi ebuild
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
38 x11-libs/libxcb
996ca3a846c3 updated psi ebuild
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
39 aspell? ( app-text/aspell )
996ca3a846c3 updated psi ebuild
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
40 enchant? ( >=app-text/enchant-1.3.0 )
996ca3a846c3 updated psi ebuild
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
41 hunspell? ( app-text/hunspell:= )
996ca3a846c3 updated psi ebuild
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
42 keychain? ( dev-libs/qtkeychain )
996ca3a846c3 updated psi ebuild
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
43 omemo? ( net-libs/libsignal-protocol-c )
996ca3a846c3 updated psi ebuild
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
44 otrplugin? ( net-libs/libotr app-text/htmltidy )
996ca3a846c3 updated psi ebuild
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
45 webengine? (
996ca3a846c3 updated psi ebuild
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
46 dev-qt/qtwebchannel:5
996ca3a846c3 updated psi ebuild
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
47 dev-qt/qtwebengine:5[widgets]
996ca3a846c3 updated psi ebuild
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
48 )
996ca3a846c3 updated psi ebuild
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
49 webkit? ( dev-qt/qtwebkit:5 )
996ca3a846c3 updated psi ebuild
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
50 whiteboarding? ( dev-qt/qtsvg:5 )
996ca3a846c3 updated psi ebuild
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
51 xscreensaver? ( x11-libs/libXScrnSaver )
996ca3a846c3 updated psi ebuild
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
52 "
996ca3a846c3 updated psi ebuild
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
53
996ca3a846c3 updated psi ebuild
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
54 RDEPEND="${DEPEND}
996ca3a846c3 updated psi ebuild
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
55 dev-qt/qtimageformats
996ca3a846c3 updated psi ebuild
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
56 "
996ca3a846c3 updated psi ebuild
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
57
996ca3a846c3 updated psi ebuild
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
58 src_configure() {
996ca3a846c3 updated psi ebuild
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
59 CONF=(
996ca3a846c3 updated psi ebuild
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
60 --prefix="${EPREFIX}"/usr
996ca3a846c3 updated psi ebuild
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
61 --libdir="${EPREFIX}"/usr/$(get_libdir)
996ca3a846c3 updated psi ebuild
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
62 --no-separate-debug-info
996ca3a846c3 updated psi ebuild
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
63 --qtdir="$(qt5_get_bindir)/.."
996ca3a846c3 updated psi ebuild
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
64 $(use_enable aspell)
996ca3a846c3 updated psi ebuild
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
65 $(use_enable enchant)
996ca3a846c3 updated psi ebuild
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
66 $(use_enable hunspell)
996ca3a846c3 updated psi ebuild
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
67 $(use_enable keychain)
996ca3a846c3 updated psi ebuild
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
68 $(use_enable xscreensaver xss)
996ca3a846c3 updated psi ebuild
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
69 $(use_enable whiteboarding)
996ca3a846c3 updated psi ebuild
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
70 )
996ca3a846c3 updated psi ebuild
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
71
996ca3a846c3 updated psi ebuild
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
72 use debug && CONF+=("--debug")
996ca3a846c3 updated psi ebuild
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
73 use webengine && CONF+=("--enable-webkit" "--with-webkit=qtwebengine")
996ca3a846c3 updated psi ebuild
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
74 use webkit && CONF+=("--enable-webkit" "--with-webkit=qtwebkit")
996ca3a846c3 updated psi ebuild
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
75
996ca3a846c3 updated psi ebuild
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
76 # This may generate warnings if passed option already matches with default.
996ca3a846c3 updated psi ebuild
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
77 # Just ignore them. It's how qconf-based configure works and will be fixed in
996ca3a846c3 updated psi ebuild
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
78 # future qconf versions.
996ca3a846c3 updated psi ebuild
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
79 ./configure "${CONF[@]}" || die "configure failed"
996ca3a846c3 updated psi ebuild
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
80
996ca3a846c3 updated psi ebuild
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
81 eqmake5 psi.pro
996ca3a846c3 updated psi ebuild
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
82 }
996ca3a846c3 updated psi ebuild
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
83
996ca3a846c3 updated psi ebuild
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
84 src_compile() {
996ca3a846c3 updated psi ebuild
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
85 emake
996ca3a846c3 updated psi ebuild
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
86 use doc && emake -C doc api_public
996ca3a846c3 updated psi ebuild
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
87
996ca3a846c3 updated psi ebuild
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
88 if use autoreplyplugin; then
996ca3a846c3 updated psi ebuild
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
89 cd src/plugins/generic/autoreplyplugin
996ca3a846c3 updated psi ebuild
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
90 qmake
996ca3a846c3 updated psi ebuild
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
91 make
996ca3a846c3 updated psi ebuild
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
92 cd ../../../..
996ca3a846c3 updated psi ebuild
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
93 fi
996ca3a846c3 updated psi ebuild
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
94
996ca3a846c3 updated psi ebuild
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
95 if use otrplugin; then
996ca3a846c3 updated psi ebuild
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
96 cd src/plugins/generic/otrplugin
996ca3a846c3 updated psi ebuild
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
97 qmake
996ca3a846c3 updated psi ebuild
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
98 make
996ca3a846c3 updated psi ebuild
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
99 cd ../../../..
996ca3a846c3 updated psi ebuild
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
100 fi
996ca3a846c3 updated psi ebuild
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
101
996ca3a846c3 updated psi ebuild
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
102 if use omemo; then
996ca3a846c3 updated psi ebuild
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
103 cd src/plugins/generic/omemoplugin
996ca3a846c3 updated psi ebuild
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
104 qmake
996ca3a846c3 updated psi ebuild
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
105 make
996ca3a846c3 updated psi ebuild
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
106 cd ../../../..
996ca3a846c3 updated psi ebuild
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
107 fi
996ca3a846c3 updated psi ebuild
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
108
996ca3a846c3 updated psi ebuild
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
109 if use watcherplugin; then
996ca3a846c3 updated psi ebuild
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
110 cd src/plugins/generic/watcherplugin
996ca3a846c3 updated psi ebuild
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
111 qmake
996ca3a846c3 updated psi ebuild
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
112 make
996ca3a846c3 updated psi ebuild
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
113 cd ../../../..
996ca3a846c3 updated psi ebuild
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
114 fi
996ca3a846c3 updated psi ebuild
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
115 }
996ca3a846c3 updated psi ebuild
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
116
996ca3a846c3 updated psi ebuild
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
117 src_install() {
996ca3a846c3 updated psi ebuild
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
118 emake INSTALL_ROOT="${D}" install
996ca3a846c3 updated psi ebuild
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
119
996ca3a846c3 updated psi ebuild
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
120 # this way the docs will be installed in the standard gentoo dir
996ca3a846c3 updated psi ebuild
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
121 rm "${ED}"/usr/share/${PN}/{COPYING,README.html} || die "doc files set seems to have changed"
996ca3a846c3 updated psi ebuild
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
122 newdoc iconsets/roster/README README.roster
996ca3a846c3 updated psi ebuild
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
123 newdoc iconsets/system/README README.system
996ca3a846c3 updated psi ebuild
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
124 newdoc certs/README README.certs
996ca3a846c3 updated psi ebuild
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
125 dodoc README.html
996ca3a846c3 updated psi ebuild
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
126
996ca3a846c3 updated psi ebuild
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
127 use doc && HTML_DOCS=( doc/api/. )
996ca3a846c3 updated psi ebuild
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
128 einstalldocs
996ca3a846c3 updated psi ebuild
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
129
996ca3a846c3 updated psi ebuild
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
130 local plugindir="/usr/share/psi-plus/plugins"
996ca3a846c3 updated psi ebuild
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
131 if use autoreplyplugin; then
996ca3a846c3 updated psi ebuild
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
132 cd src/plugins/generic/autoreplyplugin
996ca3a846c3 updated psi ebuild
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
133
996ca3a846c3 updated psi ebuild
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
134 strip --strip-unneeded libautoreplyplugin.so
996ca3a846c3 updated psi ebuild
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
135
996ca3a846c3 updated psi ebuild
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
136 dodir "${plugindir}"
996ca3a846c3 updated psi ebuild
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
137 insinto "${plugindir}"
996ca3a846c3 updated psi ebuild
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
138 doins libautoreplyplugin.so
996ca3a846c3 updated psi ebuild
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
139
996ca3a846c3 updated psi ebuild
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
140 cd ../../../..
996ca3a846c3 updated psi ebuild
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
141 fi
996ca3a846c3 updated psi ebuild
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
142
996ca3a846c3 updated psi ebuild
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
143 if use otrplugin; then
996ca3a846c3 updated psi ebuild
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
144 cd src/plugins/generic/otrplugin
996ca3a846c3 updated psi ebuild
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
145
996ca3a846c3 updated psi ebuild
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
146 strip --strip-unneeded libotrplugin.so
996ca3a846c3 updated psi ebuild
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
147
996ca3a846c3 updated psi ebuild
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
148 dodir "${plugindir}"
996ca3a846c3 updated psi ebuild
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
149 insinto "${plugindir}"
996ca3a846c3 updated psi ebuild
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
150 doins libotrplugin.so
996ca3a846c3 updated psi ebuild
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
151
996ca3a846c3 updated psi ebuild
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
152 cd ../../../..
996ca3a846c3 updated psi ebuild
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
153 fi
996ca3a846c3 updated psi ebuild
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
154
996ca3a846c3 updated psi ebuild
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
155 if use omemo; then
996ca3a846c3 updated psi ebuild
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
156 cd src/plugins/generic/omemoplugin
996ca3a846c3 updated psi ebuild
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
157
996ca3a846c3 updated psi ebuild
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
158 strip --strip-unneeded libomemoplugin.so
996ca3a846c3 updated psi ebuild
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
159
996ca3a846c3 updated psi ebuild
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
160 dodir "${plugindir}"
996ca3a846c3 updated psi ebuild
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
161 insinto "${plugindir}"
996ca3a846c3 updated psi ebuild
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
162 doins libomemoplugin.so
996ca3a846c3 updated psi ebuild
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
163
996ca3a846c3 updated psi ebuild
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
164 cd ../../../..
996ca3a846c3 updated psi ebuild
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
165 fi
996ca3a846c3 updated psi ebuild
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
166
996ca3a846c3 updated psi ebuild
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
167 if use watcherplugin; then
996ca3a846c3 updated psi ebuild
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
168 cd src/plugins/generic/watcherplugin
996ca3a846c3 updated psi ebuild
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
169
996ca3a846c3 updated psi ebuild
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
170 strip --strip-unneeded libwatcherplugin.so
996ca3a846c3 updated psi ebuild
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
171
996ca3a846c3 updated psi ebuild
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
172 dodir "${plugindir}"
996ca3a846c3 updated psi ebuild
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
173 insinto "${plugindir}"
996ca3a846c3 updated psi ebuild
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
174 doins libwatcherplugin.so
996ca3a846c3 updated psi ebuild
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
175
996ca3a846c3 updated psi ebuild
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
176 cd ../../../..
996ca3a846c3 updated psi ebuild
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
177 fi
996ca3a846c3 updated psi ebuild
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
178 }
996ca3a846c3 updated psi ebuild
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
179
996ca3a846c3 updated psi ebuild
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
180 pkg_postinst() {
996ca3a846c3 updated psi ebuild
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
181 xdg_pkg_postinst
996ca3a846c3 updated psi ebuild
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
182 }