1 |
commit: 801a0bd95271ec8dd369ba92593d83517b6a7825 |
2 |
Author: David Seifert <soap <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon Jan 1 12:42:38 2018 +0000 |
4 |
Commit: David Seifert <soap <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Jan 1 12:42:38 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=801a0bd9 |
7 |
|
8 |
x11-misc/slop: Add live ebuild |
9 |
|
10 |
Package-Manager: Portage-2.3.19, Repoman-2.3.6 |
11 |
|
12 |
x11-misc/slop/slop-9999.ebuild | 41 +++++++++++++++++++++++++++++++++++++++++ |
13 |
1 file changed, 41 insertions(+) |
14 |
|
15 |
diff --git a/x11-misc/slop/slop-9999.ebuild b/x11-misc/slop/slop-9999.ebuild |
16 |
new file mode 100644 |
17 |
index 00000000000..4aef7f89425 |
18 |
--- /dev/null |
19 |
+++ b/x11-misc/slop/slop-9999.ebuild |
20 |
@@ -0,0 +1,41 @@ |
21 |
+# Copyright 1999-2018 Gentoo Foundation |
22 |
+# Distributed under the terms of the GNU General Public License v2 |
23 |
+ |
24 |
+EAPI=6 |
25 |
+ |
26 |
+inherit cmake-utils |
27 |
+ |
28 |
+DESCRIPTION="An application that queries the user for a selection for printing" |
29 |
+HOMEPAGE="https://github.com/naelstrof/slop" |
30 |
+ |
31 |
+if [[ ${PV} == *9999 ]]; then |
32 |
+ inherit git-r3 |
33 |
+ EGIT_REPO_URI="https://github.com/naelstrof/slop.git" |
34 |
+else |
35 |
+ SRC_URI="https://github.com/naelstrof/slop/archive/v${PV}.tar.gz -> ${P}.tar.gz" |
36 |
+ KEYWORDS="~amd64 ~x86" |
37 |
+fi |
38 |
+ |
39 |
+LICENSE="GPL-3" |
40 |
+SLOT="0" |
41 |
+IUSE="opengl" |
42 |
+ |
43 |
+RDEPEND=" |
44 |
+ dev-libs/icu:= |
45 |
+ x11-libs/libX11 |
46 |
+ x11-libs/libXext |
47 |
+ opengl? ( |
48 |
+ media-libs/glew:0= |
49 |
+ virtual/opengl |
50 |
+ x11-libs/libXrender:= |
51 |
+ )" |
52 |
+DEPEND=" |
53 |
+ ${RDEPEND} |
54 |
+ media-libs/glm" |
55 |
+ |
56 |
+src_configure() { |
57 |
+ local mycmakeargs=( |
58 |
+ -DSLOP_OPENGL=$(usex opengl) |
59 |
+ ) |
60 |
+ cmake-utils_src_configure |
61 |
+} |