summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'x11-libs/gtk+extra')
-rw-r--r--x11-libs/gtk+extra/ChangeLog5
-rw-r--r--x11-libs/gtk+extra/gtk+extra-2.1.2.ebuild33
2 files changed, 21 insertions, 17 deletions
diff --git a/x11-libs/gtk+extra/ChangeLog b/x11-libs/gtk+extra/ChangeLog
index 8f502941cfed..e2ae965d0526 100644
--- a/x11-libs/gtk+extra/ChangeLog
+++ b/x11-libs/gtk+extra/ChangeLog
@@ -1,13 +1,14 @@
# ChangeLog for x11-libs/gtk+extra
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/x11-libs/gtk+extra/ChangeLog,v 1.25 2010/09/25 19:30:40 ssuominen Exp $
+# $Header: /var/cvsroot/gentoo-x86/x11-libs/gtk+extra/ChangeLog,v 1.26 2010/09/25 19:55:45 ssuominen Exp $
25 Sep 2010; Samuli Suominen <ssuominen@gentoo.org>
gtk+extra-2.1.2.ebuild, +files/gtk+extra-2.1.2-build.patch,
+files/gtk+extra-2.1.2-gtk+-2.21.patch,
+files/gtk+extra-2.1.2-marshal.patch:
Fix building with make >= 3.82, GTK+ >= 2.21, libtool >= 2.0 and upstream
- typing errors wrt #333953 by Diego E. Pettenò.
+ typing errors wrt #333953 by Diego E. Pettenò. USE="static-libs" and punt
+ .la files.
27 Mar 2010; Pacho Ramos <pacho@gentoo.org> gtk+extra-2.1.2.ebuild:
As Samuli noticed again in bug 311611, LICENSE should be FDL-1.1 also
diff --git a/x11-libs/gtk+extra/gtk+extra-2.1.2.ebuild b/x11-libs/gtk+extra/gtk+extra-2.1.2.ebuild
index 88e901e61546..3044c2b196ec 100644
--- a/x11-libs/gtk+extra/gtk+extra-2.1.2.ebuild
+++ b/x11-libs/gtk+extra/gtk+extra-2.1.2.ebuild
@@ -1,11 +1,9 @@
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/x11-libs/gtk+extra/gtk+extra-2.1.2.ebuild,v 1.4 2010/09/25 19:30:40 ssuominen Exp $
+# $Header: /var/cvsroot/gentoo-x86/x11-libs/gtk+extra/gtk+extra-2.1.2.ebuild,v 1.5 2010/09/25 19:55:45 ssuominen Exp $
-EAPI="2"
-GCONF_DEBUG="no"
-
-inherit autotools eutils gnome2
+EAPI=2
+inherit autotools eutils
DESCRIPTION="Useful Additional GTK+ widgets"
HOMEPAGE="http://gtkextra.sourceforge.net"
@@ -14,24 +12,29 @@ SRC_URI="mirror://sourceforge/gtkextra/${P}.tar.gz"
LICENSE="FDL-1.1 LGPL-2"
SLOT="0"
KEYWORDS="~amd64 ~ia64 ~ppc ~ppc64 ~sparc ~x86"
-IUSE=""
+IUSE="static-libs"
RDEPEND="x11-libs/gtk+:2
dev-libs/glib:2"
DEPEND="${RDEPEND}
- dev-util/pkgconfig"
-
-DOCS="AUTHORS ChangeLog README"
-
-pkg_setup() {
- G2CONF="${G2CONF} --with-html-dir=/usr/share/doc/${PF}/html"
-}
+ dev-util/pkgconfig"
src_prepare() {
epatch "${FILESDIR}"/${P}-build.patch \
"${FILESDIR}"/${P}-marshal.patch \
"${FILESDIR}"/${P}-gtk+-2.21.patch
-
eautoreconf
- gnome2_src_prepare
+}
+
+src_configure() {
+ econf \
+ --disable-dependency-tracking \
+ $(use_enable static-libs static) \
+ --with-html-dir=/usr/share/doc/${PF}/html
+}
+
+src_install() {
+ emake DESTDIR="${D}" install || die
+ dodoc AUTHORS ChangeLog README
+ find "${D}" -name '*.la' -exec rm -f '{}' +
}