diff options
author | Samuli Suominen <ssuominen@gentoo.org> | 2012-06-03 08:54:11 +0000 |
---|---|---|
committer | Samuli Suominen <ssuominen@gentoo.org> | 2012-06-03 08:54:11 +0000 |
commit | 98aa819d16c5d93b31e3977993229d5e616c6fd7 (patch) | |
tree | 9f5f0b82c7c072dc25a7415bbb6f841313ef63a4 /x11-themes/gtk-engines-aurora/gtk-engines-aurora-1.5.1.ebuild | |
parent | Depend on nvidia-cuda-toolkit-4.1 and relax gcc requirements accordingly, bug... (diff) | |
download | historical-98aa819d16c5d93b31e3977993229d5e616c6fd7.tar.gz historical-98aa819d16c5d93b31e3977993229d5e616c6fd7.tar.bz2 historical-98aa819d16c5d93b31e3977993229d5e616c6fd7.zip |
Fix building with dev-libs/glib >= 2.31 wrt #419393 by Pacho Ramos. Remove useless libtool archive from GTK+ 2.x engine directory.
Package-Manager: portage-2.2.0_alpha108/cvs/Linux x86_64
Diffstat (limited to 'x11-themes/gtk-engines-aurora/gtk-engines-aurora-1.5.1.ebuild')
-rw-r--r-- | x11-themes/gtk-engines-aurora/gtk-engines-aurora-1.5.1.ebuild | 26 |
1 files changed, 17 insertions, 9 deletions
diff --git a/x11-themes/gtk-engines-aurora/gtk-engines-aurora-1.5.1.ebuild b/x11-themes/gtk-engines-aurora/gtk-engines-aurora-1.5.1.ebuild index 5a524a07fad5..1baa67afd2a4 100644 --- a/x11-themes/gtk-engines-aurora/gtk-engines-aurora-1.5.1.ebuild +++ b/x11-themes/gtk-engines-aurora/gtk-engines-aurora-1.5.1.ebuild @@ -1,9 +1,9 @@ # Copyright 1999-2012 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/x11-themes/gtk-engines-aurora/gtk-engines-aurora-1.5.1.ebuild,v 1.5 2012/05/05 04:10:04 jdhore Exp $ +# $Header: /var/cvsroot/gentoo-x86/x11-themes/gtk-engines-aurora/gtk-engines-aurora-1.5.1.ebuild,v 1.6 2012/06/03 08:54:11 ssuominen Exp $ -EAPI=2 -inherit versionator +EAPI=4 +inherit eutils versionator MY_MAJ=$(get_version_component_range 1-2) @@ -16,7 +16,8 @@ SLOT="0" KEYWORDS="amd64 x86 ~x86-interix ~amd64-linux ~x86-linux ~x86-macos" IUSE="" -RDEPEND=">=x11-libs/gtk+-2.10:2" +RDEPEND=">=dev-libs/glib-2 + >=x11-libs/gtk+-2.10:2" DEPEND="${RDEPEND} virtual/pkgconfig" @@ -25,17 +26,24 @@ S=${WORKDIR}/aurora-${MY_MAJ} src_unpack() { unpack ${A} cd "${WORKDIR}" - tar -xzf aurora-gtk-engine-${MY_MAJ}.tar.gz || die "unpack failed" - tar -xjf Aurora.tar.bz2 || die "unpack failed" + tar -xzf aurora-gtk-engine-${MY_MAJ}.tar.gz || die + tar -xjf Aurora.tar.bz2 || die +} + +src_prepare() { + epatch "${FILESDIR}"/${P}-glib-2.31.patch } src_configure() { - econf --disable-dependency-tracking --enable-animation + econf --enable-animation } src_install() { - emake DESTDIR="${D}" install || die "emake install failed" + emake DESTDIR="${D}" install dodoc AUTHORS ChangeLog NEWS README + insinto /usr/share/themes/Aurora - doins -r ../Aurora/* || die "doins failed" + doins -r ../Aurora/* + + find "${ED}"/usr -name '*.la' -type f -exec rm -f {} + } |