1 |
commit: 22e0020535283854d9b59bc4096334e4fb49bf7e |
2 |
Author: Jimi Huotari <chiitoo <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri Nov 3 17:59:42 2017 +0000 |
4 |
Commit: Jimi Huotari <chiitoo <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Nov 3 21:11:22 2017 +0000 |
6 |
URL: https://gitweb.gentoo.org/proj/qt.git/commit/?id=22e00205 |
7 |
|
8 |
dev-libs/libqtxdg: add live ebuild |
9 |
|
10 |
To be used with LXQt. |
11 |
|
12 |
dev-libs/libqtxdg/libqtxdg-9999.ebuild | 47 ++++++++++++++++++++++++++++++++++ |
13 |
dev-libs/libqtxdg/metadata.xml | 12 +++++++++ |
14 |
2 files changed, 59 insertions(+) |
15 |
|
16 |
diff --git a/dev-libs/libqtxdg/libqtxdg-9999.ebuild b/dev-libs/libqtxdg/libqtxdg-9999.ebuild |
17 |
new file mode 100644 |
18 |
index 00000000..d4790dcd |
19 |
--- /dev/null |
20 |
+++ b/dev-libs/libqtxdg/libqtxdg-9999.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 |
+ |
25 |
+EAPI=6 |
26 |
+inherit cmake-utils virtualx |
27 |
+ |
28 |
+DESCRIPTION="A Qt implementation of XDG standards" |
29 |
+HOMEPAGE="http://lxqt.org/" |
30 |
+ |
31 |
+if [[ ${PV} == *9999* ]]; then |
32 |
+ inherit git-r3 |
33 |
+ EGIT_REPO_URI="https://github.com/lxde/${PN}.git" |
34 |
+else |
35 |
+ SRC_URI="https://github.com/lxde/${PN}/releases/download/${PV}/${P}.tar.xz" |
36 |
+ KEYWORDS="~amd64 ~arm ~arm64 ~x86" |
37 |
+fi |
38 |
+ |
39 |
+LICENSE="LGPL-2.1" |
40 |
+SLOT="0" |
41 |
+IUSE="test" |
42 |
+ |
43 |
+CDEPEND=" |
44 |
+ dev-qt/qtcore:5 |
45 |
+ dev-qt/qtdbus:5 |
46 |
+ dev-qt/qtgui:5 |
47 |
+ dev-qt/qtsvg:5 |
48 |
+ dev-qt/qtwidgets:5 |
49 |
+ dev-qt/qtxml:5 |
50 |
+" |
51 |
+DEPEND="${CDEPEND} |
52 |
+ virtual/pkgconfig |
53 |
+ test? ( dev-qt/qttest:5 ) |
54 |
+" |
55 |
+RDEPEND="${CDEPEND} |
56 |
+ x11-misc/xdg-utils |
57 |
+" |
58 |
+ |
59 |
+src_configure() { |
60 |
+ local mycmakeargs=( |
61 |
+ -DBUILD_TESTS=$(usex test) |
62 |
+ ) |
63 |
+ cmake-utils_src_configure |
64 |
+} |
65 |
+ |
66 |
+src_test() { |
67 |
+ VIRTUALX_COMMAND="cmake-utils_src_test" virtualmake |
68 |
+} |
69 |
|
70 |
diff --git a/dev-libs/libqtxdg/metadata.xml b/dev-libs/libqtxdg/metadata.xml |
71 |
new file mode 100644 |
72 |
index 00000000..77812fec |
73 |
--- /dev/null |
74 |
+++ b/dev-libs/libqtxdg/metadata.xml |
75 |
@@ -0,0 +1,12 @@ |
76 |
+<?xml version="1.0" encoding="UTF-8"?> |
77 |
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> |
78 |
+<pkgmetadata> |
79 |
+ <maintainer type="project"> |
80 |
+ <email>lxqt@g.o</email> |
81 |
+ <name>LXQt</name> |
82 |
+ </maintainer> |
83 |
+<maintainer type="project"> |
84 |
+ <email>qt@g.o</email> |
85 |
+ <name>Gentoo Qt Project</name> |
86 |
+ </maintainer> |
87 |
+</pkgmetadata> |