commit:     ed1f3324b8fc08d14e88e5dcac9c2549e7646984
Author:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
AuthorDate: Sun Jun 18 12:28:31 2017 +0000
Commit:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Sun Jun 18 12:38:34 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ed1f3324

net-im/vacuum: 1.2.5 version bump, drop USE=adiummessagestyle

- Bump to EAPI 6
- Switch to l10n.eclass

Reported-by: neko259 <neko259 <AT> gmail.com>
Gentoo-bug: 558358, 620724

Package-Manager: Portage-2.3.5, Repoman-2.3.1

 net-im/vacuum/Manifest            |  1 +
 net-im/vacuum/vacuum-1.2.5.ebuild | 80 +++++++++++++++++++++++++++++++++++++++
 2 files changed, 81 insertions(+)

diff --git a/net-im/vacuum/Manifest b/net-im/vacuum/Manifest
index d9a5eab063d..e73dfac4180 100644
--- a/net-im/vacuum/Manifest
+++ b/net-im/vacuum/Manifest
@@ -1 +1,2 @@
 DIST vacuum-1.2.4.tar.xz 1617896 SHA256 
3926df88b6c4c3f93453ed7cbf8d8030aaa3e9a4afe3b5a82d497cdd207ef1ce SHA512 
7129ff00e0b13fb5e892540c14925bfbc27b7ad826990eda1aaa5dd0b772dfb1f734b5a5f978c42700273366b7ca0f75c2c79ab94e2ae538793e08dbd80ffd34
 WHIRLPOOL 
aa14783f1dc739fb9f521175cac80ffab2bd2bbc8fd7b57aebfe83c87a535fab930e2bc896f7fad914915e1de54bb6dd437d44a9adb9fb6ba7debc28e397730f
+DIST vacuum-1.2.5.tar.gz 2242073 SHA256 
3237933f68884fb5b3422ad0fc97083b40a7aae9d8c105a23720c09599ffe5da SHA512 
85e36ed312beb59b667f376d45511f3c9414ba8165746cc1da15992eac4716995aa01da505a2f2dd58c8d64822f25c9106691be26a534e01a21f0201049300fc
 WHIRLPOOL 
474930024e8a3a7d501f4dc48ec0919c2dfc73021fb4fee589de5a9986f3598442dbc74bb08d8364223f8c637fb68341cd3b859864afff4c9bc7c8bcdcd05ff5

diff --git a/net-im/vacuum/vacuum-1.2.5.ebuild 
b/net-im/vacuum/vacuum-1.2.5.ebuild
new file mode 100644
index 00000000000..497f62a4058
--- /dev/null
+++ b/net-im/vacuum/vacuum-1.2.5.ebuild
@@ -0,0 +1,80 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+MY_PN=${PN}-im
+PLOCALES="de es pl ru uk"
+inherit cmake-utils l10n
+
+DESCRIPTION="Qt Crossplatform Jabber client"
+HOMEPAGE="https://code.google.com/p/vacuum-im";
+SRC_URI="https://github.com/Vacuum-IM/${MY_PN}/archive/${PV}.tar.gz -> 
${P}.tar.gz"
+
+LICENSE="GPL-3"
+SLOT="0/1.17" # subslot = libvacuumutils soname version
+KEYWORDS="~amd64 ~x86"
+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 )
+IUSE="${PLUGINS[@]/#/+}"
+
+REQUIRED_USE="
+       annotations? ( privatestorage )
+       avatars? ( vcard )
+       birthdayreminder? ( vcard )
+       bookmarks? ( privatestorage )
+       captchaforms? ( dataforms )
+       commands? ( dataforms )
+       datastreamsmanager? ( dataforms )
+       filemessagearchive? ( messagearchiver )
+       filestreamsmanager? ( datastreamsmanager )
+       filetransfer? ( filestreamsmanager datastreamsmanager )
+       pepmanager? ( servicediscovery )
+       registration? ( dataforms )
+       remotecontrol? ( commands dataforms )
+       servermessagearchive? ( messagearchiver )
+       sessionnegotiation? ( dataforms )
+"
+
+RDEPEND="
+       dev-qt/qtcore:4[ssl]
+       dev-qt/qtgui:4
+       dev-qt/qtlockedfile[qt4(+)]
+       dev-libs/openssl:0
+       net-dns/libidn
+       sys-libs/zlib[minizip]
+       x11-libs/libXScrnSaver
+"
+DEPEND="${RDEPEND}"
+
+DOCS=( AUTHORS CHANGELOG README TRANSLATORS )
+
+PATCHES=( "${FILESDIR}"/${PN}-1.2.4-gcc6-not-string-literals.patch )
+
+S="${WORKDIR}/${MY_PN}-${PV}"
+
+src_prepare() {
+       # Force usage of system libraries
+       rm -rf src/thirdparty/{idn,minizip,zlib}
+
+       # CMP0022 warning
+       sed -e "/^cmake_minimum_required/s/2.8/2.8.12/" -i CMakeLists.txt || die
+
+       cmake-utils_src_prepare
+}
+
+src_configure() {
+       local mycmakeargs=(
+               -DINSTALL_LIB_DIR="$(get_libdir)"
+               -DINSTALL_SDK=ON
+               -DLANGS="$(l10n_get_locales)"
+               -DINSTALL_DOCS=OFF
+               -DFORCE_BUNDLED_MINIZIP=OFF
+       )
+
+       local x
+       for x in ${PLUGINS[@]}; do
+               mycmakeargs+=( -DPLUGIN_${x}=$(usex $x) )
+       done
+
+       cmake-utils_src_configure
+}

Reply via email to