Gentoo Archives: gentoo-commits

From: Andreas Sturmlechner <asturm@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: net-im/vacuum/
Date: Sat, 06 Jan 2018 03:01:21
Message-Id: 1515207497.45a4244a596cc0120050227f36be2e03522ca809.asturm@gentoo
1 commit: 45a4244a596cc0120050227f36be2e03522ca809
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:17 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=45a4244a
7
8 net-im/vacuum: Add 1.3.0.20180105-Alpha
9
10 Bug: https://bugs.gentoo.org/642538
11 Closes: https://github.com/gentoo/gentoo/pull/6746
12
13 net-im/vacuum/Manifest | 1 +
14 net-im/vacuum/vacuum-1.3.0_pre20180105.ebuild | 104 ++++++++++++++++++++++++++
15 2 files changed, 105 insertions(+)
16
17 diff --git a/net-im/vacuum/Manifest b/net-im/vacuum/Manifest
18 index 949259c12b5..e5af4287f2e 100644
19 --- a/net-im/vacuum/Manifest
20 +++ b/net-im/vacuum/Manifest
21 @@ -1 +1,2 @@
22 DIST vacuum-1.2.5.tar.gz 2242073 BLAKE2B 3c326fa38422e99ecc1edaca51932dbb18a8cefdbc757f6b39099ec5af07a07094f3d961ec98c65eb9c4b5e4937d6c5a4d814095b8257b5a95e94c68077f9259 SHA512 85e36ed312beb59b667f376d45511f3c9414ba8165746cc1da15992eac4716995aa01da505a2f2dd58c8d64822f25c9106691be26a534e01a21f0201049300fc
23 +DIST vacuum-im-1.3.0.20180105-Alpha.tar.gz 2658247 BLAKE2B 823984f49687805c8e859984d6dfc9afcbdff864eef2f81825562dca11281286d5e736a986ed40e10bb915b7ee4f972dba10b073ea738cd8153f887c74b89f1b SHA512 83d830494c272145c3ad923ebb2897a8ab6323a301bdd0fc2b972f84b246e2de4eff29a93d92da97ed4deb6018c52e38e6fc5941c54722e1c37de207bca0c687
24
25 diff --git a/net-im/vacuum/vacuum-1.3.0_pre20180105.ebuild b/net-im/vacuum/vacuum-1.3.0_pre20180105.ebuild
26 new file mode 100644
27 index 00000000000..0b60a4d2b10
28 --- /dev/null
29 +++ b/net-im/vacuum/vacuum-1.3.0_pre20180105.ebuild
30 @@ -0,0 +1,104 @@
31 +# Copyright 1999-2018 Gentoo Foundation
32 +# Distributed under the terms of the GNU General Public License v2
33 +
34 +EAPI=6
35 +
36 +PLOCALES="de es pl ru uk"
37 +
38 +inherit cmake-utils l10n
39 +
40 +MY_PN="${PN}-im"
41 +MY_PV="${PV/_pre/.}-Alpha"
42 +MY_P="${MY_PN}-${MY_PV}"
43 +
44 +DESCRIPTION="Qt Crossplatform Jabber client"
45 +HOMEPAGE="http://www.vacuum-im.org/"
46 +SRC_URI="https://github.com/Vacuum-IM/${MY_PN}/archive/${MY_PV}.tar.gz -> ${MY_P}.tar.gz"
47 +
48 +LICENSE="GPL-3"
49 +SLOT="0/37" # subslot = libvacuumutils soname version
50 +KEYWORDS="~amd64 ~x86"
51 +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 )
52 +SPELLCHECKER_BACKENDS="aspell +enchant hunspell"
53 +IUSE="${PLUGINS[@]/#/+} ${SPELLCHECKER_BACKENDS} +spell"
54 +
55 +REQUIRED_USE="
56 + annotations? ( privatestorage )
57 + avatars? ( vcard )
58 + birthdayreminder? ( vcard )
59 + bookmarks? ( privatestorage )
60 + captchaforms? ( dataforms )
61 + commands? ( dataforms )
62 + datastreamsmanager? ( dataforms )
63 + filemessagearchive? ( messagearchiver )
64 + filestreamsmanager? ( datastreamsmanager )
65 + filetransfer? ( filestreamsmanager datastreamsmanager )
66 + messagecarbons? ( servicediscovery )
67 + pepmanager? ( servicediscovery )
68 + recentcontacts? ( privatestorage )
69 + registration? ( dataforms )
70 + remotecontrol? ( commands dataforms )
71 + servermessagearchive? ( messagearchiver )
72 + sessionnegotiation? ( dataforms )
73 + spell? ( ^^ ( ${SPELLCHECKER_BACKENDS//+/} ) )
74 +"
75 +
76 +DEPEND="
77 + dev-qt/qtcore:5
78 + dev-qt/qtgui:5
79 + dev-qt/qtlockedfile[qt5(+)]
80 + dev-qt/qtmultimedia:5
81 + dev-qt/qtnetwork:5[ssl]
82 + dev-qt/qtxml:5
83 + net-dns/libidn
84 + sys-libs/zlib[minizip]
85 + x11-libs/libXScrnSaver
86 + adiummessagestyle? ( dev-qt/qtwebkit:5 )
87 + filemessagearchive? ( dev-qt/qtsql:5[sqlite] )
88 + messagearchiver? ( dev-qt/qtsql:5[sqlite] )
89 + spell? (
90 + aspell? ( app-text/aspell )
91 + enchant? ( app-text/enchant )
92 + hunspell? ( app-text/hunspell )
93 + )
94 +"
95 +RDEPEND="${DEPEND}
96 + !net-im/vacuum-spellchecker
97 +"
98 +
99 +DOCS=( AUTHORS CHANGELOG README TRANSLATORS )
100 +
101 +S="${WORKDIR}/${MY_P}"
102 +
103 +src_prepare() {
104 + # Force usage of system libraries
105 + rm -rf src/thirdparty/{hunspell,idn,minizip,qtlockedfile,zlib} || die
106 +
107 + # Supress find thirdparty library in the system
108 + sed -i -r -e "/find_library.+qxtglobalshortcut/d" \
109 + CMakeLists.txt || die
110 +
111 + cmake-utils_src_prepare
112 +}
113 +
114 +src_configure() {
115 + local mycmakeargs=(
116 + -DINSTALL_LIB_DIR="$(get_libdir)"
117 + -DINSTALL_SDK=ON
118 + -DLANGS="$(l10n_get_locales)"
119 + -DINSTALL_DOCS=OFF
120 + -DFORCE_BUNDLED_MINIZIP=OFF
121 + -DPLUGIN_statistics=OFF
122 + -DPLUGIN_spellchecker=$(usex spell)
123 + )
124 +
125 + for x in ${PLUGINS[@]}; do
126 + mycmakeargs+=( -DPLUGIN_${x}=$(usex $x) )
127 + done
128 +
129 + for i in ${SPELLCHECKER_BACKENDS//+/}; do
130 + use "${i}" && mycmakeargs+=( -DSPELLCHECKER_BACKEND="${i}" )
131 + done
132 +
133 + cmake-utils_src_configure
134 +}