summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohannes Huber <johu@gentoo.org>2016-04-11 18:59:02 +0200
committerJohannes Huber <johu@gentoo.org>2016-04-11 18:59:02 +0200
commit9631182a7bdbe799232b948ad118d3cbe1761bb1 (patch)
tree8a3c6fe7f38dc2f66b0fd055e541eb5c966ec381 /dev-libs/qtkeychain
parentmedia-sound/tomahawk: Fix live build (diff)
downloadgentoo-9631182a7bdbe799232b948ad118d3cbe1761bb1.tar.gz
gentoo-9631182a7bdbe799232b948ad118d3cbe1761bb1.tar.bz2
gentoo-9631182a7bdbe799232b948ad118d3cbe1761bb1.zip
dev-libs/qtkeychain: Version bump 0.6.2
Package-Manager: portage-2.2.28
Diffstat (limited to 'dev-libs/qtkeychain')
-rw-r--r--dev-libs/qtkeychain/Manifest1
-rw-r--r--dev-libs/qtkeychain/qtkeychain-0.6.2.ebuild70
2 files changed, 71 insertions, 0 deletions
diff --git a/dev-libs/qtkeychain/Manifest b/dev-libs/qtkeychain/Manifest
index 670b00df21e8..31009fd936cd 100644
--- a/dev-libs/qtkeychain/Manifest
+++ b/dev-libs/qtkeychain/Manifest
@@ -1 +1,2 @@
DIST qtkeychain-0.5.0.tar.gz 18422 SHA256 e62d7ae9c8ae04784d8a5d0f213aaa22f1c02427e800ce88739e997f499bb514 SHA512 abc9d27b318a984c95b55f821f8bba7d8f34e6316958cf41b44aa4451371e5f629f17b9a0d1356cd6455f19979d562157a260f835c8f037037b0ac7bf64b94e5 WHIRLPOOL b3c99c863390b8c9e807a17783ca95640a468d57eec35e197412a46031aae06433e06c3274973e7876192a654e09cba6bd92512baf8a3500052a3de9d1a50496
+DIST qtkeychain-0.6.2.tar.gz 18859 SHA256 ae13459234feeeab3a154457319d9b26ee9600973443517c77e055838ebae63c SHA512 be668c9730b331071cefff0b6d640e7130bd6b029e56aa4b1fa709d118d4db18146869cdd013df2f5348da32ec1101646f2df0bfa8f0790ec9542f9063f0b195 WHIRLPOOL beed71a48c18848a01e1fe57a7ed2d641e17907a792fdce15f3e6dc4c40218376c5ed04d608c2950c1fb7a60f7d9e0e9ee30e72d400e7e7031fa33cc35872126
diff --git a/dev-libs/qtkeychain/qtkeychain-0.6.2.ebuild b/dev-libs/qtkeychain/qtkeychain-0.6.2.ebuild
new file mode 100644
index 000000000000..f05c9b03d702
--- /dev/null
+++ b/dev-libs/qtkeychain/qtkeychain-0.6.2.ebuild
@@ -0,0 +1,70 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+
+inherit cmake-utils multibuild
+
+DESCRIPTION="Qt API for storing passwords securely"
+HOMEPAGE="https://github.com/frankosterfeld/qtkeychain"
+SRC_URI="https://github.com/frankosterfeld/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="+qt4 qt5"
+
+REQUIRED_USE="|| ( qt4 qt5 )"
+
+RDEPEND="
+ qt5? (
+ dev-qt/qtcore:5
+ dev-qt/qtdbus:5
+ )
+ qt4? (
+ dev-qt/qtcore:4
+ dev-qt/qtdbus:4
+ )
+"
+DEPEND="${RDEPEND}
+ qt5? ( dev-qt/linguist-tools:5 )
+"
+
+DOCS=( ChangeLog ReadMe.txt )
+
+pkg_setup() {
+ MULTIBUILD_VARIANTS=( $(usev qt4) $(usev qt5) )
+}
+
+src_configure() {
+ myconfigure() {
+ if [[ ${MULTIBUILD_VARIANT} = qt4 ]]; then
+ local mycmakeargs=(-DBUILD_WITH_QT4=ON)
+ fi
+ if [[ ${MULTIBUILD_VARIANT} = qt5 ]]; then
+ local mycmakeargs=(-DBUILD_WITH_QT4=OFF)
+ fi
+
+ mycmakeargs+=(
+ -DQTKEYCHAIN_STATIC=OFF
+ -DBUILD_TRANSLATIONS=ON
+ )
+
+ cmake-utils_src_configure
+ }
+
+ multibuild_foreach_variant myconfigure
+}
+
+src_compile() {
+ multibuild_foreach_variant cmake-utils_src_compile
+}
+
+src_test() {
+ multibuild_foreach_variant cmake-utils_src_test
+}
+
+src_install() {
+ multibuild_foreach_variant cmake-utils_src_install
+}