1 |
commit: f5abcf0cbfd3ec12a60f70eac8829da2ffe4f376 |
2 |
Author: Pacho Ramos <pacho <AT> gentoo <DOT> org> |
3 |
AuthorDate: Thu Aug 25 10:33:52 2016 +0000 |
4 |
Commit: Pacho Ramos <pacho <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Aug 25 10:33:52 2016 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f5abcf0c |
7 |
|
8 |
media-libs/libart_lgpl: eapi bump, fix src_install phase (and, then, really drop .la files) |
9 |
|
10 |
Package-Manager: portage-2.3.0 |
11 |
|
12 |
.../libart_lgpl/libart_lgpl-2.3.21-r3.ebuild | 51 ++++++++++++++++++++++ |
13 |
1 file changed, 51 insertions(+) |
14 |
|
15 |
diff --git a/media-libs/libart_lgpl/libart_lgpl-2.3.21-r3.ebuild b/media-libs/libart_lgpl/libart_lgpl-2.3.21-r3.ebuild |
16 |
new file mode 100644 |
17 |
index 00000000..cec49bb |
18 |
--- /dev/null |
19 |
+++ b/media-libs/libart_lgpl/libart_lgpl-2.3.21-r3.ebuild |
20 |
@@ -0,0 +1,51 @@ |
21 |
+# Copyright 1999-2016 Gentoo Foundation |
22 |
+# Distributed under the terms of the GNU General Public License v2 |
23 |
+# $Id$ |
24 |
+ |
25 |
+EAPI=6 |
26 |
+GNOME_TARBALL_SUFFIX="bz2" |
27 |
+GNOME2_LA_PUNT="yes" |
28 |
+ |
29 |
+inherit autotools gnome2 multilib-minimal |
30 |
+ |
31 |
+DESCRIPTION="A LGPL version of libart" |
32 |
+HOMEPAGE="http://www.levien.com/libart" |
33 |
+ |
34 |
+LICENSE="LGPL-2.1" |
35 |
+SLOT="0" |
36 |
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris" |
37 |
+IUSE="" |
38 |
+ |
39 |
+RDEPEND="" |
40 |
+DEPEND=">=virtual/pkgconfig-0-r1[${MULTILIB_USEDEP}]" |
41 |
+ |
42 |
+# The provided tests are interactive only |
43 |
+RESTRICT="test" |
44 |
+ |
45 |
+MULTILIB_CHOST_TOOLS=( |
46 |
+ /usr/bin/libart2-config |
47 |
+) |
48 |
+ |
49 |
+src_prepare() { |
50 |
+ gnome2_src_prepare |
51 |
+ |
52 |
+ # Fix crosscompiling, bug #185684 |
53 |
+ rm "${S}"/art_config.h |
54 |
+ eapply "${FILESDIR}"/${PN}-2.3.21-crosscompile.patch |
55 |
+ |
56 |
+ # Do not build tests if not required |
57 |
+ eapply "${FILESDIR}"/${PN}-2.3.21-no-test-build.patch |
58 |
+ |
59 |
+ mv configure.in configure.ac || die |
60 |
+ AT_NOELIBTOOLIZE=yes eautoreconf |
61 |
+} |
62 |
+ |
63 |
+multilib_src_configure() { |
64 |
+ ECONF_SOURCE=${S} \ |
65 |
+ gnome2_src_configure \ |
66 |
+ --disable-static |
67 |
+} |
68 |
+ |
69 |
+multilib_src_install() { |
70 |
+ gnome2_src_install |
71 |
+} |