summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastian Pipping <sping@gentoo.org>2011-07-28 14:40:12 +0000
committerSebastian Pipping <sping@gentoo.org>2011-07-28 14:40:12 +0000
commitbff92550facfd491e3bf5e8af444320a6e6531e4 (patch)
tree6c4dad4a06cb68ef62bb91e9cd2e19e065ab5d05 /x11-misc/redshift
parentRespect the jobs more by not running emake in compile phase (diff)
downloadhistorical-bff92550facfd491e3bf5e8af444320a6e6531e4.tar.gz
historical-bff92550facfd491e3bf5e8af444320a6e6531e4.tar.bz2
historical-bff92550facfd491e3bf5e8af444320a6e6531e4.zip
x11-misc/redshift: Bump to 1.7
Package-Manager: portage-2.1.10.7/cvs/Linux x86_64
Diffstat (limited to 'x11-misc/redshift')
-rw-r--r--x11-misc/redshift/ChangeLog8
-rw-r--r--x11-misc/redshift/Manifest14
-rw-r--r--x11-misc/redshift/metadata.xml4
-rw-r--r--x11-misc/redshift/redshift-1.7.ebuild74
4 files changed, 92 insertions, 8 deletions
diff --git a/x11-misc/redshift/ChangeLog b/x11-misc/redshift/ChangeLog
index 2b66bd5f8e71..c587f92691a0 100644
--- a/x11-misc/redshift/ChangeLog
+++ b/x11-misc/redshift/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for x11-misc/redshift
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/x11-misc/redshift/ChangeLog,v 1.8 2011/05/04 06:33:06 xarthisius Exp $
+# $Header: /var/cvsroot/gentoo-x86/x11-misc/redshift/ChangeLog,v 1.9 2011/07/28 14:40:12 sping Exp $
+
+*redshift-1.7 (28 Jul 2011)
+
+ 28 Jul 2011; Sebastian Pipping <sping@gentoo.org> +redshift-1.7.ebuild,
+ metadata.xml:
+ Bump to 1.7. Patch got applied upstream, geoclue support added
*redshift-1.6-r1 (04 May 2011)
diff --git a/x11-misc/redshift/Manifest b/x11-misc/redshift/Manifest
index e26a17c2dccc..fe2877ca8c28 100644
--- a/x11-misc/redshift/Manifest
+++ b/x11-misc/redshift/Manifest
@@ -4,16 +4,16 @@ Hash: SHA1
AUX 1.6-bonoboiidfix.patch 1504 RMD160 e8c6d10541d2fa6f996b9e31bbe133aeed0dcdfb SHA1 595f613b2afef44b57ddb63f0ad435ae10312511 SHA256 1e58e4e9ae99e44aee8de9bbbd5efef3e93471a609b1aa26cd99d3af6ae180b9
DIST redshift-1.4.1.tar.bz2 238462 RMD160 dfee63f794734c36bf4d99b25b91256077754165 SHA1 58692ffe03dcbe3c3d732c2d1314313a26b86db0 SHA256 49325ecd61263519c2bac51e7239d87b22bcfd550ad43d3e60282b6230d29cf7
DIST redshift-1.6.tar.bz2 266881 RMD160 d2a921afbf1b4c0f8df9cb192b3938bb4f5c4211 SHA1 c79cadab1f36c478be9e0160e4832ae8256d5615 SHA256 9107451dee3c71c6ea146cb5409390814bf85b56ea495fb576c28f6e31fc863c
+DIST redshift-1.7.tar.bz2 269820 RMD160 c2ba1bc43e8bd5448a22c0ab25ff2b781321929b SHA1 cca3b83afef1687b533337649af1285116918590 SHA256 9bfa3c3d4a9ce6ea06a5e6235ab4e8215a456c08d6e7451c0389456a37d010c8
EBUILD redshift-1.4.1.ebuild 1552 RMD160 0ff857293d07506946835645690e61920d7f73c4 SHA1 a6731b4e7368fdce8b9d691d5964874f9eb0167e SHA256 974eaca8e4c0c05c52c752354b0a5c3760d024f2ad0c24bd58e8877f5b0fe84c
EBUILD redshift-1.6-r1.ebuild 1582 RMD160 7bb76f04bd46171055ccb79b190b0d151fa64685 SHA1 2c40e26dc4de16a51c263bbd83ab1504ad92e0e6 SHA256 a39bae96f5c1e970af05f7fbb7da8481250219b40d3ff10b7e5e63013141ee12
-MISC ChangeLog 1471 RMD160 b512f3d4174a217b8a2c01c189c2c7b09bc69baf SHA1 f63f256ea376acead6b127b9600ea151816eab09 SHA256 7925f37da6cf04da9ba47e1a0589aae15a4ada6b1cb9edd75b0eef67cdd9a610
-MISC metadata.xml 165 RMD160 4ebc1c537fcebcb28586a47c958a7d0237f3bbcc SHA1 87fed26b774e4dd2226bea04c4bcc8ba39fcc4c3 SHA256 d7da9ed29b7afb87ac00580d48a49d248f89c92269e9a7791782dc72f4490aec
+EBUILD redshift-1.7.ebuild 1561 RMD160 13991e898b0df868cac9f9d0714c3964eb6f6cc6 SHA1 e3772af3c9bab0240053ef06e522e6eafddbb5fe SHA256 648c256129831a48a81375f4574dd9df98cefb3e54e0805dfdcdfec2fc2c91ce
+MISC ChangeLog 1651 RMD160 08f2f8f1735d733e4ee0afb2cdd50192811cf9bf SHA1 6f32026c00811be7bed0b548f675349ba55147e8 SHA256 300e4e8eb2d0c99cd9e1142792674d512fb18ffbb4976834b89a0ba063ad15bf
+MISC metadata.xml 315 RMD160 38d1516141e868a656b85bd326730f2593233a4a SHA1 21408caf23dcf6370ae880c56e565a41e7d6c9c8 SHA256 cff6dc284808e8fe098b715c8282fea04029907709482cdbe497fb0cea4f1811
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.17 (GNU/Linux)
-iJwEAQECAAYFAk3A8ywACgkQIiMqcbOVdxRcPgP/SbYiJ+lvXxe788yjLapaX/ZC
-rZiei3RipWvIGKFSgRTahlBIblV4yP0+PSogRfJQiY6GkTo4/Dk/ewhlXmXs6uHf
-vJlOIQz4B8TSHT2MEvANjyViyUTLWHjil6UM0q+eJ4A1Rd1BazKgrWKy8fm2sEHF
-Npb5z6HslAjdacAZTQc=
-=Cel9
+iEYEARECAAYFAk4xdN4ACgkQsAvGakAaFgD29ACdHUW9q1gGkbFaVUN5TSO+ku4M
+DdoAoJjBpPgiDiQAQ3JCweBfU3QtDZ/F
+=aUh8
-----END PGP SIGNATURE-----
diff --git a/x11-misc/redshift/metadata.xml b/x11-misc/redshift/metadata.xml
index 40838bc36783..36818c51c07a 100644
--- a/x11-misc/redshift/metadata.xml
+++ b/x11-misc/redshift/metadata.xml
@@ -2,4 +2,8 @@
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<herd>desktop-misc</herd>
+<maintainer><email>sping@gentoo.org</email></maintainer>
+<use>
+ <flag name="geoclue">Control dependency on <pkg>app-misc/geoclue</pkg></flag>
+</use>
</pkgmetadata>
diff --git a/x11-misc/redshift/redshift-1.7.ebuild b/x11-misc/redshift/redshift-1.7.ebuild
new file mode 100644
index 000000000000..2a5b56f10024
--- /dev/null
+++ b/x11-misc/redshift/redshift-1.7.ebuild
@@ -0,0 +1,74 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/x11-misc/redshift/redshift-1.7.ebuild,v 1.1 2011/07/28 14:40:12 sping Exp $
+
+EAPI=3
+
+PYTHON_DEPEND="gtk? 2:2.6"
+
+inherit eutils gnome2-utils python
+
+DESCRIPTION="A screen color temperature adjusting software"
+HOMEPAGE="http://jonls.dk/redshift/"
+SRC_URI="http://launchpad.net/${PN}/trunk/${PV}/+download/${P}.tar.bz2"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="geoclue gnome gtk nls"
+
+COMMON_DEPEND=">=x11-libs/libX11-1.4
+ x11-libs/libXxf86vm
+ x11-libs/libxcb
+ gnome? ( dev-libs/glib:2
+ >=gnome-base/gconf-2 )"
+RDEPEND="${COMMON_DEPEND}
+ gtk? ( >=dev-python/pygtk-2
+ dev-python/pyxdg )"
+DEPEND="${COMMON_DEPEND}
+ nls? ( sys-devel/gettext )"
+
+pkg_setup() {
+ use gtk && python_set_active_version 2
+}
+
+src_prepare() {
+ if use gtk; then
+ rm -f py-compile
+ ln -s $(type -P true) py-compile || die
+ python_convert_shebangs 2 src/gtk-redshift/gtk-redshift
+ fi
+}
+
+src_configure() {
+ local myconf
+ use gtk || myconf="--disable-gui"
+
+ econf \
+ --disable-dependency-tracking \
+ $(use_enable nls) \
+ --enable-randr \
+ --enable-vidmode \
+ $(use_enable gnome gnome-clock) \
+ $(use_enable geoclue) \
+ ${myconf}
+}
+
+src_install() {
+ emake DESTDIR="${D}" install || die
+ dodoc AUTHORS NEWS README
+}
+
+pkg_preinst() {
+ gnome2_icon_savelist
+}
+
+pkg_postinst() {
+ gnome2_icon_cache_update
+ use gtk && python_mod_optimize gtk_${PN}
+}
+
+pkg_postrm() {
+ gnome2_icon_cache_update
+ use gtk && python_mod_cleanup gtk_${PN}
+}