2012-03-27 23:48:11 +04:00
|
|
|
# Copyright 1999-2012 Gentoo Foundation
|
|
|
|
# Distributed under the terms of the GNU General Public License v2
|
2012-05-24 23:11:51 +04:00
|
|
|
# $Header: /var/cvsroot/gentoo-x86/x11-libs/rep-gtk/rep-gtk-0.90.8.ebuild,v 1.5 2012/05/24 14:14:26 ssuominen Exp $
|
2012-03-27 23:48:11 +04:00
|
|
|
|
|
|
|
EAPI="4"
|
|
|
|
|
|
|
|
inherit eutils multilib
|
|
|
|
|
|
|
|
DESCRIPTION="A GTK+/libglade/GNOME language binding for the librep Lisp environment"
|
|
|
|
HOMEPAGE="http://sawfish.wikia.com/wiki/Main_Page"
|
|
|
|
SRC_URI="http://download.tuxfamily.org/librep/${PN}/${P}.tar.xz"
|
|
|
|
|
|
|
|
LICENSE="GPL-2"
|
|
|
|
SLOT="gtk-2.0"
|
2012-05-24 23:11:51 +04:00
|
|
|
KEYWORDS="~alpha amd64 ~ia64 ppc ~ppc64 ~sparc x86"
|
2012-03-27 23:48:11 +04:00
|
|
|
IUSE=""
|
|
|
|
|
|
|
|
RDEPEND=">=dev-libs/librep-0.90.5
|
|
|
|
>=dev-libs/glib-2.6:2
|
|
|
|
>=x11-libs/gtk+-2.24.0:2
|
|
|
|
>=x11-libs/gdk-pixbuf-2.23:2"
|
|
|
|
DEPEND="${RDEPEND}
|
2012-05-05 10:06:40 +04:00
|
|
|
virtual/pkgconfig
|
2012-03-27 23:48:11 +04:00
|
|
|
app-arch/xz-utils"
|
|
|
|
|
|
|
|
#src_prepare() {
|
|
|
|
# Fix undefined symbol problems like bug #367623
|
|
|
|
# http://listengine.tuxfamily.org/lists.tuxfamily.org/sawfish/2011/09/msg00026.html
|
|
|
|
# TODO: Doesn't apply, if some people still get the failure, try to push a bit upstream
|
|
|
|
#epatch "${FILESDIR}/${PN}-0.90.7-implicit-def-new.patch"
|
|
|
|
#}
|
|
|
|
|
|
|
|
src_configure() {
|
|
|
|
econf \
|
|
|
|
--libdir=/usr/$(get_libdir) \
|
|
|
|
--disable-static
|
|
|
|
}
|
|
|
|
|
|
|
|
src_install() {
|
|
|
|
emake DESTDIR="${D}" install
|
|
|
|
find "${D}" -name '*.la' -exec rm -f {} + || die "la file removal failed"
|
|
|
|
dodoc AUTHORS ChangeLog README* TODO
|
|
|
|
}
|