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: Sun, 18 Jun 2017 12:52:01
Message-Id: 1497789514.ed1f3324b8fc08d14e88e5dcac9c2549e7646984.asturm@gentoo
1 commit: ed1f3324b8fc08d14e88e5dcac9c2549e7646984
2 Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
3 AuthorDate: Sun Jun 18 12:28:31 2017 +0000
4 Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
5 CommitDate: Sun Jun 18 12:38:34 2017 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ed1f3324
7
8 net-im/vacuum: 1.2.5 version bump, drop USE=adiummessagestyle
9
10 - Bump to EAPI 6
11 - Switch to l10n.eclass
12
13 Reported-by: neko259 <neko259 <AT> gmail.com>
14 Gentoo-bug: 558358, 620724
15
16 Package-Manager: Portage-2.3.5, Repoman-2.3.1
17
18 net-im/vacuum/Manifest | 1 +
19 net-im/vacuum/vacuum-1.2.5.ebuild | 80 +++++++++++++++++++++++++++++++++++++++
20 2 files changed, 81 insertions(+)
21
22 diff --git a/net-im/vacuum/Manifest b/net-im/vacuum/Manifest
23 index d9a5eab063d..e73dfac4180 100644
24 --- a/net-im/vacuum/Manifest
25 +++ b/net-im/vacuum/Manifest
26 @@ -1 +1,2 @@
27 DIST vacuum-1.2.4.tar.xz 1617896 SHA256 3926df88b6c4c3f93453ed7cbf8d8030aaa3e9a4afe3b5a82d497cdd207ef1ce SHA512 7129ff00e0b13fb5e892540c14925bfbc27b7ad826990eda1aaa5dd0b772dfb1f734b5a5f978c42700273366b7ca0f75c2c79ab94e2ae538793e08dbd80ffd34 WHIRLPOOL aa14783f1dc739fb9f521175cac80ffab2bd2bbc8fd7b57aebfe83c87a535fab930e2bc896f7fad914915e1de54bb6dd437d44a9adb9fb6ba7debc28e397730f
28 +DIST vacuum-1.2.5.tar.gz 2242073 SHA256 3237933f68884fb5b3422ad0fc97083b40a7aae9d8c105a23720c09599ffe5da SHA512 85e36ed312beb59b667f376d45511f3c9414ba8165746cc1da15992eac4716995aa01da505a2f2dd58c8d64822f25c9106691be26a534e01a21f0201049300fc WHIRLPOOL 474930024e8a3a7d501f4dc48ec0919c2dfc73021fb4fee589de5a9986f3598442dbc74bb08d8364223f8c637fb68341cd3b859864afff4c9bc7c8bcdcd05ff5
29
30 diff --git a/net-im/vacuum/vacuum-1.2.5.ebuild b/net-im/vacuum/vacuum-1.2.5.ebuild
31 new file mode 100644
32 index 00000000000..497f62a4058
33 --- /dev/null
34 +++ b/net-im/vacuum/vacuum-1.2.5.ebuild
35 @@ -0,0 +1,80 @@
36 +# Copyright 1999-2017 Gentoo Foundation
37 +# Distributed under the terms of the GNU General Public License v2
38 +
39 +EAPI=6
40 +
41 +MY_PN=${PN}-im
42 +PLOCALES="de es pl ru uk"
43 +inherit cmake-utils l10n
44 +
45 +DESCRIPTION="Qt Crossplatform Jabber client"
46 +HOMEPAGE="https://code.google.com/p/vacuum-im"
47 +SRC_URI="https://github.com/Vacuum-IM/${MY_PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
48 +
49 +LICENSE="GPL-3"
50 +SLOT="0/1.17" # subslot = libvacuumutils soname version
51 +KEYWORDS="~amd64 ~x86"
52 +PLUGINS=( annotations autostatus avatars birthdayreminder bitsofbinary bookmarks captchaforms chatstates clientinfo commands compress console dataforms datastreamsmanager emoticons filemessagearchive filestreamsmanager filetransfer gateways inbandstreams iqauth jabbersearch messagearchiver multiuserchat pepmanager privacylists privatestorage registration remotecontrol rosteritemexchange rostersearch servermessagearchive servicediscovery sessionnegotiation shortcutmanager socksstreams urlprocessor vcard xmppuriqueries )
53 +IUSE="${PLUGINS[@]/#/+}"
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 + pepmanager? ( servicediscovery )
67 + registration? ( dataforms )
68 + remotecontrol? ( commands dataforms )
69 + servermessagearchive? ( messagearchiver )
70 + sessionnegotiation? ( dataforms )
71 +"
72 +
73 +RDEPEND="
74 + dev-qt/qtcore:4[ssl]
75 + dev-qt/qtgui:4
76 + dev-qt/qtlockedfile[qt4(+)]
77 + dev-libs/openssl:0
78 + net-dns/libidn
79 + sys-libs/zlib[minizip]
80 + x11-libs/libXScrnSaver
81 +"
82 +DEPEND="${RDEPEND}"
83 +
84 +DOCS=( AUTHORS CHANGELOG README TRANSLATORS )
85 +
86 +PATCHES=( "${FILESDIR}"/${PN}-1.2.4-gcc6-not-string-literals.patch )
87 +
88 +S="${WORKDIR}/${MY_PN}-${PV}"
89 +
90 +src_prepare() {
91 + # Force usage of system libraries
92 + rm -rf src/thirdparty/{idn,minizip,zlib}
93 +
94 + # CMP0022 warning
95 + sed -e "/^cmake_minimum_required/s/2.8/2.8.12/" -i CMakeLists.txt || die
96 +
97 + cmake-utils_src_prepare
98 +}
99 +
100 +src_configure() {
101 + local mycmakeargs=(
102 + -DINSTALL_LIB_DIR="$(get_libdir)"
103 + -DINSTALL_SDK=ON
104 + -DLANGS="$(l10n_get_locales)"
105 + -DINSTALL_DOCS=OFF
106 + -DFORCE_BUNDLED_MINIZIP=OFF
107 + )
108 +
109 + local x
110 + for x in ${PLUGINS[@]}; do
111 + mycmakeargs+=( -DPLUGIN_${x}=$(usex $x) )
112 + done
113 +
114 + cmake-utils_src_configure
115 +}