diff options
author | Sebastian Pipping <sping@gentoo.org> | 2012-06-10 19:47:12 +0000 |
---|---|---|
committer | Sebastian Pipping <sping@gentoo.org> | 2012-06-10 19:47:12 +0000 |
commit | b4316ee0d9fb1daa0f016720d3dd7a14be07b394 (patch) | |
tree | cdb366946e9da8ce0eea892303e31b47e099a1b8 /x11-themes/light-themes | |
parent | sci-mathematics/gretl: Version Bump, set gtk version fix (<1.9.9 = gtk2, >=1.... (diff) | |
download | gentoo-2-b4316ee0d9fb1daa0f016720d3dd7a14be07b394.tar.gz gentoo-2-b4316ee0d9fb1daa0f016720d3dd7a14be07b394.tar.bz2 gentoo-2-b4316ee0d9fb1daa0f016720d3dd7a14be07b394.zip |
x11-themes/light-themes: No longer install gtk-3.0 files for USE=-gtk3 (bug #420569)
(Portage version: 2.1.10.65/cvs/Linux x86_64)
Diffstat (limited to 'x11-themes/light-themes')
-rw-r--r-- | x11-themes/light-themes/ChangeLog | 8 | ||||
-rw-r--r-- | x11-themes/light-themes/light-themes-0.1.9.1-r1.ebuild | 41 |
2 files changed, 48 insertions, 1 deletions
diff --git a/x11-themes/light-themes/ChangeLog b/x11-themes/light-themes/ChangeLog index 50eb7df335b8..17e9d46a480c 100644 --- a/x11-themes/light-themes/ChangeLog +++ b/x11-themes/light-themes/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for x11-themes/light-themes # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/x11-themes/light-themes/ChangeLog,v 1.9 2012/04/29 16:22:50 maekke Exp $ +# $Header: /var/cvsroot/gentoo-x86/x11-themes/light-themes/ChangeLog,v 1.10 2012/06/10 19:47:12 sping Exp $ + +*light-themes-0.1.9.1-r1 (10 Jun 2012) + + 10 Jun 2012; Sebastian Pipping <sping@gentoo.org> + +light-themes-0.1.9.1-r1.ebuild: + No longer install gtk-3.0 files for USE=-gtk3 (bug #420569) 29 Apr 2012; Markus Meier <maekke@gentoo.org> light-themes-0.1.8.29.ebuild: x86 stable, bug #410611 diff --git a/x11-themes/light-themes/light-themes-0.1.9.1-r1.ebuild b/x11-themes/light-themes/light-themes-0.1.9.1-r1.ebuild new file mode 100644 index 000000000000..0b191a56b1d7 --- /dev/null +++ b/x11-themes/light-themes/light-themes-0.1.9.1-r1.ebuild @@ -0,0 +1,41 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/x11-themes/light-themes/light-themes-0.1.9.1-r1.ebuild,v 1.1 2012/06/10 19:47:12 sping Exp $ + +EAPI=4 + +DESCRIPTION="GTK2/GTK3 Ambiance and Radiance themes from Ubuntu" +HOMEPAGE="https://launchpad.net/light-themes" +SRC_URI="mirror://ubuntu/pool/main/${PN:0:1}/${PN}/${PN}_${PV}-0ubuntu1.tar.gz" + +LICENSE="CCPL-Attribution-ShareAlike-3.0" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="gtk3" + +DEPEND="" +RDEPEND="x11-themes/gtk-engines-murrine + gtk3? ( x11-themes/gtk-engines-unico )" + +src_prepare() { + cp -r Ambiance/ Ambiance-Gentoo || die + cp -r Radiance/ Radiance-Gentoo || die + sed -i -e 's/Ambiance/Ambiance-Gentoo/g' Ambiance-Gentoo/index.theme \ + Ambiance-Gentoo/metacity-1/metacity-theme-1.xml || die + sed -i -e 's/Radiance/Radiance-Gentoo/g' Radiance-Gentoo/index.theme \ + Radiance-Gentoo/metacity-1/metacity-theme-1.xml || die + sed -i -e 's/nselected_bg_color:#f07746/nselected_bg_color:#75755f5fbbbb/g' \ + Ambiance-Gentoo/gtk-2.0/gtkrc Ambiance-Gentoo/gtk-3.0/settings.ini \ + Radiance-Gentoo/gtk-2.0/gtkrc Radiance-Gentoo/gtk-3.0/settings.ini || die + sed -i -e 's/nbg_color:#F2F1F0/nbg_color:#f2f2f1f1f0f0/g' \ + Ambiance-Gentoo/gtk-2.0/gtkrc Ambiance-Gentoo/gtk-3.0/settings.ini || die +} + +src_install() { + insinto /usr/share/themes + doins -r Radiance* Ambiance* + + use gtk3 || { + rm -R "${D}"/usr/share/themes/*/gtk-3.0 || die + } +} |