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, 08 Jan 2021 13:21:43
Message-Id: 1610111619.c9b78530a2cc65ecde7899e085874934895ad0f4.fordfrog@gentoo
1 commit: c9b78530a2cc65ecde7899e085874934895ad0f4
2 Author: Miroslav Šulc <fordfrog <AT> gentoo <DOT> org>
3 AuthorDate: Fri Jan 8 13:13:39 2021 +0000
4 Commit: Miroslav Šulc <fordfrog <AT> gentoo <DOT> org>
5 CommitDate: Fri Jan 8 13:13:39 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c9b78530
7
8 media-libs/lilv: bump to 0.24.12
9
10 Package-Manager: Portage-3.0.12, Repoman-3.0.2
11 Signed-off-by: Miroslav Šulc <fordfrog <AT> gentoo.org>
12
13 media-libs/lilv/Manifest | 1 +
14 media-libs/lilv/lilv-0.24.12.ebuild | 81 +++++++++++++++++++++++++++++++++++++
15 2 files changed, 82 insertions(+)
16
17 diff --git a/media-libs/lilv/Manifest b/media-libs/lilv/Manifest
18 index a73d0d2141a..6444b39eb83 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.12.tar.bz2 427404 BLAKE2B 47efe553c6fc249ed0cde47a47a01e0b3496ea4dfac88849b75d9720cb3a158fa1c95959ffc1a09e606f8ba3831e79382ba08ad100ee17cf19c7f1ffa186d6e2 SHA512 ea22db4e995792b62d60d793169c792549b8fb0255c2cf7a85780dd149811921e2fae5eaea0fb83465f01b14dfa66361af3be40bf7cb3733e98655b943f4faee
24
25 diff --git a/media-libs/lilv/lilv-0.24.12.ebuild b/media-libs/lilv/lilv-0.24.12.ebuild
26 new file mode 100644
27 index 00000000000..5ff16208070
28 --- /dev/null
29 +++ b/media-libs/lilv/lilv-0.24.12.ebuild
30 @@ -0,0 +1,81 @@
31 +# Copyright 1999-2021 Gentoo Authors
32 +# Distributed under the terms of the GNU General Public License v2
33 +
34 +EAPI=7
35 +
36 +PYTHON_COMPAT=( python3_{6,7,8,9} )
37 +PYTHON_REQ_USE='threads(+)'
38 +
39 +inherit python-single-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 +REQUIRED_USE="${PYTHON_REQUIRED_USE}"
50 +RESTRICT="!test? ( test )"
51 +
52 +BDEPEND="
53 + virtual/pkgconfig
54 + doc? ( app-doc/doxygen )
55 + test? (
56 + $(python_gen_cond_dep '
57 + dev-python/unittest2[${PYTHON_USEDEP}]
58 + ')
59 + )
60 +"
61 +RDEPEND="
62 + ${PYTHON_DEPS}
63 + dev-libs/serd[${MULTILIB_USEDEP}]
64 + dev-libs/sord[${MULTILIB_USEDEP}]
65 + media-libs/libsndfile
66 + media-libs/lv2[${MULTILIB_USEDEP}]
67 + media-libs/sratom[${MULTILIB_USEDEP}]
68 +"
69 +DEPEND="${RDEPEND}"
70 +
71 +pkg_setup() {
72 + python_setup
73 +}
74 +
75 +src_prepare() {
76 + default
77 + sed -i -e 's/^.*run_ldconfig/#\0/' wscript || die
78 + multilib_copy_sources
79 +}
80 +
81 +multilib_src_configure() {
82 + waf-utils_src_configure \
83 + --docdir="${EPREFIX}"/usr/share/doc/${PF} \
84 + --no-bash-completion \
85 + $(multilib_native_usex doc --docs "") \
86 + $(usex test --test "") \
87 + $(usex static-libs --static "") \
88 + $(usex dyn-manifest --dyn-manifest "")
89 +}
90 +
91 +multilib_src_compile() {
92 + ./waf build || die
93 +}
94 +
95 +multilib_src_test() {
96 + ./waf test || die
97 +}
98 +
99 +multilib_src_install() {
100 + waf-utils_src_install
101 +}
102 +
103 +multilib_src_install_all() {
104 + sed -i "/lv2jack/d" utils/lilv.bash_completion
105 + newbashcomp utils/lilv.bash_completion lv2info
106 +
107 + dodir /etc/env.d
108 + echo "LV2_PATH=${EPREFIX}/usr/$(get_libdir)/lv2" > "${ED}/etc/env.d/60lv2"
109 +
110 + python_optimize
111 +}