]> Pileus Git - ~andy/sunrise/commitdiff
x11-misc/redshift: New Ebuild for bug 303173 thanks to scarabeus for review and nephr...
authorKacper Kowalik <xarthisius@gentoo.org>
Tue, 2 Feb 2010 22:17:44 +0000 (22:17 +0000)
committerKacper Kowalik <xarthisius@gentoo.org>
Tue, 2 Feb 2010 22:17:44 +0000 (22:17 +0000)
svn path=/sunrise/; revision=9973

x11-misc/redshift/ChangeLog [new file with mode: 0644]
x11-misc/redshift/Manifest [new file with mode: 0644]
x11-misc/redshift/metadata.xml [new file with mode: 0644]
x11-misc/redshift/redshift-1.1.ebuild [new file with mode: 0644]

diff --git a/x11-misc/redshift/ChangeLog b/x11-misc/redshift/ChangeLog
new file mode 100644 (file)
index 0000000..2aa9e0a
--- /dev/null
@@ -0,0 +1,9 @@
+# ChangeLog for x11-misc/redshift
+# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
+# $Header: $
+
+  02 Feb 2010; Kacper Kowalik (Xarthisius) <xarthisius.kk@gmail.com>
+  +redshift-1.1.ebuild, +metadata.xml:
+  New Ebuild for bug 303173 thanks to scarabeus for review and nephros for
+  reporting
+
diff --git a/x11-misc/redshift/Manifest b/x11-misc/redshift/Manifest
new file mode 100644 (file)
index 0000000..f1c8171
--- /dev/null
@@ -0,0 +1,4 @@
+DIST redshift-1.1.tar.bz2 112297 RMD160 a834550bdf82c52178e92378f6dae2c4f9abc7c2 SHA1 805125fcee67a921d19c8494a6e4ad2754e52906 SHA256 5f5e3704ae4de97ef057ae6c0997a5534841a7df1dda91bb17dce1577a255c23
+EBUILD redshift-1.1.ebuild 776 RMD160 32cb7905ef13e749edd4078e7789c7bd9573c8c7 SHA1 4ca7e565e1e5aa3c282c8c1a2d1edc7be8d959c5 SHA256 d7b4d88f283b00b5b933f055f17b76dedf76b9bc3b0af2df8f7046083a76a4c3
+MISC ChangeLog 314 RMD160 0daa752158294e46999521ce18666560447f633d SHA1 13d7b06835a7b8edfc82eb334f6a70779a8acca3 SHA256 582a69b0fdf54e170013b16ffcf3655b261a3e182471e982c44f5986436a2e59
+MISC metadata.xml 171 RMD160 ed284df01c230fc7990a6b5888b39166d23f29ba SHA1 f3d64a69044b710e23fb874b3ee4cd338858c8b4 SHA256 a7b30fbacd0e4c312c07a3efac112a3794c81d134442d8104325734d03425adf
diff --git a/x11-misc/redshift/metadata.xml b/x11-misc/redshift/metadata.xml
new file mode 100644 (file)
index 0000000..6f1d493
--- /dev/null
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+       <herd>maintainer-wanted</herd>
+</pkgmetadata>
diff --git a/x11-misc/redshift/redshift-1.1.ebuild b/x11-misc/redshift/redshift-1.1.ebuild
new file mode 100644 (file)
index 0000000..33d2a6e
--- /dev/null
@@ -0,0 +1,41 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI="2"
+
+inherit base gnome2-utils
+
+DESCRIPTION="Redshift adjusts screen's color temperature according to daytime"
+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="gtk"
+
+DEPEND="x11-libs/libX11[xcb]
+       x11-libs/libXxf86vm
+       x11-libs/libxcb
+       gtk? ( dev-python/pygtk )"
+RDEPEND="${DEPEND}"
+DOCS="README NEWS AUTHORS ChangeLog"
+
+src_configure() {
+       econf --enable-randr \
+               --enable-vidmode \
+               $(use_enable gtk)
+}
+
+pkg_preinst() {
+       gnome2_icon_savelist
+}
+
+pkg_postinst() {
+       gnome2_icon_cache_update
+}
+
+pkg_postrm() {
+       gnome2_icon_cache_update
+}