1 |
commit: 847e97b0226aade68551758ed485fbdb01bd1135 |
2 |
Author: Uwe L. Korn <uwelk <AT> xhochy <DOT> com> |
3 |
AuthorDate: Sat Sep 28 13:24:47 2013 +0000 |
4 |
Commit: Davide Pesavento <pesa <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Sep 28 13:24:47 2013 +0000 |
6 |
URL: http://git.overlays.gentoo.org/gitweb/?p=proj/qt.git;a=commit;h=847e97b0 |
7 |
|
8 |
[dev-libs/libsystemd-qt] Add 9999 ebuild |
9 |
|
10 |
Package-Manager: portage-2.2.1 |
11 |
|
12 |
--- |
13 |
dev-libs/libsystemd-qt/libsystemd-qt-9999.ebuild | 55 ++++++++++++++++++++++++ |
14 |
1 file changed, 55 insertions(+) |
15 |
|
16 |
diff --git a/dev-libs/libsystemd-qt/libsystemd-qt-9999.ebuild b/dev-libs/libsystemd-qt/libsystemd-qt-9999.ebuild |
17 |
new file mode 100644 |
18 |
index 0000000..eea4d0e |
19 |
--- /dev/null |
20 |
+++ b/dev-libs/libsystemd-qt/libsystemd-qt-9999.ebuild |
21 |
@@ -0,0 +1,55 @@ |
22 |
+# Copyright 1999-2013 Gentoo Foundation |
23 |
+# Distributed under the terms of the GNU General Public License v2 |
24 |
+# $Header: $ |
25 |
+ |
26 |
+EAPI=5 |
27 |
+ |
28 |
+if [ ${PV} == "9999" ] ; then |
29 |
+ EGIT_ECLASS="git-2" |
30 |
+ EGIT_REPO_URI="https://github.com/scarpin0/${PN}.git git://github.com/scarpin0/${PN}.git" |
31 |
+ SYSTEMD_VERSION=">=sys-apps/systemd-207" |
32 |
+ KEYWORDS="" |
33 |
+else |
34 |
+ SYSTEMD_VERSION="~sys-apps/systemd-${PV}" |
35 |
+ SRC_URI="https://github.com/scarpin0/libsystemd-qt/archive/${PV}.zip -> ${P}.zip" |
36 |
+ KEYWORDS="~amd64" |
37 |
+fi |
38 |
+ |
39 |
+inherit cmake-utils ${EGIT_ECLASS} |
40 |
+ |
41 |
+DESCRIPTION="Qt wrapper for systemd API" |
42 |
+HOMEPAGE="https://github.com/scarpin0/libsystemd-qt" |
43 |
+ |
44 |
+LICENSE="LGPL-2.1" |
45 |
+SLOT="0" |
46 |
+IUSE="debug qml qt4 +qt5 test" |
47 |
+ |
48 |
+RDEPEND=" |
49 |
+ ${SYSTEMD_VERSION} |
50 |
+ qt4? ( dev-qt/qtcore:4 ) |
51 |
+ qt5? ( |
52 |
+ dev-qt/qtcore:5 |
53 |
+ qml? ( dev-qt/qtdeclarative:5 ) |
54 |
+ )" |
55 |
+DEPEND="${RDEPEND} |
56 |
+ test? ( |
57 |
+ qt4? ( dev-qt/qttest:4 ) |
58 |
+ qt5? ( dev-qt/qttest:5 ) |
59 |
+ )" |
60 |
+ |
61 |
+REQUIRED_USE=" |
62 |
+ ^^ ( qt4 qt5 ) |
63 |
+ qml? ( qt5 ) |
64 |
+" |
65 |
+ |
66 |
+DOCS=( README.md ) |
67 |
+ |
68 |
+src_configure() { |
69 |
+ local mycmakeargs=( |
70 |
+ $(cmake-utils_use qt4 BUILD_WITH_QT4) |
71 |
+ $(cmake-utils_use test BUILD_QTSYSTEMD_TESTS) |
72 |
+ $(cmake-utils_use qml BUILD_QTSYSTEMD_QMLPLUGIN) |
73 |
+ ) |
74 |
+ |
75 |
+ cmake-utils_src_configure |
76 |
+} |