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/lv2/
Date: Sun, 29 May 2022 06:35:28
Message-Id: 1653805798.b2a8689f6c5b63e066c3ff0fbdc91f5928b9b42b.fordfrog@gentoo
1 commit: b2a8689f6c5b63e066c3ff0fbdc91f5928b9b42b
2 Author: Miroslav Šulc <fordfrog <AT> gentoo <DOT> org>
3 AuthorDate: Sun May 29 06:29:58 2022 +0000
4 Commit: Miroslav Šulc <fordfrog <AT> gentoo <DOT> org>
5 CommitDate: Sun May 29 06:29:58 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b2a8689f
7
8 media-libs/lv2: bump to 1.18.4
9
10 Signed-off-by: Miroslav Šulc <fordfrog <AT> gentoo.org>
11
12 media-libs/lv2/Manifest | 1 +
13 media-libs/lv2/lv2-1.18.4.ebuild | 62 ++++++++++++++++++++++++++++++++++++++++
14 2 files changed, 63 insertions(+)
15
16 diff --git a/media-libs/lv2/Manifest b/media-libs/lv2/Manifest
17 index ad4c47784cb3..4c416390f82e 100644
18 --- a/media-libs/lv2/Manifest
19 +++ b/media-libs/lv2/Manifest
20 @@ -1 +1,2 @@
21 DIST lv2-1.18.2.tar.bz2 538345 BLAKE2B 824c7bc2ce62de858308d856d0f89c6285c183764be3727eba5074f42543a1bb8a5e1cdd8a85bf0a4ba1103e1243c843013bd516d2d6e7ade09c46380bca3cee SHA512 d5bdcf94d3cf9a569e29964002a038ae73cd6ae7f09f7d973f8fd74858c8cf9d01bbed85ae8bf0a00efcb2b3611357a64571222a89972091941449c36d76b0ef
22 +DIST lv2-1.18.4.tar.bz2 540611 BLAKE2B 84bcb5578110ff933b37b398029ed062c9393e17f17ddaa6329638f3c71e2b17b424f84987c00bc2c5699ffc15649362b98d5b238521e593c578c67450ecfeec SHA512 8095a1f3dcf70cf8cefff18c40b52c1dffeab0fe1f6bfb083c9f0e48a9617d3c8647b3f4db567ac1f5f33564399ffe1023774ad9bacb1bb0133f182422f22d6a
23
24 diff --git a/media-libs/lv2/lv2-1.18.4.ebuild b/media-libs/lv2/lv2-1.18.4.ebuild
25 new file mode 100644
26 index 000000000000..515e321d0440
27 --- /dev/null
28 +++ b/media-libs/lv2/lv2-1.18.4.ebuild
29 @@ -0,0 +1,62 @@
30 +# Copyright 1999-2022 Gentoo Authors
31 +# Distributed under the terms of the GNU General Public License v2
32 +
33 +EAPI=7
34 +
35 +PYTHON_COMPAT=( python3_{8..10} )
36 +PYTHON_REQ_USE='threads(+)'
37 +
38 +inherit python-single-r1 waf-utils multilib-build multilib-minimal
39 +
40 +DESCRIPTION="A simple but extensible successor of LADSPA"
41 +HOMEPAGE="https://lv2plug.in/"
42 +SRC_URI="https://lv2plug.in/spec/${P}.tar.bz2"
43 +
44 +LICENSE="MIT"
45 +SLOT="0"
46 +KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~mips ppc ppc64 ~riscv ~sparc x86"
47 +IUSE="doc plugins"
48 +REQUIRED_USE="${PYTHON_REQUIRED_USE}"
49 +
50 +BDEPEND="
51 + plugins? ( virtual/pkgconfig )
52 + doc? ( app-doc/doxygen dev-python/rdflib )
53 +"
54 +CDEPEND="
55 + ${PYTHON_DEPS}
56 + plugins? ( x11-libs/gtk+:2 media-libs/libsndfile )
57 +"
58 +DEPEND="
59 + ${CDEPEND}
60 + doc? ( dev-python/markdown )
61 +"
62 +RDEPEND="
63 + ${CDEPEND}
64 + $(python_gen_cond_dep '
65 + dev-python/lxml[${PYTHON_USEDEP}]
66 + dev-python/pygments[${PYTHON_USEDEP}]
67 + dev-python/rdflib[${PYTHON_USEDEP}]
68 + ')
69 +"
70 +DOCS=( "README.md" "NEWS" )
71 +
72 +src_prepare() {
73 + default
74 + multilib_copy_sources
75 +}
76 +
77 +multilib_src_configure() {
78 + waf-utils_src_configure \
79 + --docdir="${EPREFIX}"/usr/share/doc/${PF} \
80 + --lv2dir="${EPREFIX}"/usr/$(get_libdir)/lv2 \
81 + $(use plugins || echo " --no-plugins") \
82 + $(multilib_native_usex doc --docs "")
83 +}
84 +
85 +multilib_src_install() {
86 + waf-utils_src_install
87 +}
88 +
89 +multilib_src_install_all() {
90 + python_fix_shebang "${D}"
91 +}