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