1 |
commit: b52fba4b9c8ebf52d76d781df09c9f4326027e81 |
2 |
Author: Jimi Huotari <chiitoo <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon Feb 18 23:04:41 2019 +0000 |
4 |
Commit: Jimi Huotari <chiitoo <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Feb 18 23:10:54 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/proj/qt.git/commit/?id=b52fba4b |
7 |
|
8 |
dev-libs/libqtxdg: add 3.3.0 for testing |
9 |
|
10 |
Package-Manager: Portage-2.3.61, Repoman-2.3.12 |
11 |
Signed-off-by: Jimi Huotari <chiitoo <AT> gentoo.org> |
12 |
|
13 |
dev-libs/libqtxdg/Manifest | 1 + |
14 |
dev-libs/libqtxdg/libqtxdg-3.3.0.ebuild | 48 +++++++++++++++++++++++++++++++++ |
15 |
2 files changed, 49 insertions(+) |
16 |
|
17 |
diff --git a/dev-libs/libqtxdg/Manifest b/dev-libs/libqtxdg/Manifest |
18 |
new file mode 100644 |
19 |
index 00000000..cf9d7aa8 |
20 |
--- /dev/null |
21 |
+++ b/dev-libs/libqtxdg/Manifest |
22 |
@@ -0,0 +1 @@ |
23 |
+DIST libqtxdg-3.3.0.tar.xz 68412 BLAKE2B c78b1548883bdb77bd5de81c48487b08a6f1b0959e2d1e9b54a301935a76a4bcf60451379ea33dbd289dc4517282d335a0d616a0c4c31eb1e0e7ab3efcbe814f SHA512 e71e251870886aa71a1ce9372962cfa93c96ee91518f01758b4c015d36d1f4c95bf94eb8a54683bb2ab221c96514be4adb0387e18dcbaacde9d783fe9e6867d4 |
24 |
|
25 |
diff --git a/dev-libs/libqtxdg/libqtxdg-3.3.0.ebuild b/dev-libs/libqtxdg/libqtxdg-3.3.0.ebuild |
26 |
new file mode 100644 |
27 |
index 00000000..936e7f64 |
28 |
--- /dev/null |
29 |
+++ b/dev-libs/libqtxdg/libqtxdg-3.3.0.ebuild |
30 |
@@ -0,0 +1,48 @@ |
31 |
+# Copyright 1999-2019 Gentoo Authors |
32 |
+# Distributed under the terms of the GNU General Public License v2 |
33 |
+ |
34 |
+EAPI=7 |
35 |
+ |
36 |
+inherit cmake-utils virtualx |
37 |
+ |
38 |
+DESCRIPTION="A Qt implementation of XDG standards" |
39 |
+HOMEPAGE="https://lxqt.org/" |
40 |
+ |
41 |
+if [[ ${PV} == *9999 ]]; then |
42 |
+ inherit git-r3 |
43 |
+ EGIT_REPO_URI="https://github.com/lxqt/${PN}.git" |
44 |
+else |
45 |
+ SRC_URI="https://downloads.lxqt.org/downloads/${PN}/${PV}/${P}.tar.xz" |
46 |
+ KEYWORDS="~amd64 ~arm ~arm64 ~x86" |
47 |
+fi |
48 |
+ |
49 |
+LICENSE="LGPL-2.1+ Nokia-Qt-LGPL-Exception-1.1" |
50 |
+SLOT="0" |
51 |
+IUSE="test" |
52 |
+ |
53 |
+BDEPEND=" |
54 |
+ virtual/pkgconfig |
55 |
+ test? ( dev-qt/qttest:5 ) |
56 |
+" |
57 |
+RDEPEND=" |
58 |
+ dev-qt/qtcore:5 |
59 |
+ dev-qt/qtdbus:5 |
60 |
+ dev-qt/qtgui:5= |
61 |
+ dev-qt/qtsvg:5 |
62 |
+ dev-qt/qtwidgets:5 |
63 |
+ dev-qt/qtxml:5 |
64 |
+ x11-misc/xdg-utils |
65 |
+" |
66 |
+DEPEND="${RDEPEND}" |
67 |
+ |
68 |
+src_configure() { |
69 |
+ local mycmakeargs=( |
70 |
+ -DBUILD_TESTS=$(usex test) |
71 |
+ ) |
72 |
+ cmake-utils_src_configure |
73 |
+} |
74 |
+ |
75 |
+src_test() { |
76 |
+ # Tests don't work with C |
77 |
+ LC_ALL=en_US.utf8 virtx cmake-utils_src_test |
78 |
+} |