public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] proj/qt:master commit in: app-crypt/qca/, dev-libs/qoauth/
@ 2014-01-19 21:11 Davide Pesavento
  0 siblings, 0 replies; only message in thread
From: Davide Pesavento @ 2014-01-19 21:11 UTC (permalink / raw
  To: gentoo-commits

commit:     cfed968e0afecdd1e686184919b4e9ecc32e9914
Author:     Uwe L. Korn <uwelk <AT> xhochy <DOT> com>
AuthorDate: Thu Aug 29 13:05:04 2013 +0000
Commit:     Davide Pesavento <pesa <AT> gentoo <DOT> org>
CommitDate: Fri Jan 17 11:34:44 2014 +0000
URL:        http://git.overlays.gentoo.org/gitweb/?p=proj/qt.git;a=commit;h=cfed968e

[app-crypt/qca] Add qt5 supporting 9999 ebuild

---
 app-crypt/qca/metadata.xml         | 16 ++++++++
 app-crypt/qca/qca-9999.ebuild      | 84 ++++++++++++++++++++++++++++++++++++++
 dev-libs/qoauth/qoauth-9999.ebuild |  2 +-
 3 files changed, 101 insertions(+), 1 deletion(-)

diff --git a/app-crypt/qca/metadata.xml b/app-crypt/qca/metadata.xml
new file mode 100644
index 0000000..379ecd4
--- /dev/null
+++ b/app-crypt/qca/metadata.xml
@@ -0,0 +1,16 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+	<herd></herd>
+	<use>
+		<flag name='botan'>Enable botan plugin</flag>
+		<flag name='sasl'>Enable cyrus-sasl plugin</flag>
+		<flag name='gcrypt'>Enable gcrypt plugin</flag>
+		<flag name='gpg'>Enable GnuPG plugin</flag>
+		<flag name='logger'>Enable logger plugin</flag>
+		<flag name='nss'>Enable NSS plugin</flag>
+		<flag name='openssl'>Enable OpenSSL plugin</flag>
+		<flag name='pkcs11'>Enable PKCS#11 plugin</flag>
+		<flag name='softstore'>Enable softstore plugin</flag>
+	</use>
+</pkgmetadata>

diff --git a/app-crypt/qca/qca-9999.ebuild b/app-crypt/qca/qca-9999.ebuild
new file mode 100644
index 0000000..60a8531
--- /dev/null
+++ b/app-crypt/qca/qca-9999.ebuild
@@ -0,0 +1,84 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI=5
+
+inherit cmake-utils git-r3
+
+DESCRIPTION="Qt Cryptographic Architecture (QCA)"
+HOMEPAGE="http://delta.affinix.com/qca/"
+EGIT_REPO_URI="git://anongit.kde.org/${PN}.git"
+
+LICENSE="LGPL-2.1"
+SLOT="2"
+KEYWORDS=""
+IUSE="botan debug doc examples gcrypt gpg logger nss openssl pkcs11 +qt4 qt5 sasl softstore test"
+
+RDEPEND="
+	botan? ( dev-libs/botan )
+	sasl? ( dev-libs/cyrus-sasl )
+	gcrypt? ( dev-libs/libgcrypt:= )
+	gpg? ( app-crypt/gnupg )
+	nss? ( dev-libs/nss )
+	openssl? ( dev-libs/openssl:0 )
+	pkcs11? (
+		dev-libs/openssl:0
+		>=dev-libs/pkcs11-helper-1.02
+	)
+	qt4? ( dev-qt/qtcore:4 )
+	qt5? (
+		dev-qt/qtcore:5
+		dev-qt/qtconcurrent:5
+		dev-qt/qtnetwork:5
+	)"
+DEPEND="${RDEPEND}
+	doc? ( app-doc/doxygen )
+	test? (
+		qt4? ( dev-qt/qttest:4 )
+		qt5? ( dev-qt/qttest:5 )
+	)
+	!<app-crypt/qca-1.0-r3:0"
+
+REQUIRED_USE="^^ ( qt4 qt5 )"
+
+DOCS=( README TODO )
+
+with_plugin_use() {
+	[[ -z $1 ]] && die "with_plugin_use <USE flag> [<flag name>]"
+	echo "-DWITH_${2:-$1}_PLUGIN=$(use $1 && echo yes || echo no)"
+}
+
+src_configure() {
+	local mycmakeargs=(
+		$(cmake-utils_use qt4 QT4_BUILD)
+		$(cmake-utils_use test BUILD_TESTS)
+		$(with_plugin_use botan)
+		$(with_plugin_use sasl cyrus-sasl)
+		$(with_plugin_use gcrypt)
+		$(with_plugin_use gpg gnupg)
+		$(with_plugin_use logger)
+		$(with_plugin_use nss)
+		$(with_plugin_use openssl ossl)
+		$(with_plugin_use pkcs11)
+		$(with_plugin_use softstore)
+	)
+
+	cmake-utils_src_configure
+}
+
+src_install() {
+	cmake-utils_src_install
+
+	if use doc; then
+		pushd "${BUILD_DIR}"
+		doxygen Doxyfile
+		dohtml apidocs/html/*
+		popd
+	fi
+
+	if use examples; then
+		insinto /usr/share/doc/${PF}/
+		doins -r "${S}"/examples
+	fi
+}

diff --git a/dev-libs/qoauth/qoauth-9999.ebuild b/dev-libs/qoauth/qoauth-9999.ebuild
index 11f3347..d6def63 100644
--- a/dev-libs/qoauth/qoauth-9999.ebuild
+++ b/dev-libs/qoauth/qoauth-9999.ebuild
@@ -21,7 +21,7 @@ DEPEND="${COMMON_DEPEND}
 	test? ( dev-qt/qttest:4 )
 "
 RDEPEND="${COMMON_DEPEND}
-	app-crypt/qca-ossl:2[debug?]
+	|| ( ~app-crypt/qca-9999:2[debug?,openssl,qt4] <app-crypt/qca-ossl-9999:2[debug?] )
 "
 
 DOCS="README CHANGELOG"


^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2014-01-19 21:11 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-01-19 21:11 [gentoo-commits] proj/qt:master commit in: app-crypt/qca/, dev-libs/qoauth/ Davide Pesavento

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox