You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/x11-themes/gnome-themes/gnome-themes-2.32.1-r1.ebuild

52 lines
1.5 KiB

# Copyright 1999-2012 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.32.1-r1.ebuild,v 1.7 2012/05/05 04:10:05 jdhore Exp $
EAPI="4"
GCONF_DEBUG="no"
GNOME_TARBALL_SUFFIX="bz2"
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 ia64 ~mips ppc ppc64 sh sparc x86 ~x86-fbsd ~x86-freebsd ~amd64-linux ~x86-linux ~x64-solaris ~x86-solaris"
IUSE=""
RDEPEND=">=x11-libs/gtk+-2:2
>=x11-themes/gtk-engines-2.15.3:2"
DEPEND="${RDEPEND}
>=x11-misc/icon-naming-utils-0.8.7
virtual/pkgconfig
>=dev-util/intltool-0.35
sys-devel/gettext"
# For problems related with dev-perl/XML-LibXML please see bug 266136
# This ebuild does not install any binaries
RESTRICT="binchecks strip"
pkg_setup() {
G2CONF="${G2CONF}
--disable-test-themes
--enable-icon-mapping"
DOCS="AUTHORS ChangeLog NEWS README"
}
src_prepare() {
gnome2_src_prepare
# Fix bashisms, bug #256337
epatch "${FILESDIR}/${PN}-2.24.3-bashism.patch"
# Remove themes now provided by x11-themes/gnome-themes-standard
sed 's:HighContrast.*\\:\\:g' -i $(find . -name Makefile.am -o -name Makefile.in) || die
sed 's:LowContrast.*\\:\\:g' -i $(find . -name Makefile.am -o -name Makefile.in) || die
# Fix intltoolize broken file, see upstream #577133
sed "s:'\^\$\$lang\$\$':\^\$\$lang\$\$:g" -i po/Makefile.in.in \
|| die "intltool rules fix failed"
}