Gentoo Archives: gentoo-commits

From: "Miroslav Šulc" <fordfrog@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: media-libs/liblrdf/
Date: Tue, 29 Jun 2021 14:50:37
Message-Id: 1624978102.745bebfc9d46884fc70fb1ae05fbcbf7d39fea0c.fordfrog@gentoo
1 commit: 745bebfc9d46884fc70fb1ae05fbcbf7d39fea0c
2 Author: Haelwenn (lanodan) Monnier <contact <AT> hacktivis <DOT> me>
3 AuthorDate: Tue Jun 29 07:27:08 2021 +0000
4 Commit: Miroslav Šulc <fordfrog <AT> gentoo <DOT> org>
5 CommitDate: Tue Jun 29 14:48:22 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=745bebfc
7
8 media-libs/liblrdf: make multilib
9
10 Required for >=media-plugins/gst-plugins-ladspa-1.18.4
11
12 Signed-off-by: Haelwenn (lanodan) Monnier <contact <AT> hacktivis.me>
13 Closes: https://github.com/gentoo/gentoo/pull/21468/commits/c2c36bef8009d850c2489ba9c7bac4e28aca8862
14 Signed-off-by: Miroslav Šulc <fordfrog <AT> gentoo.org>
15
16 media-libs/liblrdf/liblrdf-0.6.1-r1.ebuild | 46 ++++++++++++++++++++++++++++++
17 1 file changed, 46 insertions(+)
18
19 diff --git a/media-libs/liblrdf/liblrdf-0.6.1-r1.ebuild b/media-libs/liblrdf/liblrdf-0.6.1-r1.ebuild
20 new file mode 100644
21 index 00000000000..2c09c797bfe
22 --- /dev/null
23 +++ b/media-libs/liblrdf/liblrdf-0.6.1-r1.ebuild
24 @@ -0,0 +1,46 @@
25 +# Copyright 1999-2021 Gentoo Authors
26 +# Distributed under the terms of the GNU General Public License v2
27 +
28 +EAPI=7
29 +
30 +inherit autotools multilib-minimal
31 +
32 +DESCRIPTION="Library for manipulation of RDF files in LADSPA plugins"
33 +HOMEPAGE="https://github.com/swh/LRDF"
34 +SRC_URI="https://github.com/swh/LRDF/archive/v${PV}.tar.gz -> ${P}.tar.gz"
35 +
36 +LICENSE="GPL-2"
37 +SLOT="0"
38 +KEYWORDS="~amd64 ~hppa ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos"
39 +IUSE="static-libs"
40 +
41 +RDEPEND="
42 + media-libs/ladspa-sdk[${MULTILIB_USEDEP}]
43 + media-libs/raptor:2[${MULTILIB_USEDEP}]
44 +"
45 +DEPEND="${RDEPEND}
46 + virtual/pkgconfig"
47 +
48 +DOCS=( AUTHORS ChangeLog README )
49 +
50 +S="${WORKDIR}/LRDF-${PV}"
51 +
52 +src_prepare() {
53 + default
54 + sed -i -e 's:usr/local:usr:' examples/{instances,remove}_test.c || die #392221
55 + eautoreconf
56 + multilib_copy_sources
57 +}
58 +
59 +multilib_src_configure() {
60 + econf $(use_enable static-libs static)
61 +}
62 +
63 +multilib_src_test() {
64 + has_version media-plugins/swh-plugins && default #392221
65 +}
66 +
67 +multilib_src_install() {
68 + default
69 + find "${D}" -name '*.la' -delete || die
70 +}