summaryrefslogtreecommitdiff
path: root/dev-libs/qtkeychain
diff options
context:
space:
mode:
Diffstat (limited to 'dev-libs/qtkeychain')
-rw-r--r--dev-libs/qtkeychain/Manifest7
-rw-r--r--dev-libs/qtkeychain/metadata.xml11
-rw-r--r--dev-libs/qtkeychain/qtkeychain-0.7.0.ebuild69
-rw-r--r--dev-libs/qtkeychain/qtkeychain-0.8.0.ebuild71
4 files changed, 158 insertions, 0 deletions
diff --git a/dev-libs/qtkeychain/Manifest b/dev-libs/qtkeychain/Manifest
new file mode 100644
index 000000000000..6f6840a64d4b
--- /dev/null
+++ b/dev-libs/qtkeychain/Manifest
@@ -0,0 +1,7 @@
+DIST qtkeychain-0.7.0.tar.gz 18913 SHA256 9f9afaae8e909391d7fc932bac95e38befaac5b2eb49f6623a8efec60a2e6a3a SHA512 b7e98fa6c7f6a8a5e4d79468366b30c859db4edf08984d685d2cd8d87c5ab60b5f4769b5af96c8d9ca306111e46a63e4d23be7c07d77d6c3492f2e81ae8cd88b WHIRLPOOL 325684232485cc4a24e41015ccdc6cdc0e2f0e5671b092e151489ab2e3bb241aa3fabdeb4ff6a0456c5732514c4079a548cb462d7151c7193c7c08664fa436f8
+DIST qtkeychain-0.8.0.tar.gz 34686 SHA256 b492f603197538bc04b2714105b1ab2b327a9a98d400d53d9a7cb70edd2db12f SHA512 be83ebc665a7916e96a2fd9990c72cd29373196591cf557fa6f9691f332ab67cc5475cab240c3e50e76cb37e0b7f189f0a1f2c3a70a6f655918e1d2465ed2f33 WHIRLPOOL ce98b3b4204991bf5dd73aa7ce70dea7df9994869839ad11f73b789102e6e9e75f38323c224af1134066126f927c6ebe31798168976ea0f44a85103367a8f354
+EBUILD qtkeychain-0.7.0.ebuild 1277 SHA256 291f64b1bbe735d6178104b59248c3cea48584f8edc3a90282041f045b03cbbe SHA512 ec42535365a93f8ac25a7d93a09aded55b9c74b77bb9e7b95a940fb9faa75717243a40954bf508b36b53425cba4fd04aa0632bd9e8426fe271aa5343ee37acd5 WHIRLPOOL 522593c69e8855a8114710193fea6eae2d8071a672986e5e8f3f3a2ce5105553a02e4dda8638c7e7dfec0fc50a22035071efbdd5eae1515c5c034efa0b6ec907
+EBUILD qtkeychain-0.8.0.ebuild 1386 SHA256 8176d2ff28869e1bcfac6180d6265627cb49535b998f63ab3b1fa702843a0a49 SHA512 87c0e4dda269cec58187d825ff9f0e1ffbccd9b029cb3c0e088d86bc5b48140c73539ef92774907f49009edace9f0c2a0769608bbc7c183a85605d1ddd147bb7 WHIRLPOOL dd22cf2b5e27d7a5c21903ed59cde7da51ac1dde6bb6ce5c470cce8e92120cf46a29c69dd4fa2ad92d31b310a95c3ca805e2812b23291cdd70401b5d1caddaae
+MISC ChangeLog 3947 SHA256 3bd30f55c27d3bc0492cc276877da7784e7a1d881dd5f6d067d04396891e73d8 SHA512 9c63644c2e0e82432ea3eecfebc1be89e61cdf22230dbab24502f2fe80addaf9e0cf2db0c88c45e915070073606e82d001a97c9b62641ccf3e3b7e3085cdf514 WHIRLPOOL a284f7b6927491573a5f7d7bad0eafadf9c30ffc89c52173b9644f6a279733afe7e4763fb11b7b65bc4966519789b1dc5ee369352a08343bb4bc2c3afde7ca94
+MISC ChangeLog-2015 1279 SHA256 de37540ff4bf4bb957a881223c1d4259709713ac797e762b383ab954938a6634 SHA512 f535f020c3675db902a0723f831a6598f87cc337cf18e42e91700970271720851f287fbf5e3ded1438aae5c91018ac2c60e803d5239d675077d345c1cc14cd27 WHIRLPOOL f2e3613f39e9e3689477e8732ef5e66eedbff21f0939344a6c2b0391bd3241a8499b1f8d23be259f453c28d4fc2aa945e03b6636924106a61dcdca8beec8e46c
+MISC metadata.xml 335 SHA256 56180388a2c83a48e6c364f399ed54079f2e0c2ce4d94a0dc4a379f30ae93142 SHA512 72e060f41c90aa2a177af6c32b35109f0489fd277f5864cae4f6be7e2577f0920ba75f811081b058a210d54415dfc7e8aed35ca233748e35dcd1233b59d47342 WHIRLPOOL ebcf302c359f4de9cdee4fb63891e08a714237d674dde2b0b75002880ae63b322f86fc42acad23e3a590beb1f0729536737aba31edd687386c22aa602c57de02
diff --git a/dev-libs/qtkeychain/metadata.xml b/dev-libs/qtkeychain/metadata.xml
new file mode 100644
index 000000000000..02aa7a57ebd5
--- /dev/null
+++ b/dev-libs/qtkeychain/metadata.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>johu@gentoo.org</email>
+ <name>Johannes Huber</name>
+ </maintainer>
+ <upstream>
+ <remote-id type="github">frankosterfeld/qtkeychain</remote-id>
+ </upstream>
+</pkgmetadata>
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..3ef9895a0449
--- /dev/null
+++ b/dev-libs/qtkeychain/qtkeychain-0.7.0.ebuild
@@ -0,0 +1,69 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+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/1"
+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
+}
diff --git a/dev-libs/qtkeychain/qtkeychain-0.8.0.ebuild b/dev-libs/qtkeychain/qtkeychain-0.8.0.ebuild
new file mode 100644
index 000000000000..8763ecfe4d8f
--- /dev/null
+++ b/dev-libs/qtkeychain/qtkeychain-0.8.0.ebuild
@@ -0,0 +1,71 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+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/1"
+KEYWORDS="~amd64 ~x86"
+IUSE="gnome-keyring 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}
+ gnome-keyring? ( gnome-base/libgnome-keyring )
+ 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
+ -DLIBSECRET_SUPPORT=$(usex gnome-keyring)
+ )
+
+ 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
+}