summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHarald van Dijk <truedfx@gentoo.org>2005-09-01 19:33:55 +0000
committerHarald van Dijk <truedfx@gentoo.org>2005-09-01 19:33:55 +0000
commit685d3c6d065d6af8571d736d18290dda548d48d5 (patch)
tree6e912a0cbe410679f11e265ed713c12ad6b589c3 /x11-libs/rep-gtk/rep-gtk-0.18-r3.ebuild
parentmany cleanups and fixes (diff)
downloadgentoo-2-685d3c6d065d6af8571d736d18290dda548d48d5.tar.gz
gentoo-2-685d3c6d065d6af8571d736d18290dda548d48d5.tar.bz2
gentoo-2-685d3c6d065d6af8571d736d18290dda548d48d5.zip
ebuild cleanups
(Portage version: 1.589-cvs)
Diffstat (limited to 'x11-libs/rep-gtk/rep-gtk-0.18-r3.ebuild')
-rw-r--r--x11-libs/rep-gtk/rep-gtk-0.18-r3.ebuild54
1 files changed, 54 insertions, 0 deletions
diff --git a/x11-libs/rep-gtk/rep-gtk-0.18-r3.ebuild b/x11-libs/rep-gtk/rep-gtk-0.18-r3.ebuild
new file mode 100644
index 000000000000..a4635f94222f
--- /dev/null
+++ b/x11-libs/rep-gtk/rep-gtk-0.18-r3.ebuild
@@ -0,0 +1,54 @@
+# Copyright 1999-2005 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/x11-libs/rep-gtk/rep-gtk-0.18-r3.ebuild,v 1.1 2005/09/01 19:33:55 truedfx Exp $
+
+inherit eutils toolchain-funcs multilib
+
+DESCRIPTION="A GTK+/libglade/GNOME language binding for the librep Lisp environment"
+HOMEPAGE="http://rep-gtk.sourceforge.net/"
+SRC_URI="mirror://sourceforge/rep-gtk/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="gtk-2.0"
+KEYWORDS="~alpha ~amd64 ~ia64 ~ppc ~sparc ~x86"
+IUSE="gnome"
+
+DEPEND=">=dev-libs/librep-0.17-r2
+ >=dev-util/pkgconfig-0.12.0
+ >=gnome-base/libglade-2.0.0
+ >=x11-libs/gtk+-2.0.3
+ gnome? ( >=gnome-base/libbonobo-2.0.0
+ >=gnome-base/libbonoboui-2.0.0
+ >=gnome-base/libgnome-2.0.0
+ >=gnome-base/libgnomeui-2.0.0
+ >=gnome-base/libgnomecanvas-2.0.0 )"
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+
+ # Fix for bug 45646 to sync up rep-gtk headers with gtk+
+ if has_version '>=x11-libs/gtk+-2.4'; then
+ epatch "${FILESDIR}/rep-gtk-0.18-gtk24.patch"
+ fi
+
+ # Remove reference to gtk internal functions. These functions are no
+ # longer available in recent versions of gtk, and sawfish doesn't use
+ # them anyway. Bug 48439
+ epatch "${FILESDIR}/rep-gtk-0.18-gtk26.patch"
+}
+
+src_compile() {
+ econf \
+ --libdir=/usr/$(get_libdir) \
+ --with-libglade \
+ --with-gdk-pixbuf \
+ $(use_with gnome) || die "configure failed"
+ emake || die "make failed"
+}
+
+src_install() {
+ make DESTDIR="${D}" install || die "make install failed"
+
+ dodoc AUTHORS BUGS COPYING ChangeLog HACKING README* TODO
+}