summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPacho Ramos <pacho@gentoo.org>2013-09-29 09:30:05 +0000
committerPacho Ramos <pacho@gentoo.org>2013-09-29 09:30:05 +0000
commit9514cc996fa1e692af999a2285127d9087f6935a (patch)
treed33d5b51ecc3006cd402bc4b7c3ee24b49427191 /x11-themes/gtk-engines-qtpixmap/gtk-engines-qtpixmap-0.28-r2.ebuild
parentx86 stable wrt bug #478742; Drop old wrt bug #478744 (diff)
downloadhistorical-9514cc996fa1e692af999a2285127d9087f6935a.tar.gz
historical-9514cc996fa1e692af999a2285127d9087f6935a.tar.bz2
historical-9514cc996fa1e692af999a2285127d9087f6935a.zip
Fix compile with latest automake (#469828)
Package-Manager: portage-2.2.7/cvs/Linux x86_64 Manifest-Sign-Key: 0xA188FBD4
Diffstat (limited to 'x11-themes/gtk-engines-qtpixmap/gtk-engines-qtpixmap-0.28-r2.ebuild')
-rw-r--r--x11-themes/gtk-engines-qtpixmap/gtk-engines-qtpixmap-0.28-r2.ebuild43
1 files changed, 20 insertions, 23 deletions
diff --git a/x11-themes/gtk-engines-qtpixmap/gtk-engines-qtpixmap-0.28-r2.ebuild b/x11-themes/gtk-engines-qtpixmap/gtk-engines-qtpixmap-0.28-r2.ebuild
index fc52e56593d2..c26cb725c280 100644
--- a/x11-themes/gtk-engines-qtpixmap/gtk-engines-qtpixmap-0.28-r2.ebuild
+++ b/x11-themes/gtk-engines-qtpixmap/gtk-engines-qtpixmap-0.28-r2.ebuild
@@ -1,10 +1,12 @@
-# Copyright 1999-2012 Gentoo Foundation
+# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/x11-themes/gtk-engines-qtpixmap/gtk-engines-qtpixmap-0.28-r2.ebuild,v 1.11 2012/05/05 04:10:06 jdhore Exp $
+# $Header: /var/cvsroot/gentoo-x86/x11-themes/gtk-engines-qtpixmap/gtk-engines-qtpixmap-0.28-r2.ebuild,v 1.12 2013/09/29 09:30:01 pacho Exp $
-EAPI="1"
+EAPI=5
+GCONF_DEBUG="no"
+GNOME2_LA_PUNT="yes"
-inherit autotools eutils
+inherit autotools eutils gnome2
MY_P="QtPixmap-${PV}"
@@ -19,34 +21,29 @@ SLOT="0"
IUSE=""
RDEPEND="x11-libs/gtk+:2"
+
DEPEND="${RDEPEND}
- virtual/pkgconfig"
+ virtual/pkgconfig
+"
S=${WORKDIR}/${MY_P}
-src_unpack() {
- unpack ${A}
- cd "${S}"
-
+src_prepare() {
# Add switches to enable/disable gtk1 and gtk2 engines in the configure
# script.
epatch "${FILESDIR}/${P}-gtk_switches.patch"
- sed -i \
- -e 's/AC_CHECK_COMPILERS/AC_PROG_CC/' \
- configure.in
- rm acinclude.m4
- eautoreconf
-}
-src_compile() {
- local myconf="--enable-gtk2 --disable-gtk1"
+ sed -i -e 's/AC_CHECK_COMPILERS/AC_PROG_CC/' configure.in || die
+ sed -i 's/AM_CONFIG_HEADER/AC_CONFIG_HEADERS/g' configure.in || die
- econf $myconf || die "Configuration failed"
- emake || die "Compilation failed"
-}
+ rm acinclude.m4
-src_install() {
- emake DESTDIR="${D}" install || die "Installation failed"
+ eautoreconf
+ gnome2_src_prepare
+}
- dodoc AUTHORS ChangeLog README
+src_configure() {
+ gnome2_src_configure \
+ --enable-gtk2 \
+ --disable-gtk1
}