blob: e4156e648d66f141f4ea4d31733b5cc1f91ca4d9 [file] [log] [blame]
# Copyright 1999-2018 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=6
GNOME_TARBALL_SUFFIX="bz2"
GNOME2_LA_PUNT="yes"
inherit autotools gnome2 multilib-minimal
DESCRIPTION="A LGPL version of libart"
HOMEPAGE="http://www.levien.com/libart"
LICENSE="LGPL-2.1"
SLOT="0"
KEYWORDS="*"
IUSE=""
RDEPEND=""
DEPEND=">=virtual/pkgconfig-0-r1[${MULTILIB_USEDEP}]"
# The provided tests are interactive only
RESTRICT="test"
MULTILIB_CHOST_TOOLS=(
/usr/bin/libart2-config
)
src_prepare() {
gnome2_src_prepare
# Fix crosscompiling, bug #185684
rm "${S}"/art_config.h
eapply "${FILESDIR}"/${PN}-2.3.21-crosscompile.patch
# Do not build tests if not required
eapply "${FILESDIR}"/${PN}-2.3.21-no-test-build.patch
mv configure.in configure.ac || die
AT_NOELIBTOOLIZE=yes eautoreconf
}
multilib_src_configure() {
ECONF_SOURCE=${S} \
gnome2_src_configure \
--disable-static
}
multilib_src_install() {
gnome2_src_install
}