From: | "Dror Levin (spatz)" <spatz@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in x11-misc/redshift: redshift-1.5.ebuild ChangeLog |
Date: | Mon, 30 Aug 2010 17:15:01 |
Message-Id: | 20100830171458.2327F20051@flycatcher.gentoo.org |
1 | spatz 10/08/30 17:14:58 |
2 | |
3 | Modified: ChangeLog |
4 | Added: redshift-1.5.ebuild |
5 | Log: |
6 | Version bump. |
7 | |
8 | (Portage version: 2.2_rc72/cvs/Linux x86_64) |
9 | |
10 | Revision Changes Path |
11 | 1.4 x11-misc/redshift/ChangeLog |
12 | |
13 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-misc/redshift/ChangeLog?rev=1.4&view=markup |
14 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-misc/redshift/ChangeLog?rev=1.4&content-type=text/plain |
15 | diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-misc/redshift/ChangeLog?r1=1.3&r2=1.4 |
16 | |
17 | Index: ChangeLog |
18 | =================================================================== |
19 | RCS file: /var/cvsroot/gentoo-x86/x11-misc/redshift/ChangeLog,v |
20 | retrieving revision 1.3 |
21 | retrieving revision 1.4 |
22 | diff -u -r1.3 -r1.4 |
23 | --- ChangeLog 31 Jul 2010 17:32:31 -0000 1.3 |
24 | +++ ChangeLog 30 Aug 2010 17:14:58 -0000 1.4 |
25 | @@ -1,6 +1,11 @@ |
26 | # ChangeLog for x11-misc/redshift |
27 | # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 |
28 | -# $Header: /var/cvsroot/gentoo-x86/x11-misc/redshift/ChangeLog,v 1.3 2010/07/31 17:32:31 hwoarang Exp $ |
29 | +# $Header: /var/cvsroot/gentoo-x86/x11-misc/redshift/ChangeLog,v 1.4 2010/08/30 17:14:58 spatz Exp $ |
30 | + |
31 | +*redshift-1.5 (30 Aug 2010) |
32 | + |
33 | + 30 Aug 2010; Dror Levin <spatz@g.o> +redshift-1.5.ebuild: |
34 | + Version bump. |
35 | |
36 | 31 Jul 2010; Markos Chandras <hwoarang@g.o> redshift-1.4.1.ebuild: |
37 | Stable on amd64 wrt bug #330347 |
38 | |
39 | |
40 | |
41 | 1.1 x11-misc/redshift/redshift-1.5.ebuild |
42 | |
43 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-misc/redshift/redshift-1.5.ebuild?rev=1.1&view=markup |
44 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-misc/redshift/redshift-1.5.ebuild?rev=1.1&content-type=text/plain |
45 | |
46 | Index: redshift-1.5.ebuild |
47 | =================================================================== |
48 | # Copyright 1999-2010 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.5.ebuild,v 1.1 2010/08/30 17:14:58 spatz Exp $ |
51 | |
52 | EAPI=3 |
53 | |
54 | PYTHON_DEPEND="gtk? 2:2.6" |
55 | |
56 | inherit gnome2-utils python |
57 | |
58 | DESCRIPTION="A screen color temperature adjusting software" |
59 | HOMEPAGE="http://jonls.dk/redshift/" |
60 | SRC_URI="http://launchpad.net/${PN}/trunk/${PV}/+download/${P}.tar.bz2" |
61 | |
62 | LICENSE="GPL-3" |
63 | SLOT="0" |
64 | KEYWORDS="~amd64 ~x86" |
65 | IUSE="gnome gtk nls" |
66 | |
67 | COMMON_DEPEND="x11-libs/libX11[xcb] |
68 | x11-libs/libXxf86vm |
69 | x11-libs/libxcb |
70 | gnome? ( dev-libs/glib:2 |
71 | >=gnome-base/gconf-2 )" |
72 | RDEPEND="${COMMON_DEPEND} |
73 | gtk? ( >=dev-python/pygtk-2 |
74 | dev-python/pyxdg )" |
75 | DEPEND="${COMMON_DEPEND} |
76 | nls? ( sys-devel/gettext )" |
77 | |
78 | pkg_setup() { |
79 | use gtk && python_set_active_version 2 |
80 | } |
81 | |
82 | src_prepare() { |
83 | if use gtk; then |
84 | ln -nfs $(type -P true) py-compile || die |
85 | python_convert_shebangs 2 src/gtk-redshift/gtk-redshift |
86 | fi |
87 | } |
88 | |
89 | src_configure() { |
90 | local myconf |
91 | use gtk || myconf="--enable-gui=none" |
92 | |
93 | econf \ |
94 | --disable-dependency-tracking \ |
95 | $(use_enable nls) \ |
96 | --enable-randr \ |
97 | --enable-vidmode \ |
98 | $(use_enable gnome gnome-clock) \ |
99 | ${myconf} |
100 | } |
101 | |
102 | src_install() { |
103 | emake DESTDIR="${D}" install || die |
104 | dodoc AUTHORS ChangeLog NEWS README |
105 | } |
106 | |
107 | pkg_preinst() { |
108 | gnome2_icon_savelist |
109 | } |
110 | |
111 | pkg_postinst() { |
112 | gnome2_icon_cache_update |
113 | use gtk && python_mod_optimize gtk_${PN} |
114 | } |
115 | |
116 | pkg_postrm() { |
117 | gnome2_icon_cache_update |
118 | use gtk && python_mod_cleanup gtk_${PN} |
119 | } |