net-libs/signon-oauth2: New package
authorJohannes Huber <johu@gentoo.org>
Thu, 27 Aug 2015 12:09:51 +0000 (14:09 +0200)
committerJohannes Huber <johu@gentoo.org>
Thu, 27 Aug 2015 12:10:02 +0000 (14:10 +0200)
Required for KDEs Telepathy client based on KF5. Import from kde overlay.
Initial ebuild by Karol Herbst <git@karolherbst.de>.

Package-Manager: portage-2.2.20.1

net-libs/signon-oauth2/Manifest [new file with mode: 0644]
net-libs/signon-oauth2/metadata.xml [new file with mode: 0644]
net-libs/signon-oauth2/signon-oauth2-0.21.ebuild [new file with mode: 0644]

diff --git a/net-libs/signon-oauth2/Manifest b/net-libs/signon-oauth2/Manifest
new file mode 100644 (file)
index 0000000..51b7f4f
--- /dev/null
@@ -0,0 +1 @@
+DIST signon-oauth2-0.21.tar.bz2 37819 SHA256 d09b74d9b298c1f2d5229b15d2aa1761a7e8fe0fb26d16626dd28faba3e314a3 SHA512 b0f97353e87c08420c3132f3357522b526a7c48df807ab833e05297ebfc86e0e8f25d4d3aa94e8ebc4aa1d9bc77856d63c43e5b5e9f3e63628f7710b9a056fd0 WHIRLPOOL 9ed35ca0f1a457665f6991d5d8d550e07f0cc0db428b5c8dd4f1a7f0056989fe9961ab657e54de531c3c7f185c987c6531c008c012d3de38f15780fdfdfb0651
diff --git a/net-libs/signon-oauth2/metadata.xml b/net-libs/signon-oauth2/metadata.xml
new file mode 100644 (file)
index 0000000..a23f444
--- /dev/null
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+       <herd>kde</herd>
+</pkgmetadata>
diff --git a/net-libs/signon-oauth2/signon-oauth2-0.21.ebuild b/net-libs/signon-oauth2/signon-oauth2-0.21.ebuild
new file mode 100644 (file)
index 0000000..2c5b49b
--- /dev/null
@@ -0,0 +1,41 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+inherit qmake-utils
+
+DESCRIPTION="OAuth2 plugin for Signon daemon"
+HOMEPAGE="https://01.org/gsso/"
+SRC_URI="http://dev.gentoo.org/~kensington/distfiles/${P}.tar.bz2"
+
+LICENSE="LGPL-2.1"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="test"
+
+RDEPEND="
+       dev-qt/qtcore:5
+       dev-qt/qtnetwork:5
+       net-libs/signond
+"
+DEPEND="${RDEPEND}
+       test? ( dev-qt/qttest:5 )
+"
+
+src_prepare() {
+       if use !test; then
+               sed -i -e '/^SUBDIRS/s/tests//' signon-oauth2.pro || die "couldn't disable tests"
+       else
+               sed -i -e '/^INSTALLS.*/,+1d' tests/tests.pro || die "couldn't remove tests from install target"
+       fi
+}
+
+src_configure() {
+       eqmake5
+}
+
+src_install() {
+       emake INSTALL_ROOT="${D}" install
+}