diff options
Diffstat (limited to 'x11-themes/gnome-themes/gnome-themes-2.30.2.ebuild')
-rw-r--r-- | x11-themes/gnome-themes/gnome-themes-2.30.2.ebuild | 52 |
1 files changed, 52 insertions, 0 deletions
diff --git a/x11-themes/gnome-themes/gnome-themes-2.30.2.ebuild b/x11-themes/gnome-themes/gnome-themes-2.30.2.ebuild new file mode 100644 index 000000000000..f7cc84228567 --- /dev/null +++ b/x11-themes/gnome-themes/gnome-themes-2.30.2.ebuild @@ -0,0 +1,52 @@ +# Copyright 1999-2010 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/x11-themes/gnome-themes/gnome-themes-2.30.2.ebuild,v 1.1 2010/06/23 11:09:11 pacho Exp $ + +EAPI="2" +GCONF_DEBUG="no" + +inherit eutils gnome2 + +DESCRIPTION="A set of GNOME themes, with sets for users with limited or low vision" +HOMEPAGE="http://www.gnome.org/" + +LICENSE="LGPL-2.1" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sh ~sparc ~x86 ~x86-fbsd ~x86-freebsd ~amd64-linux ~x86-linux ~x64-solaris ~x86-solaris" +IUSE="accessibility" + +RDEPEND=">=x11-libs/gtk+-2 + >=x11-themes/gtk-engines-2.15.3" +DEPEND="${RDEPEND} + >=x11-misc/icon-naming-utils-0.8.7 + >=dev-util/pkgconfig-0.19 + >=dev-util/intltool-0.35" +# dev-perl/XML-LibXML is bug 266136 + +DOCS="AUTHORS ChangeLog NEWS README" + +# This ebuild does not install any binaries +RESTRICT="binchecks strip" + +G2CONF="${G2CONF} + $(use_enable accessibility all-themes) + --disable-test-themes + --enable-icon-mapping" + +src_prepare() { + # Fix bashisms, bug #256337 + epatch "${FILESDIR}/${PN}-2.24.3-bashism.patch" + + # Do not build/install accessibility themes, bug #274515 + if ! use accessibility; then + sed 's:HighContrast.*\\:\\:g' -i \ + desktop-themes/Makefile.am desktop-themes/Makefile.in \ + gtk-themes/Makefile.am gtk-themes/Makefile.in \ + icon-themes/Makefile.am icon-themes/Makefile.in \ + || die "sed 1 failed" + fi + + # Fix intltoolize broken file, see upstream #577133 + sed "s:'\^\$\$lang\$\$':\^\$\$lang\$\$:g" -i po/Makefile.in.in \ + || die "sed 2 failed" +} |