Gentoo Archives: gentoo-commits

From: Aaron Bauman <bman@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: x11-misc/redshift/
Date: Mon, 02 Dec 2019 05:21:44
Message-Id: 1575264076.9522fc8074e8355da729b96e9ce5a50798d3d4a5.bman@gentoo
1 commit: 9522fc8074e8355da729b96e9ce5a50798d3d4a5
2 Author: Aaron Bauman <bman <AT> gentoo <DOT> org>
3 AuthorDate: Mon Dec 2 05:21:16 2019 +0000
4 Commit: Aaron Bauman <bman <AT> gentoo <DOT> org>
5 CommitDate: Mon Dec 2 05:21:16 2019 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9522fc80
7
8 x11-misc/redshift: drop old
9
10 Signed-off-by: Aaron Bauman <bman <AT> gentoo.org>
11
12 x11-misc/redshift/redshift-1.12-r1.ebuild | 86 -------------------------------
13 x11-misc/redshift/redshift-1.12-r2.ebuild | 86 -------------------------------
14 x11-misc/redshift/redshift-1.12.ebuild | 86 -------------------------------
15 3 files changed, 258 deletions(-)
16
17 diff --git a/x11-misc/redshift/redshift-1.12-r1.ebuild b/x11-misc/redshift/redshift-1.12-r1.ebuild
18 deleted file mode 100644
19 index e53725fb247..00000000000
20 --- a/x11-misc/redshift/redshift-1.12-r1.ebuild
21 +++ /dev/null
22 @@ -1,86 +0,0 @@
23 -# Copyright 1999-2019 Gentoo Authors
24 -# Distributed under the terms of the GNU General Public License v2
25 -
26 -EAPI=6
27 -PYTHON_COMPAT=( python3_{5,6} )
28 -
29 -inherit systemd autotools eutils 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="ayatana 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 - ayatana? ( 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 - --disable-silent-rules \
67 - $(use_enable nls) \
68 - --enable-drm \
69 - --enable-randr \
70 - --enable-vidmode \
71 - --disable-wingdi \
72 - \
73 - --disable-corelocation \
74 - $(use_enable geoclue geoclue2) \
75 - \
76 - $(use_enable gtk gui) \
77 - --with-systemduserunitdir="$(systemd_get_userunitdir)" \
78 - --disable-apparmor \
79 - --disable-quartz \
80 - --disable-ubuntu
81 -}
82 -
83 -_impl_specific_src_install() {
84 - emake DESTDIR="${D}" pythondir="$(python_get_sitedir)" \
85 - -C src/redshift-gtk install
86 -}
87 -
88 -src_install() {
89 - emake DESTDIR="${D}" UPDATE_ICON_CACHE=/bin/true install
90 -
91 - if use gtk; then
92 - python_foreach_impl _impl_specific_src_install
93 - python_replicate_script "${D}"/usr/bin/redshift-gtk
94 - dosym redshift-gtk /usr/bin/gtk-redshift
95 - fi
96 -}
97 -
98 -pkg_preinst() {
99 - use gtk && gnome2_icon_savelist
100 -}
101 -
102 -pkg_postinst() {
103 - use gtk && gnome2_icon_cache_update
104 -}
105 -
106 -pkg_postrm() {
107 - use gtk && gnome2_icon_cache_update
108 -}
109
110 diff --git a/x11-misc/redshift/redshift-1.12-r2.ebuild b/x11-misc/redshift/redshift-1.12-r2.ebuild
111 deleted file mode 100644
112 index 7ce1fd9516b..00000000000
113 --- a/x11-misc/redshift/redshift-1.12-r2.ebuild
114 +++ /dev/null
115 @@ -1,86 +0,0 @@
116 -# Copyright 1999-2019 Gentoo Authors
117 -# Distributed under the terms of the GNU General Public License v2
118 -
119 -EAPI=6
120 -PYTHON_COMPAT=( python3_{5,6,7} )
121 -
122 -inherit systemd autotools eutils gnome2-utils python-r1
123 -
124 -DESCRIPTION="A screen color temperature adjusting software"
125 -HOMEPAGE="http://jonls.dk/redshift/"
126 -SRC_URI="https://github.com/jonls/redshift/archive/v${PV}.tar.gz -> ${P}.tar.gz"
127 -
128 -LICENSE="GPL-3"
129 -SLOT="0"
130 -KEYWORDS="~amd64 ~arm64 ~x86"
131 -IUSE="ayatana geoclue gtk nls"
132 -
133 -COMMON_DEPEND=">=x11-libs/libX11-1.4
134 - x11-libs/libXxf86vm
135 - x11-libs/libxcb
136 - x11-libs/libdrm
137 - ayatana? ( dev-libs/libappindicator:3[introspection] )
138 - geoclue? ( app-misc/geoclue:2.0 dev-libs/glib:2 )
139 - gtk? ( ${PYTHON_DEPS} )"
140 -RDEPEND="${COMMON_DEPEND}
141 - gtk? ( dev-python/pygobject[${PYTHON_USEDEP}]
142 - x11-libs/gtk+:3[introspection]
143 - dev-python/pyxdg[${PYTHON_USEDEP}] )"
144 -DEPEND="${COMMON_DEPEND}
145 - >=dev-util/intltool-0.50
146 - nls? ( sys-devel/gettext )
147 -"
148 -REQUIRED_USE="gtk? ( ${PYTHON_REQUIRED_USE} )"
149 -
150 -src_prepare() {
151 - default
152 - eautoreconf
153 -}
154 -
155 -src_configure() {
156 - use gtk && python_setup
157 -
158 - econf \
159 - --disable-silent-rules \
160 - $(use_enable nls) \
161 - --enable-drm \
162 - --enable-randr \
163 - --enable-vidmode \
164 - --disable-wingdi \
165 - \
166 - --disable-corelocation \
167 - $(use_enable geoclue geoclue2) \
168 - \
169 - $(use_enable gtk gui) \
170 - --with-systemduserunitdir="$(systemd_get_userunitdir)" \
171 - --disable-apparmor \
172 - --disable-quartz \
173 - --disable-ubuntu
174 -}
175 -
176 -_impl_specific_src_install() {
177 - emake DESTDIR="${D}" pythondir="$(python_get_sitedir)" \
178 - -C src/redshift-gtk install
179 -}
180 -
181 -src_install() {
182 - emake DESTDIR="${D}" UPDATE_ICON_CACHE=/bin/true install
183 -
184 - if use gtk; then
185 - python_foreach_impl _impl_specific_src_install
186 - python_replicate_script "${D}"/usr/bin/redshift-gtk
187 - dosym redshift-gtk /usr/bin/gtk-redshift
188 - fi
189 -}
190 -
191 -pkg_preinst() {
192 - use gtk && gnome2_icon_savelist
193 -}
194 -
195 -pkg_postinst() {
196 - use gtk && gnome2_icon_cache_update
197 -}
198 -
199 -pkg_postrm() {
200 - use gtk && gnome2_icon_cache_update
201 -}
202
203 diff --git a/x11-misc/redshift/redshift-1.12.ebuild b/x11-misc/redshift/redshift-1.12.ebuild
204 deleted file mode 100644
205 index 8f866b93179..00000000000
206 --- a/x11-misc/redshift/redshift-1.12.ebuild
207 +++ /dev/null
208 @@ -1,86 +0,0 @@
209 -# Copyright 1999-2019 Gentoo Authors
210 -# Distributed under the terms of the GNU General Public License v2
211 -
212 -EAPI=6
213 -PYTHON_COMPAT=( python3_{5,6} )
214 -
215 -inherit systemd autotools eutils gnome2-utils python-r1
216 -
217 -DESCRIPTION="A screen color temperature adjusting software"
218 -HOMEPAGE="http://jonls.dk/redshift/"
219 -SRC_URI="https://github.com/jonls/redshift/archive/v${PV}.tar.gz -> ${P}.tar.gz"
220 -
221 -LICENSE="GPL-3"
222 -SLOT="0"
223 -KEYWORDS="amd64 ~arm64 x86"
224 -IUSE="ayatana geoclue gtk nls"
225 -
226 -COMMON_DEPEND=">=x11-libs/libX11-1.4
227 - x11-libs/libXxf86vm
228 - x11-libs/libxcb
229 - x11-libs/libdrm
230 - geoclue? ( app-misc/geoclue:2.0 dev-libs/glib:2 )
231 - gtk? ( ${PYTHON_DEPS} )"
232 -RDEPEND="${COMMON_DEPEND}
233 - gtk? ( dev-python/pygobject[${PYTHON_USEDEP}]
234 - x11-libs/gtk+:3[introspection]
235 - dev-python/pyxdg[${PYTHON_USEDEP}] )"
236 -DEPEND="${COMMON_DEPEND}
237 - >=dev-util/intltool-0.50
238 - nls? ( sys-devel/gettext )
239 - ayatana? ( dev-libs/libappindicator:3 )
240 -"
241 -REQUIRED_USE="gtk? ( ${PYTHON_REQUIRED_USE} )"
242 -
243 -src_prepare() {
244 - default
245 - eautoreconf
246 -}
247 -
248 -src_configure() {
249 - use gtk && python_setup
250 -
251 - econf \
252 - --disable-silent-rules \
253 - $(use_enable nls) \
254 - --enable-drm \
255 - --enable-randr \
256 - --enable-vidmode \
257 - --disable-wingdi \
258 - \
259 - --disable-corelocation \
260 - $(use_enable geoclue geoclue2) \
261 - \
262 - $(use_enable gtk gui) \
263 - --with-systemduserunitdir="$(systemd_get_userunitdir)" \
264 - --disable-apparmor \
265 - --disable-quartz \
266 - --disable-ubuntu
267 -}
268 -
269 -_impl_specific_src_install() {
270 - emake DESTDIR="${D}" pythondir="$(python_get_sitedir)" \
271 - -C src/redshift-gtk install
272 -}
273 -
274 -src_install() {
275 - emake DESTDIR="${D}" UPDATE_ICON_CACHE=/bin/true install
276 -
277 - if use gtk; then
278 - python_foreach_impl _impl_specific_src_install
279 - python_replicate_script "${D}"/usr/bin/redshift-gtk
280 - dosym redshift-gtk /usr/bin/gtk-redshift
281 - fi
282 -}
283 -
284 -pkg_preinst() {
285 - use gtk && gnome2_icon_savelist
286 -}
287 -
288 -pkg_postinst() {
289 - use gtk && gnome2_icon_cache_update
290 -}
291 -
292 -pkg_postrm() {
293 - use gtk && gnome2_icon_cache_update
294 -}