summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohannes Huber <johu@gentoo.org>2014-09-19 17:55:22 +0000
committerJohannes Huber <johu@gentoo.org>2014-09-19 17:55:22 +0000
commit439688ea7b14376078ad5398a2800e2658db8e4a (patch)
tree173fe8fe5d4a515e95572543a7a05054dbe8019a /dev-libs/qtkeychain
parentDon't install scsi_* scripts twice in /usr/(s)bin (bug #506362) (diff)
downloadgentoo-2-439688ea7b14376078ad5398a2800e2658db8e4a.tar.gz
gentoo-2-439688ea7b14376078ad5398a2800e2658db8e4a.tar.bz2
gentoo-2-439688ea7b14376078ad5398a2800e2658db8e4a.zip
Version bump, bug #523234.
(Portage version: 2.2.13/cvs/Linux x86_64, signed Manifest commit with key 0xF3CFD2BD)
Diffstat (limited to 'dev-libs/qtkeychain')
-rw-r--r--dev-libs/qtkeychain/ChangeLog7
-rw-r--r--dev-libs/qtkeychain/qtkeychain-0.4.0.ebuild70
2 files changed, 76 insertions, 1 deletions
diff --git a/dev-libs/qtkeychain/ChangeLog b/dev-libs/qtkeychain/ChangeLog
index 5e076da93e09..58951d3e8901 100644
--- a/dev-libs/qtkeychain/ChangeLog
+++ b/dev-libs/qtkeychain/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for dev-libs/qtkeychain
# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-libs/qtkeychain/ChangeLog,v 1.3 2014/04/17 20:07:32 johu Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/qtkeychain/ChangeLog,v 1.4 2014/09/19 17:55:22 johu Exp $
+
+*qtkeychain-0.4.0 (19 Sep 2014)
+
+ 19 Sep 2014; Johannes Huber <johu@gentoo.org> +qtkeychain-0.4.0.ebuild:
+ Version bump, bug #523234.
17 Apr 2014; Johannes Huber <johu@gentoo.org>
-files/qtkeychain-0.1.0-qt5.patch, -qtkeychain-0.1.0.ebuild,
diff --git a/dev-libs/qtkeychain/qtkeychain-0.4.0.ebuild b/dev-libs/qtkeychain/qtkeychain-0.4.0.ebuild
new file mode 100644
index 000000000000..47807353f8a9
--- /dev/null
+++ b/dev-libs/qtkeychain/qtkeychain-0.4.0.ebuild
@@ -0,0 +1,70 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/qtkeychain/qtkeychain-0.4.0.ebuild,v 1.1 2014/09/19 17:55:22 johu Exp $
+
+EAPI=5
+
+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=()
+ if use qt4; then
+ MULTIBUILD_VARIANTS+=(qt4)
+ fi
+ if use qt5; then
+ MULTIBUILD_VARIANTS+=(qt5)
+ fi
+}
+
+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
+ cmake-utils_src_configure
+ }
+
+ multibuild_foreach_variant myconfigure
+}
+
+src_compile() {
+ multibuild_foreach_variant cmake-utils_src_compile
+}
+
+src_install() {
+ multibuild_foreach_variant cmake-utils_src_install
+}
+
+src_test() {
+ multibuild_foreach_variant cmake-utils_src_test
+}