1 |
commit: f3c41ab168de30d6c11702c055791ede00fedf57 |
2 |
Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun Aug 28 19:04:10 2022 +0000 |
4 |
Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Aug 30 18:26:26 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f3c41ab1 |
7 |
|
8 |
x11-misc/redshift: drop 1.12-r3, 1.12-r4, 1.12-r5, EAPI-6-- |
9 |
|
10 |
Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org> |
11 |
|
12 |
x11-misc/redshift/redshift-1.12-r3.ebuild | 87 ---------------------------- |
13 |
x11-misc/redshift/redshift-1.12-r4.ebuild | 90 ----------------------------- |
14 |
x11-misc/redshift/redshift-1.12-r5.ebuild | 94 ------------------------------- |
15 |
3 files changed, 271 deletions(-) |
16 |
|
17 |
diff --git a/x11-misc/redshift/redshift-1.12-r3.ebuild b/x11-misc/redshift/redshift-1.12-r3.ebuild |
18 |
deleted file mode 100644 |
19 |
index 9a6d3445dca0..000000000000 |
20 |
--- a/x11-misc/redshift/redshift-1.12-r3.ebuild |
21 |
+++ /dev/null |
22 |
@@ -1,87 +0,0 @@ |
23 |
-# Copyright 1999-2021 Gentoo Authors |
24 |
-# Distributed under the terms of the GNU General Public License v2 |
25 |
- |
26 |
-EAPI=6 |
27 |
-PYTHON_COMPAT=( python3_{7,8,9} ) |
28 |
- |
29 |
-inherit systemd autotools gnome2-utils python-r1 |
30 |
- |
31 |
-DESCRIPTION="A screen color temperature adjusting software" |
32 |
-HOMEPAGE="http://jonls.dk/redshift/" |
33 |
-SRC_URI="https://github.com/jonls/redshift/archive/v${PV}.tar.gz -> ${P}.tar.gz" |
34 |
- |
35 |
-LICENSE="GPL-3" |
36 |
-SLOT="0" |
37 |
-KEYWORDS="amd64 arm64 x86" |
38 |
-IUSE="appindicator geoclue gtk nls" |
39 |
- |
40 |
-COMMON_DEPEND=">=x11-libs/libX11-1.4 |
41 |
- x11-libs/libXxf86vm |
42 |
- x11-libs/libxcb |
43 |
- x11-libs/libdrm |
44 |
- appindicator? ( dev-libs/libappindicator:3[introspection] ) |
45 |
- geoclue? ( app-misc/geoclue:2.0 dev-libs/glib:2 ) |
46 |
- gtk? ( ${PYTHON_DEPS} )" |
47 |
-RDEPEND="${COMMON_DEPEND} |
48 |
- gtk? ( dev-python/pygobject[${PYTHON_USEDEP}] |
49 |
- x11-libs/gtk+:3[introspection] |
50 |
- dev-python/pyxdg[${PYTHON_USEDEP}] )" |
51 |
-DEPEND="${COMMON_DEPEND} |
52 |
- >=dev-util/intltool-0.50 |
53 |
- nls? ( sys-devel/gettext ) |
54 |
-" |
55 |
-REQUIRED_USE="gtk? ( ${PYTHON_REQUIRED_USE} )" |
56 |
- |
57 |
-src_prepare() { |
58 |
- default |
59 |
- eautoreconf |
60 |
-} |
61 |
- |
62 |
-src_configure() { |
63 |
- use gtk && python_setup |
64 |
- |
65 |
- econf \ |
66 |
- $(use_enable nls) \ |
67 |
- --enable-drm \ |
68 |
- --enable-randr \ |
69 |
- --enable-vidmode \ |
70 |
- --disable-wingdi \ |
71 |
- \ |
72 |
- --disable-corelocation \ |
73 |
- $(use_enable geoclue geoclue2) \ |
74 |
- \ |
75 |
- $(use_enable gtk gui) \ |
76 |
- --with-systemduserunitdir="$(systemd_get_userunitdir)" \ |
77 |
- --enable-apparmor \ |
78 |
- --disable-quartz \ |
79 |
- --disable-ubuntu |
80 |
-} |
81 |
- |
82 |
-_impl_specific_src_install() { |
83 |
- emake DESTDIR="${D}" pythondir="$(python_get_sitedir)" \ |
84 |
- -C src/redshift-gtk install |
85 |
-} |
86 |
- |
87 |
-src_install() { |
88 |
- emake DESTDIR="${D}" UPDATE_ICON_CACHE=/bin/true install |
89 |
- |
90 |
- if use gtk; then |
91 |
- python_foreach_impl _impl_specific_src_install |
92 |
- python_replicate_script "${D}"/usr/bin/redshift-gtk |
93 |
- dosym redshift-gtk /usr/bin/gtk-redshift |
94 |
- |
95 |
- python_foreach_impl python_optimize |
96 |
- fi |
97 |
-} |
98 |
- |
99 |
-pkg_preinst() { |
100 |
- use gtk && gnome2_icon_savelist |
101 |
-} |
102 |
- |
103 |
-pkg_postinst() { |
104 |
- use gtk && gnome2_icon_cache_update |
105 |
-} |
106 |
- |
107 |
-pkg_postrm() { |
108 |
- use gtk && gnome2_icon_cache_update |
109 |
-} |
110 |
|
111 |
diff --git a/x11-misc/redshift/redshift-1.12-r4.ebuild b/x11-misc/redshift/redshift-1.12-r4.ebuild |
112 |
deleted file mode 100644 |
113 |
index 82c613726fe4..000000000000 |
114 |
--- a/x11-misc/redshift/redshift-1.12-r4.ebuild |
115 |
+++ /dev/null |
116 |
@@ -1,90 +0,0 @@ |
117 |
-# Copyright 1999-2021 Gentoo Authors |
118 |
-# Distributed under the terms of the GNU General Public License v2 |
119 |
- |
120 |
-EAPI=6 |
121 |
-PYTHON_COMPAT=( python3_{7,8,9} ) |
122 |
- |
123 |
-inherit flag-o-matic systemd autotools gnome2-utils python-r1 |
124 |
- |
125 |
-DESCRIPTION="A screen color temperature adjusting software" |
126 |
-HOMEPAGE="http://jonls.dk/redshift/" |
127 |
-SRC_URI="https://github.com/jonls/redshift/archive/v${PV}.tar.gz -> ${P}.tar.gz" |
128 |
- |
129 |
-LICENSE="GPL-3" |
130 |
-SLOT="0" |
131 |
-KEYWORDS="~amd64 ~arm64 ~x86" |
132 |
-IUSE="appindicator geoclue gtk nls" |
133 |
- |
134 |
-COMMON_DEPEND=">=x11-libs/libX11-1.4 |
135 |
- x11-libs/libXxf86vm |
136 |
- x11-libs/libxcb |
137 |
- x11-libs/libdrm |
138 |
- appindicator? ( dev-libs/libappindicator:3[introspection] ) |
139 |
- geoclue? ( app-misc/geoclue:2.0 dev-libs/glib:2 ) |
140 |
- gtk? ( ${PYTHON_DEPS} )" |
141 |
-RDEPEND="${COMMON_DEPEND} |
142 |
- gtk? ( dev-python/pygobject[${PYTHON_USEDEP}] |
143 |
- x11-libs/gtk+:3[introspection] |
144 |
- dev-python/pyxdg[${PYTHON_USEDEP}] )" |
145 |
-DEPEND="${COMMON_DEPEND} |
146 |
- >=dev-util/intltool-0.50 |
147 |
- nls? ( sys-devel/gettext ) |
148 |
-" |
149 |
-REQUIRED_USE="gtk? ( ${PYTHON_REQUIRED_USE} )" |
150 |
- |
151 |
-src_prepare() { |
152 |
- default |
153 |
- eautoreconf |
154 |
-} |
155 |
- |
156 |
-src_configure() { |
157 |
- use gtk && python_setup |
158 |
- |
159 |
- # Fix compile for Clang (bug #732438) |
160 |
- append-cflags -fPIE |
161 |
- |
162 |
- econf \ |
163 |
- $(use_enable nls) \ |
164 |
- --enable-drm \ |
165 |
- --enable-randr \ |
166 |
- --enable-vidmode \ |
167 |
- --disable-wingdi \ |
168 |
- \ |
169 |
- --disable-corelocation \ |
170 |
- $(use_enable geoclue geoclue2) \ |
171 |
- \ |
172 |
- $(use_enable gtk gui) \ |
173 |
- --with-systemduserunitdir="$(systemd_get_userunitdir)" \ |
174 |
- --enable-apparmor \ |
175 |
- --disable-quartz \ |
176 |
- --disable-ubuntu |
177 |
-} |
178 |
- |
179 |
-_impl_specific_src_install() { |
180 |
- emake DESTDIR="${D}" pythondir="$(python_get_sitedir)" \ |
181 |
- -C src/redshift-gtk install |
182 |
-} |
183 |
- |
184 |
-src_install() { |
185 |
- emake DESTDIR="${D}" UPDATE_ICON_CACHE=/bin/true install |
186 |
- |
187 |
- if use gtk; then |
188 |
- python_foreach_impl _impl_specific_src_install |
189 |
- python_replicate_script "${D}"/usr/bin/redshift-gtk |
190 |
- dosym redshift-gtk /usr/bin/gtk-redshift |
191 |
- |
192 |
- python_foreach_impl python_optimize |
193 |
- fi |
194 |
-} |
195 |
- |
196 |
-pkg_preinst() { |
197 |
- use gtk && gnome2_icon_savelist |
198 |
-} |
199 |
- |
200 |
-pkg_postinst() { |
201 |
- use gtk && gnome2_icon_cache_update |
202 |
-} |
203 |
- |
204 |
-pkg_postrm() { |
205 |
- use gtk && gnome2_icon_cache_update |
206 |
-} |
207 |
|
208 |
diff --git a/x11-misc/redshift/redshift-1.12-r5.ebuild b/x11-misc/redshift/redshift-1.12-r5.ebuild |
209 |
deleted file mode 100644 |
210 |
index 555749807f2b..000000000000 |
211 |
--- a/x11-misc/redshift/redshift-1.12-r5.ebuild |
212 |
+++ /dev/null |
213 |
@@ -1,94 +0,0 @@ |
214 |
-# Copyright 1999-2022 Gentoo Authors |
215 |
-# Distributed under the terms of the GNU General Public License v2 |
216 |
- |
217 |
-EAPI=6 |
218 |
- |
219 |
-PYTHON_COMPAT=( python3_{8,9} ) |
220 |
- |
221 |
-inherit flag-o-matic systemd autotools gnome2-utils python-r1 |
222 |
- |
223 |
-DESCRIPTION="A screen color temperature adjusting software" |
224 |
-HOMEPAGE="http://jonls.dk/redshift/" |
225 |
-SRC_URI="https://github.com/jonls/redshift/archive/v${PV}.tar.gz -> ${P}.tar.gz" |
226 |
- |
227 |
-LICENSE="GPL-3" |
228 |
-SLOT="0" |
229 |
-KEYWORDS="amd64 arm64 ~riscv x86" |
230 |
-IUSE="appindicator geoclue gtk nls" |
231 |
- |
232 |
-COMMON_DEPEND=">=x11-libs/libX11-1.4 |
233 |
- x11-libs/libXxf86vm |
234 |
- x11-libs/libxcb |
235 |
- x11-libs/libdrm |
236 |
- appindicator? ( dev-libs/libappindicator:3[introspection] ) |
237 |
- geoclue? ( app-misc/geoclue:2.0 dev-libs/glib:2 ) |
238 |
- gtk? ( ${PYTHON_DEPS} )" |
239 |
-RDEPEND="${COMMON_DEPEND} |
240 |
- gtk? ( dev-python/pygobject[${PYTHON_USEDEP}] |
241 |
- x11-libs/gtk+:3[introspection] |
242 |
- dev-python/pyxdg[${PYTHON_USEDEP}] )" |
243 |
-DEPEND="${COMMON_DEPEND} |
244 |
- >=dev-util/intltool-0.50 |
245 |
- nls? ( sys-devel/gettext ) |
246 |
-" |
247 |
-REQUIRED_USE="gtk? ( ${PYTHON_REQUIRED_USE} )" |
248 |
- |
249 |
-src_prepare() { |
250 |
- default |
251 |
- eautoreconf |
252 |
-} |
253 |
- |
254 |
-src_configure() { |
255 |
- use gtk && python_setup |
256 |
- |
257 |
- # Fix compile for Clang (bug #732438) |
258 |
- append-cflags -fPIE |
259 |
- |
260 |
- econf \ |
261 |
- $(use_enable nls) \ |
262 |
- --enable-drm \ |
263 |
- --enable-randr \ |
264 |
- --enable-vidmode \ |
265 |
- --disable-wingdi \ |
266 |
- \ |
267 |
- --disable-corelocation \ |
268 |
- $(use_enable geoclue geoclue2) \ |
269 |
- \ |
270 |
- $(use_enable gtk gui) \ |
271 |
- --with-systemduserunitdir="$(systemd_get_userunitdir)" \ |
272 |
- --enable-apparmor \ |
273 |
- --disable-quartz \ |
274 |
- --disable-ubuntu |
275 |
-} |
276 |
- |
277 |
-_impl_specific_src_install() { |
278 |
- emake DESTDIR="${D}" pythondir="$(python_get_sitedir)" \ |
279 |
- -C src/redshift-gtk install |
280 |
-} |
281 |
- |
282 |
-src_install() { |
283 |
- emake DESTDIR="${D}" UPDATE_ICON_CACHE=/bin/true install |
284 |
- |
285 |
- if use gtk; then |
286 |
- python_foreach_impl _impl_specific_src_install |
287 |
- python_replicate_script "${D}"/usr/bin/redshift-gtk |
288 |
- dosym redshift-gtk /usr/bin/gtk-redshift |
289 |
- |
290 |
- python_foreach_impl python_optimize |
291 |
- |
292 |
- # https://bugs.gentoo.org/784281 |
293 |
- mv "${D}"/usr/share/{appdata,metainfo}/ || die |
294 |
- fi |
295 |
-} |
296 |
- |
297 |
-pkg_preinst() { |
298 |
- use gtk && gnome2_icon_savelist |
299 |
-} |
300 |
- |
301 |
-pkg_postinst() { |
302 |
- use gtk && gnome2_icon_cache_update |
303 |
-} |
304 |
- |
305 |
-pkg_postrm() { |
306 |
- use gtk && gnome2_icon_cache_update |
307 |
-} |