1 |
commit: df03269f345a6f67a82de46d9515f47368c3e5bf |
2 |
Author: reagentoo <reagentoo <AT> gmail <DOT> com> |
3 |
AuthorDate: Thu Jan 4 14:06:31 2018 +0000 |
4 |
Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Jan 6 02:58:42 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=df03269f |
7 |
|
8 |
net-im/vacuum: Drop unused NO_WEBKIT option, fix src_prepare |
9 |
|
10 |
Closes: https://github.com/gentoo/gentoo/pull/6746 |
11 |
|
12 |
net-im/vacuum/vacuum-9999.ebuild | 13 +++++++------ |
13 |
1 file changed, 7 insertions(+), 6 deletions(-) |
14 |
|
15 |
diff --git a/net-im/vacuum/vacuum-9999.ebuild b/net-im/vacuum/vacuum-9999.ebuild |
16 |
index 56de1a0b337..b2f5d478a4d 100644 |
17 |
--- a/net-im/vacuum/vacuum-9999.ebuild |
18 |
+++ b/net-im/vacuum/vacuum-9999.ebuild |
19 |
@@ -13,9 +13,9 @@ HOMEPAGE="http://www.vacuum-im.org/" |
20 |
LICENSE="GPL-3" |
21 |
SLOT="0/37" # subslot = libvacuumutils soname version |
22 |
KEYWORDS="" |
23 |
-PLUGINS=( annotations autostatus avatars birthdayreminder bitsofbinary bookmarks captchaforms chatstates clientinfo commands compress console dataforms datastreamsmanager emoticons filemessagearchive filestreamsmanager filetransfer gateways inbandstreams iqauth jabbersearch messagearchiver messagecarbons multiuserchat pepmanager privacylists privatestorage recentcontacts registration remotecontrol rosteritemexchange rostersearch servermessagearchive servicediscovery sessionnegotiation shortcutmanager socksstreams urlprocessor vcard xmppuriqueries ) |
24 |
+PLUGINS=( adiummessagestyle annotations autostatus avatars birthdayreminder bitsofbinary bookmarks captchaforms chatstates clientinfo commands compress console dataforms datastreamsmanager emoticons filemessagearchive filestreamsmanager filetransfer gateways inbandstreams iqauth jabbersearch messagearchiver messagecarbons multiuserchat pepmanager privacylists privatestorage recentcontacts registration remotecontrol rosteritemexchange rostersearch servermessagearchive servicediscovery sessionnegotiation shortcutmanager socksstreams urlprocessor vcard xmppuriqueries ) |
25 |
SPELLCHECKER_BACKENDS="aspell +enchant hunspell" |
26 |
-IUSE="adiummessagestyle ${PLUGINS[@]/#/+} ${SPELLCHECKER_BACKENDS} +spell" |
27 |
+IUSE="${PLUGINS[@]/#/+} ${SPELLCHECKER_BACKENDS} +spell" |
28 |
|
29 |
REQUIRED_USE=" |
30 |
annotations? ( privatestorage ) |
31 |
@@ -65,7 +65,11 @@ DOCS=( AUTHORS CHANGELOG README TRANSLATORS ) |
32 |
|
33 |
src_prepare() { |
34 |
# Force usage of system libraries |
35 |
- rm -rf src/thirdparty/{idn,hunspell,minizip,zlib} |
36 |
+ rm -rf src/thirdparty/{hunspell,idn,minizip,qtlockedfile,zlib} || die |
37 |
+ |
38 |
+ # Supress find thirdparty library in the system |
39 |
+ sed -i -r -e "/find_library.+qxtglobalshortcut/d" \ |
40 |
+ CMakeLists.txt || die |
41 |
|
42 |
cmake-utils_src_prepare |
43 |
} |
44 |
@@ -78,12 +82,9 @@ src_configure() { |
45 |
-DINSTALL_DOCS=OFF |
46 |
-DFORCE_BUNDLED_MINIZIP=OFF |
47 |
-DPLUGIN_statistics=OFF |
48 |
- -DNO_WEBKIT=$(usex !adiummessagestyle) |
49 |
-DPLUGIN_spellchecker=$(usex spell) |
50 |
) |
51 |
|
52 |
- use adiummessagestyle && mycmakeargs+=( -DPLUGIN_adiummessagestyle=ON ) |
53 |
- |
54 |
for x in ${PLUGINS[@]}; do |
55 |
mycmakeargs+=( -DPLUGIN_${x}=$(usex $x) ) |
56 |
done |