diff options
author | Johannes Huber <johu@gentoo.org> | 2016-05-23 21:31:01 +0200 |
---|---|---|
committer | Johannes Huber <johu@gentoo.org> | 2016-05-23 22:04:31 +0200 |
commit | be830541d314526824e7eb2da969fa4109db56ec (patch) | |
tree | f1c8c34066615f3b29fff9f3ccc1c764874b2ead /dev-libs/qtkeychain | |
parent | net-analyzer/openbsd-netcat: revbump to install as nc (blocking netcat), bug ... (diff) | |
download | gentoo-be830541d314526824e7eb2da969fa4109db56ec.tar.gz gentoo-be830541d314526824e7eb2da969fa4109db56ec.tar.bz2 gentoo-be830541d314526824e7eb2da969fa4109db56ec.zip |
dev-libs/qtkeychain: Version bump 0.7.0
Package-Manager: portage-2.3.0_rc1
Diffstat (limited to 'dev-libs/qtkeychain')
-rw-r--r-- | dev-libs/qtkeychain/Manifest | 1 | ||||
-rw-r--r-- | dev-libs/qtkeychain/qtkeychain-0.7.0.ebuild | 70 |
2 files changed, 71 insertions, 0 deletions
diff --git a/dev-libs/qtkeychain/Manifest b/dev-libs/qtkeychain/Manifest index 31009fd936cd..9a26bd878cc6 100644 --- a/dev-libs/qtkeychain/Manifest +++ b/dev-libs/qtkeychain/Manifest @@ -1,2 +1,3 @@ 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 +DIST qtkeychain-0.7.0.tar.gz 18913 SHA256 9f9afaae8e909391d7fc932bac95e38befaac5b2eb49f6623a8efec60a2e6a3a SHA512 b7e98fa6c7f6a8a5e4d79468366b30c859db4edf08984d685d2cd8d87c5ab60b5f4769b5af96c8d9ca306111e46a63e4d23be7c07d77d6c3492f2e81ae8cd88b WHIRLPOOL 325684232485cc4a24e41015ccdc6cdc0e2f0e5671b092e151489ab2e3bb241aa3fabdeb4ff6a0456c5732514c4079a548cb462d7151c7193c7c08664fa436f8 diff --git a/dev-libs/qtkeychain/qtkeychain-0.7.0.ebuild b/dev-libs/qtkeychain/qtkeychain-0.7.0.ebuild new file mode 100644 index 000000000000..f05c9b03d702 --- /dev/null +++ b/dev-libs/qtkeychain/qtkeychain-0.7.0.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 +} |