Gentoo Archives: gentoo-commits

From: Johannes Huber <johu@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: x11-misc/redshift/
Date: Mon, 16 Jul 2018 06:32:53
Message-Id: 1531722758.f9323abff4f49c510a9cba53b990e57213f8b9de.johu@gentoo
1 commit: f9323abff4f49c510a9cba53b990e57213f8b9de
2 Author: Johannes Huber <johu <AT> gentoo <DOT> org>
3 AuthorDate: Mon Jul 16 06:28:38 2018 +0000
4 Commit: Johannes Huber <johu <AT> gentoo <DOT> org>
5 CommitDate: Mon Jul 16 06:32:38 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f9323abf
7
8 x11-misc/redshift: Remove 1.11-r1
9
10 Superseded by 1.12.
11
12 Package-Manager: Portage-2.3.42, Repoman-2.3.9
13
14 x11-misc/redshift/Manifest | 1 -
15 x11-misc/redshift/redshift-1.11-r1.ebuild | 86 -------------------------------
16 2 files changed, 87 deletions(-)
17
18 diff --git a/x11-misc/redshift/Manifest b/x11-misc/redshift/Manifest
19 index 8641e7f3d96..e4397643934 100644
20 --- a/x11-misc/redshift/Manifest
21 +++ b/x11-misc/redshift/Manifest
22 @@ -1,2 +1 @@
23 -DIST redshift-1.11.tar.gz 543804 BLAKE2B 9921ed703555fda60c06df9425bf4423ce3891db60f41a1c4c4b4897e2506b8ad79e44f765e49b08db5549406008e12c412c6ecb2a07316cdec4b123fd11ef11 SHA512 bcdb4c120efec3955f4f91f1290db0679e987e25d6610bd90ee8540a96bb11338e36b10680736490ea0b7e9eca5bc195b51767a5badf0b80495dc3da44c4ed8c
24 DIST redshift-1.12.tar.gz 659019 BLAKE2B 09339a57fee192e3428ba4387cbea498f2f9f97eb75a418588cdda3289cfa7b7fada4cb299e983e9e6d2ffe3822c8235082e67bdfa542716b6dee9fc853a8dc1 SHA512 6763f6964b577fc146191af1c67a283a60df5bbdd3a74bfc94f66d5f9f3bef8835a479c6ec8a648b650b83a0e245928884a0f628606ace8c3f58d8319d35036f
25
26 diff --git a/x11-misc/redshift/redshift-1.11-r1.ebuild b/x11-misc/redshift/redshift-1.11-r1.ebuild
27 deleted file mode 100644
28 index 02ab5175ab2..00000000000
29 --- a/x11-misc/redshift/redshift-1.11-r1.ebuild
30 +++ /dev/null
31 @@ -1,86 +0,0 @@
32 -# Copyright 1999-2018 Gentoo Foundation
33 -# Distributed under the terms of the GNU General Public License v2
34 -
35 -EAPI=6
36 -PYTHON_COMPAT=( python3_{4,5,6} )
37 -
38 -inherit systemd autotools eutils gnome2-utils python-r1
39 -
40 -DESCRIPTION="A screen color temperature adjusting software"
41 -HOMEPAGE="http://jonls.dk/redshift/"
42 -SRC_URI="https://github.com/jonls/redshift/archive/v${PV}.tar.gz -> ${P}.tar.gz"
43 -
44 -LICENSE="GPL-3"
45 -SLOT="0"
46 -KEYWORDS="amd64 ~arm64 x86"
47 -IUSE="ayatana geoclue gtk nls"
48 -
49 -COMMON_DEPEND=">=x11-libs/libX11-1.4
50 - x11-libs/libXxf86vm
51 - x11-libs/libxcb
52 - x11-libs/libdrm
53 - geoclue? ( app-misc/geoclue:2.0 dev-libs/glib:2 )
54 - gtk? ( ${PYTHON_DEPS} )"
55 -RDEPEND="${COMMON_DEPEND}
56 - gtk? ( dev-python/pygobject[${PYTHON_USEDEP}]
57 - x11-libs/gtk+:3[introspection]
58 - dev-python/pyxdg[${PYTHON_USEDEP}] )"
59 -DEPEND="${COMMON_DEPEND}
60 - >=dev-util/intltool-0.50
61 - nls? ( sys-devel/gettext )
62 - ayatana? ( dev-libs/libappindicator:3 )
63 -"
64 -REQUIRED_USE="gtk? ( ${PYTHON_REQUIRED_USE} )"
65 -
66 -src_prepare() {
67 - default
68 - eautoreconf
69 -}
70 -
71 -src_configure() {
72 - use gtk && python_setup
73 -
74 - econf \
75 - --disable-silent-rules \
76 - $(use_enable nls) \
77 - --enable-drm \
78 - --enable-randr \
79 - --enable-vidmode \
80 - --disable-wingdi \
81 - \
82 - --disable-corelocation \
83 - --disable-geoclue \
84 - $(use_enable geoclue geoclue2) \
85 - \
86 - $(use_enable gtk gui) \
87 - --with-systemduserunitdir="$(systemd_get_userunitdir)" \
88 - --disable-quartz \
89 - --disable-ubuntu
90 -}
91 -
92 -_impl_specific_src_install() {
93 - emake DESTDIR="${D}" pythondir="$(python_get_sitedir)" \
94 - -C src/redshift-gtk install
95 -}
96 -
97 -src_install() {
98 - emake DESTDIR="${D}" UPDATE_ICON_CACHE=/bin/true install
99 -
100 - if use gtk; then
101 - python_foreach_impl _impl_specific_src_install
102 - python_replicate_script "${D}"/usr/bin/redshift-gtk
103 - dosym redshift-gtk /usr/bin/gtk-redshift
104 - fi
105 -}
106 -
107 -pkg_preinst() {
108 - use gtk && gnome2_icon_savelist
109 -}
110 -
111 -pkg_postinst() {
112 - use gtk && gnome2_icon_cache_update
113 -}
114 -
115 -pkg_postrm() {
116 - use gtk && gnome2_icon_cache_update
117 -}