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: Sun, 31 Jul 2022 07:50:55
Message-Id: 1659253849.e7395dfd755a1a50401252e66ebf625cdd23741f.fordfrog@gentoo
1 commit: e7395dfd755a1a50401252e66ebf625cdd23741f
2 Author: Miroslav Šulc <fordfrog <AT> gentoo <DOT> org>
3 AuthorDate: Sun Jul 31 07:50:41 2022 +0000
4 Commit: Miroslav Šulc <fordfrog <AT> gentoo <DOT> org>
5 CommitDate: Sun Jul 31 07:50:49 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e7395dfd
7
8 media-libs/lilv: bump to 0.24.16
9
10 Signed-off-by: Miroslav Šulc <fordfrog <AT> gentoo.org>
11
12 media-libs/lilv/Manifest | 1 +
13 media-libs/lilv/lilv-0.24.16.ebuild | 84 +++++++++++++++++++++++++++++++++++++
14 media-libs/lilv/metadata.xml | 1 +
15 3 files changed, 86 insertions(+)
16
17 diff --git a/media-libs/lilv/Manifest b/media-libs/lilv/Manifest
18 index 0f6d4447404d..8db16ae3b73d 100644
19 --- a/media-libs/lilv/Manifest
20 +++ b/media-libs/lilv/Manifest
21 @@ -1 +1,2 @@
22 DIST lilv-0.24.14.tar.bz2 428004 BLAKE2B bc84fe5a4bf34f88ea7f9c09cb3168186f7f0fd2f3f23b08f55100502d959fd74fe7e1c6d9307772b1983fbeedde100f75d6751e9bf92a9663aaaa115ca0770c SHA512 f266e91f3cbc325c25dd7d08bde5033091cb3072c2dcb1490e9474f562b798dbc71c45ca7d971ed4dfd6bb16f5f6725ae242a58c4486684b71350e73f1469f47
23 +DIST lilv-0.24.16.tar.xz 117928 BLAKE2B c3e7e9c55f2c2ebe8a02181cd2e11d3413e69a7327e36f6a00b8598174da9f1a8187bd093bc6734cf8057f89b66d8b88bdca8b0e740bbd99b279d9d94ef8da33 SHA512 0e66411a5130771c6440f02ecaf33284ece55ac525d7487436936bca576fa5f5a51a358e50a4b354a927132bdc2b372d6919879514e7c6a679e18f7c0af0178e
24
25 diff --git a/media-libs/lilv/lilv-0.24.16.ebuild b/media-libs/lilv/lilv-0.24.16.ebuild
26 new file mode 100644
27 index 000000000000..4ef4e590a74d
28 --- /dev/null
29 +++ b/media-libs/lilv/lilv-0.24.16.ebuild
30 @@ -0,0 +1,84 @@
31 +# Copyright 1999-2022 Gentoo Authors
32 +# Distributed under the terms of the GNU General Public License v2
33 +
34 +EAPI=8
35 +
36 +PYTHON_COMPAT=( python3_{8..11} )
37 +PYTHON_REQ_USE='threads(+)'
38 +
39 +inherit meson-multilib python-single-r1 bash-completion-r1
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.xz"
44 +
45 +LICENSE="ISC"
46 +SLOT="0"
47 +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~sparc ~x86"
48 +IUSE="doc python test tools"
49 +REQUIRED_USE="${PYTHON_REQUIRED_USE}"
50 +RESTRICT="!test? ( test )"
51 +
52 +BDEPEND="
53 + virtual/pkgconfig
54 + doc? (
55 + app-doc/doxygen
56 + dev-python/sphinx
57 + dev-python/sphinx_lv2_theme
58 + )
59 +"
60 +RDEPEND="
61 + ${PYTHON_DEPS}
62 + dev-libs/serd[${MULTILIB_USEDEP}]
63 + dev-libs/sord[${MULTILIB_USEDEP}]
64 + media-libs/libsndfile
65 + media-libs/lv2[${MULTILIB_USEDEP}]
66 + media-libs/sratom[${MULTILIB_USEDEP}]
67 +"
68 +DEPEND="${RDEPEND}"
69 +
70 +pkg_setup() {
71 + python_setup
72 +}
73 +
74 +src_prepare() {
75 + default
76 +
77 + # fix doc installation path
78 + sed -iE "s%install_dir: docdir / 'lilv-0',%install_dir: docdir / '${PF}',%g" doc/c/meson.build || die
79 +}
80 +
81 +multilib_src_configure() {
82 + local emesonargs=(
83 + $(meson_native_use_feature doc docs)
84 + $(meson_feature python bindings_py)
85 + $(meson_feature test tests)
86 + $(meson_feature tools)
87 + )
88 +
89 + meson_src_configure
90 +}
91 +
92 +multilib_src_test() {
93 + meson_src_test
94 +}
95 +
96 +multilib_src_compile() {
97 + meson_src_compile
98 +}
99 +
100 +multilib_src_install() {
101 + meson_src_install
102 + python_optimize
103 +}
104 +
105 +mutlilib_src_install_all() {
106 + local DOCS=( AUTHORS NEWS README.md )
107 + einstalldocs
108 +
109 + sed -i "/lv2jack/d" utils/lilv.bash_completion
110 + newbashcomp utils/lilv.bash_completion lv2info
111 +
112 + dodir /etc/env.d
113 + echo "LV2_PATH=${EPREFIX}/usr/$(get_libdir)/lv2" > "${ED}/etc/env.d/60lv2"
114 +}
115
116 diff --git a/media-libs/lilv/metadata.xml b/media-libs/lilv/metadata.xml
117 index a4159be9f869..73ee86845cd8 100644
118 --- a/media-libs/lilv/metadata.xml
119 +++ b/media-libs/lilv/metadata.xml
120 @@ -11,5 +11,6 @@
121 </longdescription>
122 <use>
123 <flag name="dyn-manifest">Add LV2 Dynamic Manifest support. See http://lv2plug.in/ns/ext/dynmanifest/</flag>
124 + <flag name="tools">Build command line utilities</flag>
125 </use>
126 </pkgmetadata>