commit:     c3d5bba6e5b4d4c232bc586388dd134a038e23cb
Author:     Karol Herbst <git <AT> karolherbst <DOT> de>
AuthorDate: Wed Nov 19 23:10:58 2014 +0000
Commit:     Michael Palimaka <kensington <AT> gentoo <DOT> org>
CommitDate: Mon Dec  1 12:38:29 2014 +0000
URL:        http://sources.gentoo.org/gitweb/?p=proj/kde.git;a=commit;h=c3d5bba6

[net-libs/signon-oauth2] added

---
 net-libs/signon-oauth2/metadata.xml              |  5 +++
 net-libs/signon-oauth2/signon-oauth2-0.19.ebuild | 40 ++++++++++++++++++++++++
 profiles/package.mask/signond                    |  1 +
 3 files changed, 46 insertions(+)

diff --git a/net-libs/signon-oauth2/metadata.xml 
b/net-libs/signon-oauth2/metadata.xml
new file mode 100644
index 0000000..a23f444
--- /dev/null
+++ b/net-libs/signon-oauth2/metadata.xml
@@ -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.19.ebuild 
b/net-libs/signon-oauth2/signon-oauth2-0.19.ebuild
new file mode 100644
index 0000000..f3c31b3
--- /dev/null
+++ b/net-libs/signon-oauth2/signon-oauth2-0.19.ebuild
@@ -0,0 +1,40 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI=5
+
+inherit qmake-utils
+
+SRC_URI="https://accounts-sso.googlecode.com/files/${P}.tar.bz2";
+SLOT="0"
+DESCRIPTION="OAuth2 plugin for Signon daemon"
+HOMEPAGE="https://01.org/gsso/";
+
+KEYWORDS="~amd64 ~x86"
+LICENSE="LGPL-2.1"
+IUSE="test"
+
+DEPEND="
+       dev-qt/qtcore:5
+       dev-qt/qtnetwork:5
+       dev-qt/qttest:5
+       net-libs/signond
+"
+RDEPEND="${DEPEND}"
+
+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
+}

diff --git a/profiles/package.mask/signond b/profiles/package.mask/signond
index 0f04144..d94782a 100644
--- a/profiles/package.mask/signond
+++ b/profiles/package.mask/signond
@@ -1,2 +1,3 @@
 net-libs/accounts-qt
 net-libs/signond
+net-libs/signon-oauth2

Reply via email to