blob: 50d95504d52e57980c9c2754545e2c557edfff51 [file] [log] [blame]
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/media-libs/libart_lgpl/libart_lgpl-2.3.21-r1.ebuild,v 1.11 2012/05/05 08:02:38 jdhore Exp $
EAPI="3"
GCONF_DEBUG="no"
inherit autotools eutils gnome2
DESCRIPTION="a LGPL version of libart"
HOMEPAGE="http://www.levien.com/libart"
LICENSE="LGPL-2.1"
SLOT="0"
KEYWORDS="*"
IUSE=""
RDEPEND=""
DEPEND="virtual/pkgconfig"
# The provided tests are interactive only
RESTRICT="test"
DOCS="AUTHORS ChangeLog NEWS README"
pkg_setup() {
G2CONF="${G2CONF} --disable-static"
}
src_prepare() {
gnome2_src_prepare
# Fix crosscompiling, bug #185684
rm "${S}"/art_config.h
epatch "${FILESDIR}"/${PN}-2.3.21-crosscompile.patch
# Do not build tests if not required
epatch "${FILESDIR}"/${PN}-2.3.21-no-test-build.patch
AT_NOELIBTOOLIZE=yes eautoreconf
}