blob: 739cf614acd951f29d949d9f8f65c9e62648aee6 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
|
# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
GNOME_TARBALL_SUFFIX="bz2"
GNOME2_LA_PUNT="yes"
inherit autotools gnome2 multilib-minimal
DESCRIPTION="A LGPL version of libart"
HOMEPAGE="https://www.levien.com/libart"
LICENSE="LGPL-2.1"
SLOT="0"
KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-solaris"
BDEPEND="virtual/pkgconfig"
# 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 || die
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
}
|