1 |
commit: 0e7be806735e476597f1efad3e6a0776d05b863d |
2 |
Author: Johannes Huber <johu <AT> gentoo <DOT> org> |
3 |
AuthorDate: Thu Aug 27 12:09:51 2015 +0000 |
4 |
Commit: Johannes Huber <johu <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Aug 27 12:10:02 2015 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0e7be806 |
7 |
|
8 |
net-libs/signon-oauth2: New package |
9 |
|
10 |
Required for KDEs Telepathy client based on KF5. Import from kde overlay. |
11 |
Initial ebuild by Karol Herbst <git <AT> karolherbst.de>. |
12 |
|
13 |
Package-Manager: portage-2.2.20.1 |
14 |
|
15 |
net-libs/signon-oauth2/Manifest | 1 + |
16 |
net-libs/signon-oauth2/metadata.xml | 5 +++ |
17 |
net-libs/signon-oauth2/signon-oauth2-0.21.ebuild | 41 ++++++++++++++++++++++++ |
18 |
3 files changed, 47 insertions(+) |
19 |
|
20 |
diff --git a/net-libs/signon-oauth2/Manifest b/net-libs/signon-oauth2/Manifest |
21 |
new file mode 100644 |
22 |
index 0000000..51b7f4f |
23 |
--- /dev/null |
24 |
+++ b/net-libs/signon-oauth2/Manifest |
25 |
@@ -0,0 +1 @@ |
26 |
+DIST signon-oauth2-0.21.tar.bz2 37819 SHA256 d09b74d9b298c1f2d5229b15d2aa1761a7e8fe0fb26d16626dd28faba3e314a3 SHA512 b0f97353e87c08420c3132f3357522b526a7c48df807ab833e05297ebfc86e0e8f25d4d3aa94e8ebc4aa1d9bc77856d63c43e5b5e9f3e63628f7710b9a056fd0 WHIRLPOOL 9ed35ca0f1a457665f6991d5d8d550e07f0cc0db428b5c8dd4f1a7f0056989fe9961ab657e54de531c3c7f185c987c6531c008c012d3de38f15780fdfdfb0651 |
27 |
|
28 |
diff --git a/net-libs/signon-oauth2/metadata.xml b/net-libs/signon-oauth2/metadata.xml |
29 |
new file mode 100644 |
30 |
index 0000000..a23f444 |
31 |
--- /dev/null |
32 |
+++ b/net-libs/signon-oauth2/metadata.xml |
33 |
@@ -0,0 +1,5 @@ |
34 |
+<?xml version="1.0" encoding="UTF-8"?> |
35 |
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> |
36 |
+<pkgmetadata> |
37 |
+ <herd>kde</herd> |
38 |
+</pkgmetadata> |
39 |
|
40 |
diff --git a/net-libs/signon-oauth2/signon-oauth2-0.21.ebuild b/net-libs/signon-oauth2/signon-oauth2-0.21.ebuild |
41 |
new file mode 100644 |
42 |
index 0000000..2c5b49b |
43 |
--- /dev/null |
44 |
+++ b/net-libs/signon-oauth2/signon-oauth2-0.21.ebuild |
45 |
@@ -0,0 +1,41 @@ |
46 |
+# Copyright 1999-2015 Gentoo Foundation |
47 |
+# Distributed under the terms of the GNU General Public License v2 |
48 |
+# $Id$ |
49 |
+ |
50 |
+EAPI=5 |
51 |
+ |
52 |
+inherit qmake-utils |
53 |
+ |
54 |
+DESCRIPTION="OAuth2 plugin for Signon daemon" |
55 |
+HOMEPAGE="https://01.org/gsso/" |
56 |
+SRC_URI="http://dev.gentoo.org/~kensington/distfiles/${P}.tar.bz2" |
57 |
+ |
58 |
+LICENSE="LGPL-2.1" |
59 |
+SLOT="0" |
60 |
+KEYWORDS="~amd64 ~x86" |
61 |
+IUSE="test" |
62 |
+ |
63 |
+RDEPEND=" |
64 |
+ dev-qt/qtcore:5 |
65 |
+ dev-qt/qtnetwork:5 |
66 |
+ net-libs/signond |
67 |
+" |
68 |
+DEPEND="${RDEPEND} |
69 |
+ test? ( dev-qt/qttest:5 ) |
70 |
+" |
71 |
+ |
72 |
+src_prepare() { |
73 |
+ if use !test; then |
74 |
+ sed -i -e '/^SUBDIRS/s/tests//' signon-oauth2.pro || die "couldn't disable tests" |
75 |
+ else |
76 |
+ sed -i -e '/^INSTALLS.*/,+1d' tests/tests.pro || die "couldn't remove tests from install target" |
77 |
+ fi |
78 |
+} |
79 |
+ |
80 |
+src_configure() { |
81 |
+ eqmake5 |
82 |
+} |
83 |
+ |
84 |
+src_install() { |
85 |
+ emake INSTALL_ROOT="${D}" install |
86 |
+} |