diff options
author | Andreas Sturmlechner <asturm@gentoo.org> | 2017-06-18 13:45:03 +0200 |
---|---|---|
committer | Andreas Sturmlechner <asturm@gentoo.org> | 2017-06-18 14:03:17 +0200 |
commit | 89b4006be09f5a68c2b7d96e6100bbce5c321724 (patch) | |
tree | 8fc5d315f62b8a32f295652052a9aceed6620f86 /net-im | |
parent | dev-libs/m17n-lib: keyword ~arm64 (diff) | |
download | gentoo-89b4006be09f5a68c2b7d96e6100bbce5c321724.tar.gz gentoo-89b4006be09f5a68c2b7d96e6100bbce5c321724.tar.bz2 gentoo-89b4006be09f5a68c2b7d96e6100bbce5c321724.zip |
net-im/vacuum: Switch to building 'dev_qt5' branch
- Bump to EAPI 6
- Switch to l10n.eclass
Thanks-to: reagentoo <reagentoo@gmail.com>
Gentoo-bug: 588714, 620724
Package-Manager: Portage-2.3.5, Repoman-2.3.1
Diffstat (limited to 'net-im')
-rw-r--r-- | net-im/vacuum/metadata.xml | 1 | ||||
-rw-r--r-- | net-im/vacuum/vacuum-9999.ebuild | 71 |
2 files changed, 31 insertions, 41 deletions
diff --git a/net-im/vacuum/metadata.xml b/net-im/vacuum/metadata.xml index 3c658b4028b0..3f054b4c28bd 100644 --- a/net-im/vacuum/metadata.xml +++ b/net-im/vacuum/metadata.xml @@ -48,7 +48,6 @@ <flag name="urlprocessor">Allows other plugins to load data from custom types of URLs</flag> <flag name="vcard">Enable obtaining peer's personal contact information</flag> <flag name="xmppuriqueries">Allow other plugins to handle XMPP URI queries</flag> - <flag name="vcs-revision">Add VCS revision to version number, INSECURE.</flag> <flag name="aspell">Select <pkg>app-text/aspell</pkg> spell checker backend</flag> <flag name="enchant">Select <pkg>app-text/enchant</pkg> spell checker backend</flag> <flag name="hunspell">Select <pkg>app-text/hunspell</pkg> spell checker backend</flag> diff --git a/net-im/vacuum/vacuum-9999.ebuild b/net-im/vacuum/vacuum-9999.ebuild index 2b08c43193d5..76ab422c67cf 100644 --- a/net-im/vacuum/vacuum-9999.ebuild +++ b/net-im/vacuum/vacuum-9999.ebuild @@ -1,24 +1,22 @@ -# Copyright 1999-2015 Gentoo Foundation +# Copyright 1999-2017 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -EAPI="5" -LANGS="de pl ru uk" +EAPI=6 -inherit cmake-utils git-r3 +EGIT_BRANCH="dev_qt5" +EGIT_REPO_URI="https://github.com/Vacuum-IM/vacuum-im.git" +PLOCALES="de es pl ru uk" +inherit cmake-utils git-r3 l10n -DESCRIPTION="Qt4 Crossplatform Jabber client" +DESCRIPTION="Qt Crossplatform Jabber client" HOMEPAGE="http://www.vacuum-im.org/" -EGIT_REPO_URI="https://github.com/Vacuum-IM/vacuum-im.git" LICENSE="GPL-3" -SLOT="0/31" # subslot = libvacuumutils soname version +SLOT="0/37" # subslot = libvacuumutils soname version KEYWORDS="" -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" +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 ) SPELLCHECKER_BACKENDS="aspell +enchant hunspell" -IUSE="${PLUGINS// / +} ${SPELLCHECKER_BACKENDS} +spell vcs-revision" -for x in ${LANGS}; do - IUSE+=" linguas_${x}" -done +IUSE="${PLUGINS[@]/#/+} ${SPELLCHECKER_BACKENDS} +spell" REQUIRED_USE=" annotations? ( privatestorage ) @@ -41,27 +39,30 @@ REQUIRED_USE=" spell? ( ^^ ( ${SPELLCHECKER_BACKENDS//+/} ) ) " -RDEPEND=" - >=dev-qt/qtcore-4.8:4[ssl] - >=dev-qt/qtgui-4.8:4 - dev-qt/qtlockedfile[qt4(+)] - >=dev-libs/openssl-1.0.0 - adiummessagestyle? ( >=dev-qt/qtwebkit-4.8:4 ) - filemessagearchive? ( >=dev-qt/qtsql-4.8:4[sqlite] ) - messagearchiver? ( >=dev-qt/qtsql-4.8:4[sqlite] ) +DEPEND=" + dev-qt/qtcore:5 + dev-qt/qtgui:5 + dev-qt/qtlockedfile[qt5(+)] + dev-qt/qtmultimedia:5 + dev-qt/qtnetwork:5[ssl] + dev-qt/qtxml:5 + net-dns/libidn + sys-libs/zlib[minizip] + x11-libs/libXScrnSaver + adiummessagestyle? ( dev-qt/qtwebkit:5 ) + filemessagearchive? ( dev-qt/qtsql:5[sqlite] ) + messagearchiver? ( dev-qt/qtsql:5[sqlite] ) spell? ( aspell? ( app-text/aspell ) enchant? ( app-text/enchant ) hunspell? ( app-text/hunspell ) ) - net-dns/libidn - x11-libs/libXScrnSaver - sys-libs/zlib[minizip] +" +RDEPEND="${DEPEND} !net-im/vacuum-spellchecker " -DEPEND="${RDEPEND}" -DOCS="AUTHORS CHANGELOG README TRANSLATORS" +DOCS=( AUTHORS CHANGELOG README TRANSLATORS ) src_prepare() { # Force usage of system libraries @@ -71,34 +72,24 @@ src_prepare() { } src_configure() { - # linguas - local langs="none;" x - for x in ${LANGS}; do - use linguas_${x} && langs+="${x};" - done - local mycmakeargs=( -DINSTALL_LIB_DIR="$(get_libdir)" -DINSTALL_SDK=ON - -DLANGS="${langs}" + -DLANGS="$(l10n_get_locales)" -DINSTALL_DOCS=OFF -DFORCE_BUNDLED_MINIZIP=OFF -DPLUGIN_statistics=OFF + -DNO_WEBKIT=$(usex !adiummessagestyle) + -DPLUGIN_spellchecker=$(usex spell) ) - for x in ${PLUGINS}; do - mycmakeargs+=( "$(cmake-utils_use ${x} PLUGIN_${x})" ) + for x in ${PLUGINS[@]}; do + mycmakeargs+=( -DPLUGIN_${x}=$(usex $x) ) done - mycmakeargs+=( "$(cmake-utils_use spell PLUGIN_spellchecker)" ) for i in ${SPELLCHECKER_BACKENDS//+/}; do use "${i}" && mycmakeargs+=( -DSPELLCHECKER_BACKEND="${i}" ) done - if use vcs-revision; then - subversion_wc_info # eclass is broken - mycmakeargs+=( -DVER_STRING="${ESVN_WC_REVISION}" ) - fi - cmake-utils_src_configure } |