1 |
commit: 18a65ca991f7dbce9a30a744df203e3e8d200124 |
2 |
Author: Bernardo Meurer <meurerbernardo <AT> gmail <DOT> com> |
3 |
AuthorDate: Sun Aug 4 03:39:40 2019 +0000 |
4 |
Commit: Aaron Bauman <bman <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Aug 9 00:19:18 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=18a65ca9 |
7 |
|
8 |
gui-apps/slurp: New package (1.2.0, 9999) |
9 |
|
10 |
Closes: https://bugs.gentoo.org/684710 |
11 |
Package-Manager: Portage-2.3.70, Repoman-2.3.16 |
12 |
Signed-off-by: Bernardo Meurer <bernardo <AT> standard.ai> |
13 |
Closes: https://github.com/gentoo/gentoo/pull/12614 |
14 |
Signed-off-by: Aaron Bauman <bman <AT> gentoo.org> |
15 |
|
16 |
gui-apps/slurp/Manifest | 1 + |
17 |
gui-apps/slurp/metadata.xml | 23 +++++++++++++++++++++ |
18 |
gui-apps/slurp/slurp-1.2.0.ebuild | 43 +++++++++++++++++++++++++++++++++++++++ |
19 |
gui-apps/slurp/slurp-9999.ebuild | 41 +++++++++++++++++++++++++++++++++++++ |
20 |
4 files changed, 108 insertions(+) |
21 |
|
22 |
diff --git a/gui-apps/slurp/Manifest b/gui-apps/slurp/Manifest |
23 |
new file mode 100644 |
24 |
index 00000000000..a07473c5b6e |
25 |
--- /dev/null |
26 |
+++ b/gui-apps/slurp/Manifest |
27 |
@@ -0,0 +1 @@ |
28 |
+DIST slurp-1.2.0.tar.gz 15317 BLAKE2B 92de74abb54b2d53334e0f0c5d08b0b50e9c4583eb192226e38fcefa07cce2265f808ce81c04170e65d3c1209fa263352e3d70cc0a7cf745ed5e18d57c4d3af6 SHA512 443cd497049a5128e80a48c7b2afcc555a8d58a5eacc2dc6207058a9a399bc9e9804c7bca8b010af63f8be99000c05245720bd3e8cca248a74d5aa63a7faf4f9 |
29 |
|
30 |
diff --git a/gui-apps/slurp/metadata.xml b/gui-apps/slurp/metadata.xml |
31 |
new file mode 100644 |
32 |
index 00000000000..4f4fa04fe66 |
33 |
--- /dev/null |
34 |
+++ b/gui-apps/slurp/metadata.xml |
35 |
@@ -0,0 +1,23 @@ |
36 |
+<?xml version="1.0" encoding="UTF-8"?> |
37 |
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> |
38 |
+<pkgmetadata> |
39 |
+ <maintainer type="person"> |
40 |
+ <email>bernardo@××××××××.ai</email> |
41 |
+ <name>Bernardo Meurer</name> |
42 |
+ </maintainer> |
43 |
+ <maintainer type="project"> |
44 |
+ <email>proxy-maint@g.o</email> |
45 |
+ <name>Gentoo Proxy Maintainers Project</name> |
46 |
+ </maintainer> |
47 |
+ <longdescription lang="en"> |
48 |
+ Select a region in a Wayland compositor and print it to the standard output. |
49 |
+ </longdescription> |
50 |
+ <use> |
51 |
+ <flag name="man">Generate and install man pages.</flag> |
52 |
+ </use> |
53 |
+ <upstream> |
54 |
+ <remote-id type="github">emersion/slurp</remote-id> |
55 |
+ <bugs-to>https://github.com/emersion/slurp/issues</bugs-to> |
56 |
+ <changelog>https://github.com/emersion/slurp/releases</changelog> |
57 |
+ </upstream> |
58 |
+</pkgmetadata> |
59 |
|
60 |
diff --git a/gui-apps/slurp/slurp-1.2.0.ebuild b/gui-apps/slurp/slurp-1.2.0.ebuild |
61 |
new file mode 100644 |
62 |
index 00000000000..0374876964f |
63 |
--- /dev/null |
64 |
+++ b/gui-apps/slurp/slurp-1.2.0.ebuild |
65 |
@@ -0,0 +1,43 @@ |
66 |
+# Copyright 1999-2019 Gentoo Authors |
67 |
+# Distributed under the terms of the GNU General Public License v2 |
68 |
+ |
69 |
+EAPI=7 |
70 |
+ |
71 |
+inherit meson |
72 |
+ |
73 |
+DESCRIPTION="Select a region in a Wayland compositor and print it to the standard output." |
74 |
+HOMEPAGE="https://github.com/emersion/slurp" |
75 |
+ |
76 |
+if [[ ${PV} == 9999 ]]; then |
77 |
+ inherit git-r3 |
78 |
+ EGIT_REPO_URI="https://github.com/emersion/${PN}.git" |
79 |
+else |
80 |
+ SRC_URI="https://github.com/emersion/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" |
81 |
+ KEYWORDS="~amd64" |
82 |
+fi |
83 |
+ |
84 |
+LICENSE="MIT" |
85 |
+SLOT="0" |
86 |
+IUSE="+man" |
87 |
+ |
88 |
+DEPEND=" |
89 |
+ >=dev-libs/wayland-protocols-1.14 |
90 |
+ dev-libs/wayland |
91 |
+ x11-libs/cairo |
92 |
+" |
93 |
+RDEPEND=" |
94 |
+ ${DEPEND} |
95 |
+" |
96 |
+if [[ ${PV} == 9999 ]]; then |
97 |
+ BDEPEND+="man? ( ~app-text/scdoc-9999 )" |
98 |
+else |
99 |
+ BDEPEND+="man? ( app-text/scdoc )" |
100 |
+fi |
101 |
+ |
102 |
+src_configure() { |
103 |
+ local emesonargs=( |
104 |
+ $(meson_feature man man-pages) |
105 |
+ "-Dwerror=false" |
106 |
+ ) |
107 |
+ meson_src_configure |
108 |
+} |
109 |
|
110 |
diff --git a/gui-apps/slurp/slurp-9999.ebuild b/gui-apps/slurp/slurp-9999.ebuild |
111 |
new file mode 100644 |
112 |
index 00000000000..20fa33ff1cb |
113 |
--- /dev/null |
114 |
+++ b/gui-apps/slurp/slurp-9999.ebuild |
115 |
@@ -0,0 +1,41 @@ |
116 |
+# Copyright 1999-2019 Gentoo Authors |
117 |
+# Distributed under the terms of the GNU General Public License v2 |
118 |
+ |
119 |
+EAPI=7 |
120 |
+ |
121 |
+inherit meson |
122 |
+ |
123 |
+DESCRIPTION="Select a region in a Wayland compositor and print it to the standard output." |
124 |
+HOMEPAGE="https://github.com/emersion/slurp" |
125 |
+ |
126 |
+if [[ ${PV} == 9999 ]]; then |
127 |
+ inherit git-r3 |
128 |
+ EGIT_REPO_URI="https://github.com/emersion/${PN}.git" |
129 |
+else |
130 |
+ SRC_URI="https://github.com/emersion/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" |
131 |
+ KEYWORDS="~amd64" |
132 |
+fi |
133 |
+ |
134 |
+LICENSE="MIT" |
135 |
+SLOT="0" |
136 |
+IUSE="+man" |
137 |
+ |
138 |
+DEPEND=" |
139 |
+ >=dev-libs/wayland-protocols-1.14 |
140 |
+ dev-libs/wayland |
141 |
+ x11-libs/cairo |
142 |
+" |
143 |
+RDEPEND=" |
144 |
+ ${DEPEND} |
145 |
+" |
146 |
+BDEPEND=" |
147 |
+ man? ( app-text/scdoc ) |
148 |
+" |
149 |
+ |
150 |
+src_configure() { |
151 |
+ local emesonargs=( |
152 |
+ $(meson_feature man man-pages) |
153 |
+ "-Dwerror=false" |
154 |
+ ) |
155 |
+ meson_src_configure |
156 |
+} |