summaryrefslogtreecommitdiff
path: root/media-libs/lv2
diff options
context:
space:
mode:
Diffstat (limited to 'media-libs/lv2')
-rw-r--r--media-libs/lv2/Manifest2
-rw-r--r--media-libs/lv2/lv2-1.18.4.ebuild62
2 files changed, 64 insertions, 0 deletions
diff --git a/media-libs/lv2/Manifest b/media-libs/lv2/Manifest
index d168cdc5b253..1f99c8b6f78c 100644
--- a/media-libs/lv2/Manifest
+++ b/media-libs/lv2/Manifest
@@ -1,3 +1,5 @@
DIST lv2-1.18.2.tar.bz2 538345 BLAKE2B 824c7bc2ce62de858308d856d0f89c6285c183764be3727eba5074f42543a1bb8a5e1cdd8a85bf0a4ba1103e1243c843013bd516d2d6e7ade09c46380bca3cee SHA512 d5bdcf94d3cf9a569e29964002a038ae73cd6ae7f09f7d973f8fd74858c8cf9d01bbed85ae8bf0a00efcb2b3611357a64571222a89972091941449c36d76b0ef
+DIST lv2-1.18.4.tar.bz2 540611 BLAKE2B 84bcb5578110ff933b37b398029ed062c9393e17f17ddaa6329638f3c71e2b17b424f84987c00bc2c5699ffc15649362b98d5b238521e593c578c67450ecfeec SHA512 8095a1f3dcf70cf8cefff18c40b52c1dffeab0fe1f6bfb083c9f0e48a9617d3c8647b3f4db567ac1f5f33564399ffe1023774ad9bacb1bb0133f182422f22d6a
EBUILD lv2-1.18.2.ebuild 1353 BLAKE2B 2570bea49f79de9acefa1539f19788fb2129e59375491d0802e6070ed766e9d48d77e04c21e6f64e354d23e31487738d1448f696ba2ef15da0a7b2d6d89b5c4a SHA512 51bfeb0cc93da2ee4dfd9af0109983e7118641e340060d0a142b79615a78ab8053d581c4044c42ef25dd1a5188057504e2c3a0297171237aab5e45bb2ed3268c
+EBUILD lv2-1.18.4.ebuild 1353 BLAKE2B 2570bea49f79de9acefa1539f19788fb2129e59375491d0802e6070ed766e9d48d77e04c21e6f64e354d23e31487738d1448f696ba2ef15da0a7b2d6d89b5c4a SHA512 51bfeb0cc93da2ee4dfd9af0109983e7118641e340060d0a142b79615a78ab8053d581c4044c42ef25dd1a5188057504e2c3a0297171237aab5e45bb2ed3268c
MISC metadata.xml 341 BLAKE2B 041aa9ea5ba80d8639da9242b14896da75fe648666ec6f4a59de8449a2daf7c741a05187e3265da96c8032ca0ae5a1430dc516fd667b9a0826d561462b5079ca SHA512 7a949f5da6524129d3edbde9917ae3a996b67a36d362a1bbba8a842d70eacb3d3cc5040a62a4daddfd776733635e49b5e70d02001d2a0bf09e9421fc22f3b894
diff --git a/media-libs/lv2/lv2-1.18.4.ebuild b/media-libs/lv2/lv2-1.18.4.ebuild
new file mode 100644
index 000000000000..515e321d0440
--- /dev/null
+++ b/media-libs/lv2/lv2-1.18.4.ebuild
@@ -0,0 +1,62 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=( python3_{8..10} )
+PYTHON_REQ_USE='threads(+)'
+
+inherit python-single-r1 waf-utils multilib-build multilib-minimal
+
+DESCRIPTION="A simple but extensible successor of LADSPA"
+HOMEPAGE="https://lv2plug.in/"
+SRC_URI="https://lv2plug.in/spec/${P}.tar.bz2"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~mips ppc ppc64 ~riscv ~sparc x86"
+IUSE="doc plugins"
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+
+BDEPEND="
+ plugins? ( virtual/pkgconfig )
+ doc? ( app-doc/doxygen dev-python/rdflib )
+"
+CDEPEND="
+ ${PYTHON_DEPS}
+ plugins? ( x11-libs/gtk+:2 media-libs/libsndfile )
+"
+DEPEND="
+ ${CDEPEND}
+ doc? ( dev-python/markdown )
+"
+RDEPEND="
+ ${CDEPEND}
+ $(python_gen_cond_dep '
+ dev-python/lxml[${PYTHON_USEDEP}]
+ dev-python/pygments[${PYTHON_USEDEP}]
+ dev-python/rdflib[${PYTHON_USEDEP}]
+ ')
+"
+DOCS=( "README.md" "NEWS" )
+
+src_prepare() {
+ default
+ multilib_copy_sources
+}
+
+multilib_src_configure() {
+ waf-utils_src_configure \
+ --docdir="${EPREFIX}"/usr/share/doc/${PF} \
+ --lv2dir="${EPREFIX}"/usr/$(get_libdir)/lv2 \
+ $(use plugins || echo " --no-plugins") \
+ $(multilib_native_usex doc --docs "")
+}
+
+multilib_src_install() {
+ waf-utils_src_install
+}
+
+multilib_src_install_all() {
+ python_fix_shebang "${D}"
+}