annotate net-im/psi-plus/psi-plus-1.4.924.ebuild @ 509:4c9f6797d0f4

update for vscodium
author Dirk Olmes <dirk.olmes@codedo.de>
date Wed, 25 Mar 2020 08:14:20 +0100
parents 996ca3a846c3
children bfa37ca24eec
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
996ca3a846c3 updated psi ebuild
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
5 inherit l10n qmake-utils xdg
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 # install translations
996ca3a846c3 updated psi ebuild
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
131 # local mylrelease="$(qt5_get_bindir)"/lrelease
996ca3a846c3 updated psi ebuild
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
132 # cd "${WORKDIR}/${PN}/psi-l10n" || die
996ca3a846c3 updated psi ebuild
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
133 # insinto /usr/share/${PN}
996ca3a846c3 updated psi ebuild
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
134 # install_locale() {
996ca3a846c3 updated psi ebuild
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
135 # "${mylrelease}" "translations/${PN}_${1}.ts" || die "lrelease ${1} failed"
996ca3a846c3 updated psi ebuild
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
136 # doins "translations/${PN}_${1}.qm"
996ca3a846c3 updated psi ebuild
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
137 # }
996ca3a846c3 updated psi ebuild
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
138 # l10n_for_each_locale_do install_locale
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 local plugindir="/usr/share/psi-plus/plugins"
996ca3a846c3 updated psi ebuild
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
141 if use autoreplyplugin; then
996ca3a846c3 updated psi ebuild
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
142 cd src/plugins/generic/autoreplyplugin
996ca3a846c3 updated psi ebuild
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
143
996ca3a846c3 updated psi ebuild
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
144 strip --strip-unneeded libautoreplyplugin.so
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 dodir "${plugindir}"
996ca3a846c3 updated psi ebuild
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
147 insinto "${plugindir}"
996ca3a846c3 updated psi ebuild
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
148 doins libautoreplyplugin.so
996ca3a846c3 updated psi ebuild
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
149
996ca3a846c3 updated psi ebuild
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
150 cd ../../../..
996ca3a846c3 updated psi ebuild
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
151 fi
996ca3a846c3 updated psi ebuild
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
152
996ca3a846c3 updated psi ebuild
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
153 if use otrplugin; then
996ca3a846c3 updated psi ebuild
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
154 cd src/plugins/generic/otrplugin
996ca3a846c3 updated psi ebuild
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
155
996ca3a846c3 updated psi ebuild
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
156 strip --strip-unneeded libotrplugin.so
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 dodir "${plugindir}"
996ca3a846c3 updated psi ebuild
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
159 insinto "${plugindir}"
996ca3a846c3 updated psi ebuild
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
160 doins libotrplugin.so
996ca3a846c3 updated psi ebuild
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
161
996ca3a846c3 updated psi ebuild
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
162 cd ../../../..
996ca3a846c3 updated psi ebuild
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
163 fi
996ca3a846c3 updated psi ebuild
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
164
996ca3a846c3 updated psi ebuild
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
165 if use omemo; then
996ca3a846c3 updated psi ebuild
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
166 cd src/plugins/generic/omemoplugin
996ca3a846c3 updated psi ebuild
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
167
996ca3a846c3 updated psi ebuild
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
168 strip --strip-unneeded libomemoplugin.so
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 dodir "${plugindir}"
996ca3a846c3 updated psi ebuild
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
171 insinto "${plugindir}"
996ca3a846c3 updated psi ebuild
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
172 doins libomemoplugin.so
996ca3a846c3 updated psi ebuild
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
173
996ca3a846c3 updated psi ebuild
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
174 cd ../../../..
996ca3a846c3 updated psi ebuild
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
175 fi
996ca3a846c3 updated psi ebuild
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
176
996ca3a846c3 updated psi ebuild
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
177 if use watcherplugin; then
996ca3a846c3 updated psi ebuild
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
178 cd src/plugins/generic/watcherplugin
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 strip --strip-unneeded libwatcherplugin.so
996ca3a846c3 updated psi ebuild
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
181
996ca3a846c3 updated psi ebuild
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
182 dodir "${plugindir}"
996ca3a846c3 updated psi ebuild
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
183 insinto "${plugindir}"
996ca3a846c3 updated psi ebuild
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
184 doins libwatcherplugin.so
996ca3a846c3 updated psi ebuild
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
185
996ca3a846c3 updated psi ebuild
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
186 cd ../../../..
996ca3a846c3 updated psi ebuild
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
187 fi
996ca3a846c3 updated psi ebuild
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
188 }
996ca3a846c3 updated psi ebuild
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
189
996ca3a846c3 updated psi ebuild
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
190 pkg_postinst() {
996ca3a846c3 updated psi ebuild
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
191 xdg_pkg_postinst
996ca3a846c3 updated psi ebuild
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
192 }