diff options
author | Sebastian Pipping <sping@gentoo.org> | 2014-11-01 15:57:25 +0000 |
---|---|---|
committer | Sebastian Pipping <sping@gentoo.org> | 2014-11-01 15:57:25 +0000 |
commit | b40937815659b6cbbae947fbf5fb91b8db5c15fb (patch) | |
tree | 8dbc22a52f0b26a092447b92fec01b79240d14f9 /x11-misc/redshift | |
parent | Fix tinfo underlinking (bug #527118 by Michael Vasiliev and fix by Jeroen). (diff) | |
download | historical-b40937815659b6cbbae947fbf5fb91b8db5c15fb.tar.gz historical-b40937815659b6cbbae947fbf5fb91b8db5c15fb.tar.bz2 historical-b40937815659b6cbbae947fbf5fb91b8db5c15fb.zip |
x11-misc/redshift: GTK+ 3.x with introspection (bug #527540)
Package-Manager: portage-2.2.12/cvs/Linux x86_64
Manifest-Sign-Key: 0x401A1600
Diffstat (limited to 'x11-misc/redshift')
-rw-r--r-- | x11-misc/redshift/ChangeLog | 7 | ||||
-rw-r--r-- | x11-misc/redshift/Manifest | 9 | ||||
-rw-r--r-- | x11-misc/redshift/redshift-1.9.1-r1.ebuild | 77 |
3 files changed, 88 insertions, 5 deletions
diff --git a/x11-misc/redshift/ChangeLog b/x11-misc/redshift/ChangeLog index 0ead9b12aee9..a4117485b870 100644 --- a/x11-misc/redshift/ChangeLog +++ b/x11-misc/redshift/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for x11-misc/redshift # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/x11-misc/redshift/ChangeLog,v 1.28 2014/11/01 15:36:39 sping Exp $ +# $Header: /var/cvsroot/gentoo-x86/x11-misc/redshift/ChangeLog,v 1.29 2014/11/01 15:57:17 sping Exp $ + +*redshift-1.9.1-r1 (01 Nov 2014) + + 01 Nov 2014; Sebastian Pipping <sping@gentoo.org> +redshift-1.9.1-r1.ebuild: + Require GTK+ 3.x with introspection (bug #527540) 01 Nov 2014; Sebastian Pipping <sping@gentoo.org> -redshift-1.4.1.ebuild, -redshift-1.6-r1.ebuild, -redshift-1.8.ebuild, -redshift-1.9-r1.ebuild: diff --git a/x11-misc/redshift/Manifest b/x11-misc/redshift/Manifest index a40aefba0929..25afa2c9fc9d 100644 --- a/x11-misc/redshift/Manifest +++ b/x11-misc/redshift/Manifest @@ -8,13 +8,14 @@ DIST redshift-1.7.tar.bz2 269820 SHA256 9bfa3c3d4a9ce6ea06a5e6235ab4e8215a456c08 DIST redshift-1.9.1.tar.gz 163257 SHA256 31636a76c3544cd1efd3cd43f443d97b63f9d27c4bcc90619897cf489ea74766 SHA512 7d0d037a6415efd5b82e4d617fdc826bb67259358bb4c00153a121712ae3ea260e975860bb02b8cdc789d9593fd420fae6cf5319cf0bad29202ba2ff83f9efff WHIRLPOOL 926123312d64e3f974e253b7226fade48233fdccd6ba6494dac00ef0b26ceaf021be8f35c446851bd59e20e66ea1fcc65c2aa087f193d3960328540b31def2ea EBUILD redshift-1.7-r1.ebuild 1716 SHA256 36d7348498a25bb376b64ac8144e2c7edf9f34d0bcf15dae6a8bd6eda6fc540a SHA512 d2d6b4ad92a2342c8c99d46911388dfb906a49e5da1b040bc22aaa48097adc1ad0833c2dfff07b74c2a54cda4cbc8ad4f0c7c572adbc88b420a42d41b1fd9f13 WHIRLPOOL d3bc692314a7825cd1baf4fd1201704946f3c8c2cffde0daf5aed77a34cedd5670e20a4e4ff5d650f4ec445722e4c819a10fcaedc33e228910fad134039d0238 EBUILD redshift-1.7.ebuild 1543 SHA256 e04077f403378b26b515065e2fa007130ab2c868cb2a47f8ffe978f7e563f5a3 SHA512 a106e33715cbecb279e1747c86073602e82ee8371adee77740e2f4b92e4e65d2a7b7ad7491e459e53b6ddc42efd761f879d27922955907f4f9a8804f353a272e WHIRLPOOL 020432d9a7e358f98f37e3679c9d22423c11eabab863f38d4727c370b0de295d8e415e753cd019c6cad37c24b5f430e4ab79672a897947f8b98afbf7c761e08a +EBUILD redshift-1.9.1-r1.ebuild 1764 SHA256 d7d3d805b64f95f2075a9928fcc7898569d8f2405e98a83021f319e39529562b SHA512 394c25b93594918ceee84073651680e4e1061f3c5c8a8649e0e471862a0a9fcfcccf0b477ad28e9ad46c292bcc614180c1bbd6b3cecf69121314510b6dc4525f WHIRLPOOL 4432e21de789c73bd8acf312143a2b41c31b9664836dce2057135720f7d6cbcc1feb293064fcddcf9371a86cd701c174d514f56ea0d933a386b180110cad07d0 EBUILD redshift-1.9.1.ebuild 1727 SHA256 c3cbc7ff344d33b8013eee97c20703148236263ebfe21cf25c66528dfabcaced SHA512 d67476d1e43425f10df3e24d23be6f835837dba8a94e35f4e89dab869469c41428372020496443480f96c388674f7e1e23a9e05da8d7a895f8f1356a7e537cb9 WHIRLPOOL c32337e264ff1fac07b469110f99ddfbbf6d4cdc7e072e73f29400d4ab6b6880299942d54e400c6a7a42c28789f96dcecb9a1c02e89848a3a65472f65a439d05 -MISC ChangeLog 4424 SHA256 bd9f9445b20bc792c99eca65cad98490fecf10a1f078d7e56908310d50b3abb8 SHA512 e37ff125bb050a0a343c562b9022c3989ddf4ec8df29c29e9ea59de040e8ce4dc0f1927e39a95a7151f2e3f22c3d5722369ac7b9046bcee77bc3490664bc3cfc WHIRLPOOL 43dfbb9aac774f156c04e260a3bedec27ad58e78068cf5496c5555faa6a07643fe7db01af6a3a27d7fd654a5e31a933f9361b2fe3c82ecc73d999201943bd931 +MISC ChangeLog 4590 SHA256 81128c1e7deaa90b4bc8101fd49242d941cb509864dc9670901e5c28ae0aead7 SHA512 2b6d4558a2d089fb08ad3a5de679f49d13fae3f9c541a3a45ff669e9c19d5bfaae2ae9f542934a19783ffa7d5cfb1d0a580b0bbeaa2c16beca54cb6d3c34fb95 WHIRLPOOL 6a9a51422e191b5ebda1933fd888b3e69ac366e741be684df2ae73e5c7023390bddd8c2726115820de645fb22167c19a05abb749310c8aa48d0a478537fa6c02 MISC metadata.xml 315 SHA256 cff6dc284808e8fe098b715c8282fea04029907709482cdbe497fb0cea4f1811 SHA512 1f324af52eec95af3922617facbef22407438f043058c1528f7291de45262588c470c05b03184472980243b37917e36949b1b225f14549a53f8b08c2cd00e81d WHIRLPOOL 0cb6414cbffc09fca999210bd1b77b1aab543edfa8b2e2433514d928c6289842fc986442ce0f6b2dc3da4733e932ffd3b44cf309df587d8f48dc586e60b92ca3 -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 -iEYEAREIAAYFAlRU/g4ACgkQsAvGakAaFgBybwCfePRzRLqJa8NStBzcEszXDDiO -tboAoL8L34BRxiowE+R6fr2BUePlZcQa -=QcC/ +iEYEAREIAAYFAlRVAuMACgkQsAvGakAaFgCviQCeLd4ppzMeELhnXEHx1KneBAvv +R/sAoI9WovlFp/S/u7IhYVtKMRJMTW9n +=tr45 -----END PGP SIGNATURE----- diff --git a/x11-misc/redshift/redshift-1.9.1-r1.ebuild b/x11-misc/redshift/redshift-1.9.1-r1.ebuild new file mode 100644 index 000000000000..cf1b84dc0573 --- /dev/null +++ b/x11-misc/redshift/redshift-1.9.1-r1.ebuild @@ -0,0 +1,77 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $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 $ + +EAPI=5 +PYTHON_COMPAT=( python{3_2,3_3,3_4} ) + +inherit autotools eutils gnome2-utils python-r1 + +DESCRIPTION="A screen color temperature adjusting software" +HOMEPAGE="http://jonls.dk/redshift/" +SRC_URI="https://github.com/jonls/redshift/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="geoclue gtk nls" + +COMMON_DEPEND=">=x11-libs/libX11-1.4 + x11-libs/libXxf86vm + x11-libs/libxcb + x11-libs/libdrm + geoclue? ( app-misc/geoclue:0 dev-libs/glib:2 ) + gtk? ( ${PYTHON_DEPS} )" +RDEPEND="${COMMON_DEPEND} + gtk? ( dev-python/pygobject[${PYTHON_USEDEP}] + x11-libs/gtk+:3[introspection] + dev-python/pyxdg[${PYTHON_USEDEP}] )" +DEPEND="${COMMON_DEPEND} + nls? ( sys-devel/gettext )" + +src_prepare() { + epatch_user + eautoreconf +} + +src_configure() { + python_export_best + + econf \ + --disable-silent-rules \ + $(use_enable nls) \ + --enable-drm \ + --enable-randr \ + --enable-vidmode \ + --disable-wingdi \ + $(use_enable geoclue) \ + $(use_enable gtk gui) \ + --disable-ubuntu +} + +_impl_specific_src_install() { + emake DESTDIR="${D}" pythondir="$(python_get_sitedir)" \ + -C src/redshift-gtk install +} + +src_install() { + emake DESTDIR="${D}" UPDATE_ICON_CACHE=/bin/true install + + if use gtk; then + python_foreach_impl _impl_specific_src_install + python_replicate_script "${D}"/usr/bin/redshift-gtk + dosym redshift-gtk /usr/bin/gtk-redshift + fi +} + +pkg_preinst() { + use gtk && gnome2_icon_savelist +} + +pkg_postinst() { + use gtk && gnome2_icon_cache_update +} + +pkg_postrm() { + use gtk && gnome2_icon_cache_update +} |