summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastian Pipping <sping@gentoo.org>2012-06-16 13:53:08 +0000
committerSebastian Pipping <sping@gentoo.org>2012-06-16 13:53:08 +0000
commitd22d7d3d925912810b8672b4b0506fabc056bde5 (patch)
treecd01d00a83110efd238f7132e2d7e354537f9edf /x11-themes/light-themes/light-themes-0.1.9.2.ebuild
parentNew beta (diff)
downloadgentoo-2-d22d7d3d925912810b8672b4b0506fabc056bde5.tar.gz
gentoo-2-d22d7d3d925912810b8672b4b0506fabc056bde5.tar.bz2
gentoo-2-d22d7d3d925912810b8672b4b0506fabc056bde5.zip
x11-themes/light-themes: 0.1.9.2
(Portage version: 2.1.10.65/cvs/Linux x86_64)
Diffstat (limited to 'x11-themes/light-themes/light-themes-0.1.9.2.ebuild')
-rw-r--r--x11-themes/light-themes/light-themes-0.1.9.2.ebuild41
1 files changed, 41 insertions, 0 deletions
diff --git a/x11-themes/light-themes/light-themes-0.1.9.2.ebuild b/x11-themes/light-themes/light-themes-0.1.9.2.ebuild
new file mode 100644
index 000000000000..bd77b72988a3
--- /dev/null
+++ b/x11-themes/light-themes/light-themes-0.1.9.2.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.2.ebuild,v 1.1 2012/06/16 13:53:08 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
+ }
+}