1 |
commit: 5fbda7885f91438b4eac8c79e537e71b31a81812 |
2 |
Author: Jimi Huotari <chiitoo <AT> gentoo <DOT> org> |
3 |
AuthorDate: Thu Nov 28 20:12:44 2019 +0000 |
4 |
Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Nov 30 19:17:39 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5fbda788 |
7 |
|
8 |
dev-libs/libqtxdg: add version 3.4.0 |
9 |
|
10 |
Closes: https://bugs.gentoo.org/701354 |
11 |
Package-Manager: Portage-2.3.79, Repoman-2.3.18 |
12 |
Signed-off-by: Jimi Huotari <chiitoo <AT> gentoo.org> |
13 |
Closes: https://github.com/gentoo/gentoo/pull/13788 |
14 |
Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org> |
15 |
|
16 |
dev-libs/libqtxdg/Manifest | 1 + |
17 |
dev-libs/libqtxdg/libqtxdg-3.4.0.ebuild | 52 +++++++++++++++++++++++++++++++++ |
18 |
2 files changed, 53 insertions(+) |
19 |
|
20 |
diff --git a/dev-libs/libqtxdg/Manifest b/dev-libs/libqtxdg/Manifest |
21 |
index ffdb11581d0..347faca726f 100644 |
22 |
--- a/dev-libs/libqtxdg/Manifest |
23 |
+++ b/dev-libs/libqtxdg/Manifest |
24 |
@@ -1 +1,2 @@ |
25 |
DIST libqtxdg-3.3.1.tar.xz 66004 BLAKE2B a676f22144ddbf67e02686fc25b381a911e5d0391e2f735c6d85914362433aad20ad0a3740ea7101d26b5b5692d0504c3798489333b1bf9585c3be88f6636beb SHA512 f0fdb95f20ee49becf770455a513178bb3ce63ee460e8bbaac8d40f50ae47a139ff518021c8fc19254bbd777b67bc7f2754302de7e2bb6cdf929bc559a1b51f3 |
26 |
+DIST libqtxdg-3.4.0.tar.xz 73060 BLAKE2B db23fe8bfb6e8b73a76b710f121464e3a8f5b60f1019705bb6a234eb4c0a9a5ad9469ab95eeac8f392ca10a86343f9d0b3040eae4131d1d421800b8054247d6d SHA512 9bd52ae3aa32f8c7de48e562ada1ff2413892c7ac58d5f7a06c0c512a4a6c03e9c5c44930f7781930c9c701894ea38a450a61a3c26afc047c76313ada0a890e6 |
27 |
|
28 |
diff --git a/dev-libs/libqtxdg/libqtxdg-3.4.0.ebuild b/dev-libs/libqtxdg/libqtxdg-3.4.0.ebuild |
29 |
new file mode 100644 |
30 |
index 00000000000..98438d2a03e |
31 |
--- /dev/null |
32 |
+++ b/dev-libs/libqtxdg/libqtxdg-3.4.0.ebuild |
33 |
@@ -0,0 +1,52 @@ |
34 |
+# Copyright 1999-2019 Gentoo Authors |
35 |
+# Distributed under the terms of the GNU General Public License v2 |
36 |
+ |
37 |
+EAPI=7 |
38 |
+ |
39 |
+inherit cmake-utils virtualx |
40 |
+ |
41 |
+DESCRIPTION="A Qt implementation of XDG standards" |
42 |
+HOMEPAGE="https://lxqt.org/" |
43 |
+ |
44 |
+if [[ ${PV} == *9999 ]]; then |
45 |
+ inherit git-r3 |
46 |
+ EGIT_REPO_URI="https://github.com/lxqt/${PN}.git" |
47 |
+else |
48 |
+ SRC_URI="https://downloads.lxqt.org/downloads/${PN}/${PV}/${P}.tar.xz" |
49 |
+ KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86" |
50 |
+fi |
51 |
+ |
52 |
+LICENSE="LGPL-2.1+ Nokia-Qt-LGPL-Exception-1.1" |
53 |
+SLOT="0" |
54 |
+IUSE="test" |
55 |
+ |
56 |
+RESTRICT="!test? ( test )" |
57 |
+ |
58 |
+BDEPEND=" |
59 |
+ >=dev-util/lxqt-build-tools-0.6.0 |
60 |
+ virtual/pkgconfig |
61 |
+" |
62 |
+RDEPEND=" |
63 |
+ dev-qt/qtcore:5 |
64 |
+ dev-qt/qtdbus:5 |
65 |
+ dev-qt/qtgui:5= |
66 |
+ dev-qt/qtsvg:5 |
67 |
+ dev-qt/qtwidgets:5 |
68 |
+ dev-qt/qtxml:5 |
69 |
+ x11-misc/xdg-utils |
70 |
+" |
71 |
+DEPEND="${RDEPEND} |
72 |
+ test? ( dev-qt/qttest:5 ) |
73 |
+" |
74 |
+ |
75 |
+src_configure() { |
76 |
+ local mycmakeargs=( |
77 |
+ -DBUILD_TESTS=$(usex test) |
78 |
+ ) |
79 |
+ cmake-utils_src_configure |
80 |
+} |
81 |
+ |
82 |
+src_test() { |
83 |
+ # Tests don't work with C |
84 |
+ LC_ALL=en_US.utf8 virtx cmake-utils_src_test |
85 |
+} |