1 |
commit: 952a26789ea75514dadaab00755fe8d9dab2276d |
2 |
Author: 0xd34df00d <0xd34df00d <AT> gmail <DOT> com> |
3 |
AuthorDate: Sun Feb 12 01:30:59 2017 +0000 |
4 |
Commit: David Seifert <soap <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Feb 13 15:13:35 2017 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=952a2678 |
7 |
|
8 |
dev-libs/kqoauth: migrate to Qt5 |
9 |
|
10 |
Closes: https://github.com/gentoo/gentoo/pull/3925 |
11 |
|
12 |
dev-libs/kqoauth/kqoauth-0.98-r2.ebuild | 47 +++++++++++++++++++++++++++++++++ |
13 |
dev-libs/kqoauth/metadata.xml | 19 ++++++------- |
14 |
2 files changed, 55 insertions(+), 11 deletions(-) |
15 |
|
16 |
diff --git a/dev-libs/kqoauth/kqoauth-0.98-r2.ebuild b/dev-libs/kqoauth/kqoauth-0.98-r2.ebuild |
17 |
new file mode 100644 |
18 |
index 0000000000..336a00211b |
19 |
--- /dev/null |
20 |
+++ b/dev-libs/kqoauth/kqoauth-0.98-r2.ebuild |
21 |
@@ -0,0 +1,47 @@ |
22 |
+# Copyright 1999-2017 Gentoo Foundation |
23 |
+# Distributed under the terms of the GNU General Public License v2 |
24 |
+# $Id$ |
25 |
+ |
26 |
+EAPI=6 |
27 |
+ |
28 |
+inherit qmake-utils |
29 |
+ |
30 |
+DESCRIPTION="Library for Qt that implements the OAuth 1.0 authentication specification" |
31 |
+HOMEPAGE="https://github.com/kypeli/kQOAuth" |
32 |
+SRC_URI="https://github.com/kypeli/kQOAuth/archive/${PV}.tar.gz -> ${P}.tar.gz" |
33 |
+ |
34 |
+LICENSE="LGPL-2.1" |
35 |
+SLOT="0" |
36 |
+KEYWORDS="~amd64 ~x86" |
37 |
+IUSE="" |
38 |
+ |
39 |
+DEPEND=" |
40 |
+ dev-qt/qtcore:5 |
41 |
+ dev-qt/qtgui:5 |
42 |
+ dev-qt/qtnetwork:5 |
43 |
+ dev-qt/qtxml:5 |
44 |
+" |
45 |
+RDEPEND="${DEPEND}" |
46 |
+ |
47 |
+S="${WORKDIR}/kQOAuth-${PV}" |
48 |
+ |
49 |
+src_prepare() { |
50 |
+ default |
51 |
+ |
52 |
+ # prevent tests from beeing built at src_compile |
53 |
+ sed -i -e '/SUBDIRS/s/ tests//' ${PN}.pro || die "sed on ${PN}.pro failed" |
54 |
+ # respect libdir |
55 |
+ sed -e 's:{INSTALL_PREFIX}/lib:[QT_INSTALL_LIBS]:g' -i src/src.pro || die "sed on src.pro failed" |
56 |
+ |
57 |
+ sed \ |
58 |
+ -e "s/TARGET = kqoauth/TARGET = kqoauth-qt5/g" \ |
59 |
+ -i src/src.pro || die |
60 |
+} |
61 |
+ |
62 |
+src_configure() { |
63 |
+ eqmake5 |
64 |
+} |
65 |
+ |
66 |
+src_install() { |
67 |
+ emake INSTALL_ROOT="${D}" install |
68 |
+} |
69 |
|
70 |
diff --git a/dev-libs/kqoauth/metadata.xml b/dev-libs/kqoauth/metadata.xml |
71 |
index 709c932e2d..7464fb3de6 100644 |
72 |
--- a/dev-libs/kqoauth/metadata.xml |
73 |
+++ b/dev-libs/kqoauth/metadata.xml |
74 |
@@ -1,15 +1,12 @@ |
75 |
<?xml version="1.0" encoding="UTF-8"?> |
76 |
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> |
77 |
<pkgmetadata> |
78 |
- <maintainer type="person"> |
79 |
- <email>maksbotan@g.o</email> |
80 |
- <name>Maxim Koltsov</name> |
81 |
- </maintainer> |
82 |
- <maintainer type="project"> |
83 |
- <email>leechcraft@g.o</email> |
84 |
- <name>LeechCraft</name> |
85 |
- </maintainer> |
86 |
- <upstream> |
87 |
- <remote-id type="github">kypeli/kQOAuth</remote-id> |
88 |
- </upstream> |
89 |
+ <maintainer type="person"> |
90 |
+ <email>0xd34df00d@×××××.com</email> |
91 |
+ <name>Georg Rudoy</name> |
92 |
+ </maintainer> |
93 |
+ <maintainer type="project"> |
94 |
+ <email>proxy-maint@g.o</email> |
95 |
+ <description>Proxy Maintainers</description> |
96 |
+ </maintainer> |
97 |
</pkgmetadata> |