1 |
commit: edc6502c0c953bd5f2d1a0bf770ee19ec08f8abe |
2 |
Author: Michael Palimaka <kensington <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri Jan 26 00:10:14 2018 +0000 |
4 |
Commit: Michael Palimaka <kensington <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Jan 26 00:10:28 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=edc6502c |
7 |
|
8 |
x11-misc/kaqaz: add missing USE dependency |
9 |
|
10 |
Also, port to EAPI 6. |
11 |
|
12 |
Closes: https://bugs.gentoo.org/645722 |
13 |
Package-Manager: Portage-2.3.19, Repoman-2.3.6 |
14 |
|
15 |
x11-misc/kaqaz/files/kaqaz-1.2.0-qt55.patch | 4 ++-- |
16 |
.../kaqaz-1.2.0-unbundle-qtsingleapplication.patch | 8 ++++---- |
17 |
...kaqaz-1.2.0-r2.ebuild => kaqaz-1.2.0-r3.ebuild} | 22 +++++++++++++--------- |
18 |
3 files changed, 19 insertions(+), 15 deletions(-) |
19 |
|
20 |
diff --git a/x11-misc/kaqaz/files/kaqaz-1.2.0-qt55.patch b/x11-misc/kaqaz/files/kaqaz-1.2.0-qt55.patch |
21 |
index f7e13f6b5d4..8d9adc40022 100644 |
22 |
--- a/x11-misc/kaqaz/files/kaqaz-1.2.0-qt55.patch |
23 |
+++ b/x11-misc/kaqaz/files/kaqaz-1.2.0-qt55.patch |
24 |
@@ -2,8 +2,8 @@ Fix build with Qt 5.5. |
25 |
|
26 |
Gentoo-bug: 563678 |
27 |
|
28 |
---- databasedatatypes.h |
29 |
-+++ databasedatatypes.h |
30 |
+--- a/databasedatatypes.h |
31 |
++++ b/databasedatatypes.h |
32 |
@@ -23,6 +23,7 @@ |
33 |
#include <QColor> |
34 |
#include <QStringList> |
35 |
|
36 |
diff --git a/x11-misc/kaqaz/files/kaqaz-1.2.0-unbundle-qtsingleapplication.patch b/x11-misc/kaqaz/files/kaqaz-1.2.0-unbundle-qtsingleapplication.patch |
37 |
index 01689167ecd..31bcc61e11d 100644 |
38 |
--- a/x11-misc/kaqaz/files/kaqaz-1.2.0-unbundle-qtsingleapplication.patch |
39 |
+++ b/x11-misc/kaqaz/files/kaqaz-1.2.0-unbundle-qtsingleapplication.patch |
40 |
@@ -1,7 +1,7 @@ |
41 |
Use system copy of qtsingleapplication. |
42 |
|
43 |
---- sialantools/sialantools.pri |
44 |
-+++ sialantools/sialantools.pri |
45 |
+--- a/sialantools/sialantools.pri |
46 |
++++ b/sialantools/sialantools.pri |
47 |
@@ -1,4 +1,5 @@ |
48 |
QT += qml quick |
49 |
+CONFIG += qtsingleapplication |
50 |
@@ -30,8 +30,8 @@ Use system copy of qtsingleapplication. |
51 |
} |
52 |
} |
53 |
|
54 |
---- sialantools/sialanapplication.h |
55 |
-+++ sialantools/sialanapplication.h |
56 |
+--- a/sialantools/sialanapplication.h |
57 |
++++ b/sialantools/sialanapplication.h |
58 |
@@ -22,7 +22,7 @@ |
59 |
#include "sialan_macros.h" |
60 |
|
61 |
|
62 |
diff --git a/x11-misc/kaqaz/kaqaz-1.2.0-r2.ebuild b/x11-misc/kaqaz/kaqaz-1.2.0-r3.ebuild |
63 |
similarity index 78% |
64 |
rename from x11-misc/kaqaz/kaqaz-1.2.0-r2.ebuild |
65 |
rename to x11-misc/kaqaz/kaqaz-1.2.0-r3.ebuild |
66 |
index 97b38180dce..83bec081ae5 100644 |
67 |
--- a/x11-misc/kaqaz/kaqaz-1.2.0-r2.ebuild |
68 |
+++ b/x11-misc/kaqaz/kaqaz-1.2.0-r3.ebuild |
69 |
@@ -1,15 +1,15 @@ |
70 |
-# Copyright 1999-2017 Gentoo Foundation |
71 |
+# Copyright 1999-2018 Gentoo Foundation |
72 |
# Distributed under the terms of the GNU General Public License v2 |
73 |
|
74 |
-EAPI=5 |
75 |
-inherit eutils qmake-utils |
76 |
+EAPI=6 |
77 |
+ |
78 |
+inherit qmake-utils |
79 |
|
80 |
DESCRIPTION="Modern note manager" |
81 |
HOMEPAGE="https://github.com/sialan-labs/kaqaz/" |
82 |
if [[ ${PV} = *9999* ]]; then |
83 |
inherit git-r3 |
84 |
EGIT_REPO_URI="https://github.com/sialan-labs/kaqaz.git" |
85 |
- KEYWORDS="" |
86 |
else |
87 |
SRC_URI="https://github.com/sialan-labs/kaqaz/archive/${PV}.tar.gz -> ${P}.tar.gz" |
88 |
KEYWORDS="~amd64 ~x86" |
89 |
@@ -19,12 +19,13 @@ LICENSE="GPL-3+" |
90 |
SLOT="0" |
91 |
IUSE="" |
92 |
|
93 |
-RDEPEND="dev-qt/qtcore:5 |
94 |
+RDEPEND=" |
95 |
+ dev-qt/qtcore:5 |
96 |
dev-qt/qtdeclarative:5 |
97 |
dev-qt/qtgraphicaleffects:5 |
98 |
dev-qt/qtgui:5 |
99 |
dev-qt/qtmultimedia:5[qml] |
100 |
- dev-qt/qtnetwork:5 |
101 |
+ dev-qt/qtnetwork:5[ssl] |
102 |
dev-qt/qtpositioning:5 |
103 |
dev-qt/qtsingleapplication[qt5,X] |
104 |
dev-qt/qtsensors:5 |
105 |
@@ -35,10 +36,13 @@ RDEPEND="dev-qt/qtcore:5 |
106 |
" |
107 |
DEPEND="${RDEPEND}" |
108 |
|
109 |
-src_prepare() { |
110 |
- epatch "${FILESDIR}/${P}-qt55.patch" |
111 |
- epatch "${FILESDIR}/${P}-unbundle-qtsingleapplication.patch" |
112 |
+PATCHES=( |
113 |
+ "${FILESDIR}/${P}-qt55.patch" |
114 |
+ "${FILESDIR}/${P}-unbundle-qtsingleapplication.patch" |
115 |
+) |
116 |
|
117 |
+src_prepare() { |
118 |
+ default |
119 |
rm -r sialantools/qtsingleapplication || die |
120 |
} |