Gentoo Archives: gentoo-commits

From: Julian Ospald <hasufell@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: media-libs/liblrdf/
Date: Sun, 04 Oct 2015 20:15:38
Message-Id: 1443989279.3f5f773c4ad5b5e6c6701619366d6dd933db1b7d.hasufell@gentoo
1 commit: 3f5f773c4ad5b5e6c6701619366d6dd933db1b7d
2 Author: Julian Ospald <hasufell <AT> gentoo <DOT> org>
3 AuthorDate: Sun Oct 4 20:07:59 2015 +0000
4 Commit: Julian Ospald <hasufell <AT> gentoo <DOT> org>
5 CommitDate: Sun Oct 4 20:07:59 2015 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3f5f773c
7
8 media-libs/liblrdf: add libressl support
9
10 media-libs/liblrdf/liblrdf-0.5.0-r1.ebuild | 48 ++++++++++++++++++++++++++++++
11 1 file changed, 48 insertions(+)
12
13 diff --git a/media-libs/liblrdf/liblrdf-0.5.0-r1.ebuild b/media-libs/liblrdf/liblrdf-0.5.0-r1.ebuild
14 new file mode 100644
15 index 0000000..1758259
16 --- /dev/null
17 +++ b/media-libs/liblrdf/liblrdf-0.5.0-r1.ebuild
18 @@ -0,0 +1,48 @@
19 +# Copyright 1999-2015 Gentoo Foundation
20 +# Distributed under the terms of the GNU General Public License v2
21 +# $Id$
22 +
23 +EAPI=5
24 +inherit autotools
25 +
26 +DESCRIPTION="A library for the manipulation of RDF file in LADSPA plugins"
27 +HOMEPAGE="https://github.com/swh/LRDF"
28 +SRC_URI="https://github.com/swh/LRDF/tarball/${PV} -> ${P}.tar.gz"
29 +
30 +LICENSE="GPL-2"
31 +SLOT="0"
32 +KEYWORDS="~amd64 ~hppa ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos"
33 +IUSE="libressl static-libs"
34 +
35 +RDEPEND="
36 + !libressl? ( >=dev-libs/openssl-1:0 )
37 + libressl? ( dev-libs/libressl )
38 + media-libs/raptor:2
39 + >=media-libs/ladspa-sdk-1.12"
40 +DEPEND="${RDEPEND}
41 + virtual/pkgconfig"
42 +
43 +DOCS=( AUTHORS ChangeLog README )
44 +
45 +src_unpack() {
46 + unpack ${A}
47 + mv *-LRDF-* "${S}"
48 +}
49 +
50 +src_prepare() {
51 + sed -i -e 's:usr/local:usr:' examples/{instances,remove}_test.c || die #392221
52 + eautoreconf
53 +}
54 +
55 +src_configure() {
56 + econf $(use_enable static-libs static)
57 +}
58 +
59 +src_test() {
60 + has_version media-plugins/swh-plugins && default #392221
61 +}
62 +
63 +src_install() {
64 + default
65 + rm -f "${ED}"usr/lib*/liblrdf.la
66 +}