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/lilv/
Date: Fri, 09 Oct 2020 12:16:44
Message-Id: 1602245794.b51bbea542fe18093e4b1747d163021d96508335.fordfrog@gentoo
1 commit: b51bbea542fe18093e4b1747d163021d96508335
2 Author: Miroslav Šulc <fordfrog <AT> gentoo <DOT> org>
3 AuthorDate: Fri Oct 9 12:16:14 2020 +0000
4 Commit: Miroslav Šulc <fordfrog <AT> gentoo <DOT> org>
5 CommitDate: Fri Oct 9 12:16:34 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b51bbea5
7
8 media-libs/lilv: bump to 0.24.10
9
10 Package-Manager: Portage-3.0.8, Repoman-3.0.1
11 Signed-off-by: Miroslav Šulc <fordfrog <AT> gentoo.org>
12
13 media-libs/lilv/Manifest | 1 +
14 media-libs/lilv/lilv-0.24.10.ebuild | 72 +++++++++++++++++++++++++++++++++++++
15 2 files changed, 73 insertions(+)
16
17 diff --git a/media-libs/lilv/Manifest b/media-libs/lilv/Manifest
18 index e44f214ef04..632aed8455a 100644
19 --- a/media-libs/lilv/Manifest
20 +++ b/media-libs/lilv/Manifest
21 @@ -1 +1,2 @@
22 +DIST lilv-0.24.10.tar.bz2 443795 BLAKE2B a316c0aae8f93a6104ad46e9e93cd3948b4596920a9bb7f1ab5bfe596428aa43e45413f79cd9e7c094ca3239e4811bd391015f17be5c059a54b0a050aff1e964 SHA512 1dfd4fef19537686b63a4e7df45e3b1a7c4a658acc21d5646daba4d3bd5676513857b3f437b89f1a06232516433ef155772d19625c33d49d13ada37a965982cf
23 DIST lilv-0.24.8.tar.bz2 545545 BLAKE2B 606beb68d6e277dfea85e3d2e27b58adf22f0a47a91583e4f1cd85649f237e75fac9b397eb07be69b5a278d02346d58bdf35c4c8fb248e4899a4fc9b05288c23 SHA512 f2b2638372a8280041f6e88e2077f2109f89dad6feedb9d07a88c6b5a05c37b62112f5d03282da4335ddd0d14339cfb49ad96a3df3de310265a40c24718be192
24
25 diff --git a/media-libs/lilv/lilv-0.24.10.ebuild b/media-libs/lilv/lilv-0.24.10.ebuild
26 new file mode 100644
27 index 00000000000..5e26bcb9168
28 --- /dev/null
29 +++ b/media-libs/lilv/lilv-0.24.10.ebuild
30 @@ -0,0 +1,72 @@
31 +# Copyright 1999-2020 Gentoo Authors
32 +# Distributed under the terms of the GNU General Public License v2
33 +
34 +EAPI=6
35 +
36 +PYTHON_COMPAT=( python3_{6,7,8} )
37 +PYTHON_REQ_USE='threads(+)'
38 +
39 +inherit python-any-r1 waf-utils bash-completion-r1 multilib-build multilib-minimal
40 +
41 +DESCRIPTION="Library to make the use of LV2 plugins as simple as possible for applications"
42 +HOMEPAGE="http://drobilla.net/software/lilv/"
43 +SRC_URI="http://download.drobilla.net/${P}.tar.bz2"
44 +
45 +LICENSE="ISC"
46 +SLOT="0"
47 +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86"
48 +IUSE="doc +dyn-manifest static-libs test"
49 +RESTRICT="!test? ( test )"
50 +
51 +RDEPEND="
52 + dev-libs/serd[${MULTILIB_USEDEP}]
53 + dev-libs/sord[${MULTILIB_USEDEP}]
54 + media-libs/libsndfile
55 + media-libs/lv2[${MULTILIB_USEDEP}]
56 + media-libs/sratom[${MULTILIB_USEDEP}]
57 +"
58 +DEPEND="
59 + ${RDEPEND}
60 + ${PYTHON_DEPS}
61 + virtual/pkgconfig
62 + doc? ( app-doc/doxygen )
63 + test? ( dev-python/unittest2 )
64 +"
65 +
66 +src_prepare() {
67 + default
68 + sed -i -e 's/^.*run_ldconfig/#\0/' wscript || die
69 + multilib_copy_sources
70 +}
71 +
72 +multilib_src_configure() {
73 + waf-utils_src_configure \
74 + --docdir="${EPREFIX}"/usr/share/doc/${PF} \
75 + --no-bash-completion \
76 + $(multilib_native_usex doc --docs "") \
77 + $(usex test --test "") \
78 + $(usex static-libs --static "") \
79 + $(usex dyn-manifest --dyn-manifest "")
80 +}
81 +
82 +multilib_src_compile() {
83 + ./waf build || die
84 +}
85 +
86 +multilib_src_test() {
87 + ./waf test || die
88 +}
89 +
90 +multilib_src_install() {
91 + waf-utils_src_install
92 +}
93 +
94 +multilib_src_install_all() {
95 + sed -i "/lv2jack/d" utils/lilv.bash_completion
96 + newbashcomp utils/lilv.bash_completion lv2info
97 +
98 + dodir /etc/env.d
99 + echo "LV2_PATH=${EPREFIX}/usr/$(get_libdir)/lv2" > "${ED}/etc/env.d/60lv2"
100 +
101 + python_optimize
102 +}