1 |
sping 14/11/01 15:57:17 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: redshift-1.9.1-r1.ebuild |
5 |
Log: |
6 |
x11-misc/redshift: GTK+ 3.x with introspection (bug #527540) |
7 |
|
8 |
(Portage version: 2.2.12/cvs/Linux x86_64, signed Manifest commit with key 0x401A1600) |
9 |
|
10 |
Revision Changes Path |
11 |
1.29 x11-misc/redshift/ChangeLog |
12 |
|
13 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-misc/redshift/ChangeLog?rev=1.29&view=markup |
14 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-misc/redshift/ChangeLog?rev=1.29&content-type=text/plain |
15 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-misc/redshift/ChangeLog?r1=1.28&r2=1.29 |
16 |
|
17 |
Index: ChangeLog |
18 |
=================================================================== |
19 |
RCS file: /var/cvsroot/gentoo-x86/x11-misc/redshift/ChangeLog,v |
20 |
retrieving revision 1.28 |
21 |
retrieving revision 1.29 |
22 |
diff -u -r1.28 -r1.29 |
23 |
--- ChangeLog 1 Nov 2014 15:36:39 -0000 1.28 |
24 |
+++ ChangeLog 1 Nov 2014 15:57:17 -0000 1.29 |
25 |
@@ -1,6 +1,11 @@ |
26 |
# ChangeLog for x11-misc/redshift |
27 |
# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 |
28 |
-# $Header: /var/cvsroot/gentoo-x86/x11-misc/redshift/ChangeLog,v 1.28 2014/11/01 15:36:39 sping Exp $ |
29 |
+# $Header: /var/cvsroot/gentoo-x86/x11-misc/redshift/ChangeLog,v 1.29 2014/11/01 15:57:17 sping Exp $ |
30 |
+ |
31 |
+*redshift-1.9.1-r1 (01 Nov 2014) |
32 |
+ |
33 |
+ 01 Nov 2014; Sebastian Pipping <sping@g.o> +redshift-1.9.1-r1.ebuild: |
34 |
+ Require GTK+ 3.x with introspection (bug #527540) |
35 |
|
36 |
01 Nov 2014; Sebastian Pipping <sping@g.o> -redshift-1.4.1.ebuild, |
37 |
-redshift-1.6-r1.ebuild, -redshift-1.8.ebuild, -redshift-1.9-r1.ebuild: |
38 |
|
39 |
|
40 |
|
41 |
1.1 x11-misc/redshift/redshift-1.9.1-r1.ebuild |
42 |
|
43 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-misc/redshift/redshift-1.9.1-r1.ebuild?rev=1.1&view=markup |
44 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-misc/redshift/redshift-1.9.1-r1.ebuild?rev=1.1&content-type=text/plain |
45 |
|
46 |
Index: redshift-1.9.1-r1.ebuild |
47 |
=================================================================== |
48 |
# Copyright 1999-2014 Gentoo Foundation |
49 |
# Distributed under the terms of the GNU General Public License v2 |
50 |
# $Header: /var/cvsroot/gentoo-x86/x11-misc/redshift/redshift-1.9.1-r1.ebuild,v 1.1 2014/11/01 15:57:17 sping Exp $ |
51 |
|
52 |
EAPI=5 |
53 |
PYTHON_COMPAT=( python{3_2,3_3,3_4} ) |
54 |
|
55 |
inherit autotools eutils gnome2-utils python-r1 |
56 |
|
57 |
DESCRIPTION="A screen color temperature adjusting software" |
58 |
HOMEPAGE="http://jonls.dk/redshift/" |
59 |
SRC_URI="https://github.com/jonls/redshift/archive/v${PV}.tar.gz -> ${P}.tar.gz" |
60 |
|
61 |
LICENSE="GPL-3" |
62 |
SLOT="0" |
63 |
KEYWORDS="~amd64 ~x86" |
64 |
IUSE="geoclue gtk nls" |
65 |
|
66 |
COMMON_DEPEND=">=x11-libs/libX11-1.4 |
67 |
x11-libs/libXxf86vm |
68 |
x11-libs/libxcb |
69 |
x11-libs/libdrm |
70 |
geoclue? ( app-misc/geoclue:0 dev-libs/glib:2 ) |
71 |
gtk? ( ${PYTHON_DEPS} )" |
72 |
RDEPEND="${COMMON_DEPEND} |
73 |
gtk? ( dev-python/pygobject[${PYTHON_USEDEP}] |
74 |
x11-libs/gtk+:3[introspection] |
75 |
dev-python/pyxdg[${PYTHON_USEDEP}] )" |
76 |
DEPEND="${COMMON_DEPEND} |
77 |
nls? ( sys-devel/gettext )" |
78 |
|
79 |
src_prepare() { |
80 |
epatch_user |
81 |
eautoreconf |
82 |
} |
83 |
|
84 |
src_configure() { |
85 |
python_export_best |
86 |
|
87 |
econf \ |
88 |
--disable-silent-rules \ |
89 |
$(use_enable nls) \ |
90 |
--enable-drm \ |
91 |
--enable-randr \ |
92 |
--enable-vidmode \ |
93 |
--disable-wingdi \ |
94 |
$(use_enable geoclue) \ |
95 |
$(use_enable gtk gui) \ |
96 |
--disable-ubuntu |
97 |
} |
98 |
|
99 |
_impl_specific_src_install() { |
100 |
emake DESTDIR="${D}" pythondir="$(python_get_sitedir)" \ |
101 |
-C src/redshift-gtk install |
102 |
} |
103 |
|
104 |
src_install() { |
105 |
emake DESTDIR="${D}" UPDATE_ICON_CACHE=/bin/true install |
106 |
|
107 |
if use gtk; then |
108 |
python_foreach_impl _impl_specific_src_install |
109 |
python_replicate_script "${D}"/usr/bin/redshift-gtk |
110 |
dosym redshift-gtk /usr/bin/gtk-redshift |
111 |
fi |
112 |
} |
113 |
|
114 |
pkg_preinst() { |
115 |
use gtk && gnome2_icon_savelist |
116 |
} |
117 |
|
118 |
pkg_postinst() { |
119 |
use gtk && gnome2_icon_cache_update |
120 |
} |
121 |
|
122 |
pkg_postrm() { |
123 |
use gtk && gnome2_icon_cache_update |
124 |
} |