summaryrefslogtreecommitdiff
path: root/media-libs/lv2
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2022-07-30 15:10:23 +0100
committerV3n3RiX <venerix@koprulu.sector>2022-07-30 15:10:23 +0100
commit27b0740bf48a0a181090a49d20f368ac8474e90b (patch)
treed715e035ea5c7dfe4a21b510e898913c33289cfa /media-libs/lv2
parentad0412d0cafb8c04ce98024155cf99a4cc27db44 (diff)
gentoo auto-resync : 30:07:2022 - 15:10:23
Diffstat (limited to 'media-libs/lv2')
-rw-r--r--media-libs/lv2/Manifest2
-rw-r--r--media-libs/lv2/lv2-1.18.6.ebuild80
2 files changed, 82 insertions, 0 deletions
diff --git a/media-libs/lv2/Manifest b/media-libs/lv2/Manifest
index ed920a17a21b..5e6b9d6864c5 100644
--- a/media-libs/lv2/Manifest
+++ b/media-libs/lv2/Manifest
@@ -1,3 +1,5 @@
DIST lv2-1.18.4.tar.bz2 540611 BLAKE2B 84bcb5578110ff933b37b398029ed062c9393e17f17ddaa6329638f3c71e2b17b424f84987c00bc2c5699ffc15649362b98d5b238521e593c578c67450ecfeec SHA512 8095a1f3dcf70cf8cefff18c40b52c1dffeab0fe1f6bfb083c9f0e48a9617d3c8647b3f4db567ac1f5f33564399ffe1023774ad9bacb1bb0133f182422f22d6a
+DIST lv2-1.18.6.tar.xz 232836 BLAKE2B 27c9eb3e15e4515a63f93552c8924c502f8bc585fbf62a62a1fca4ff7fd2e9940827cda4b5c7cbb6858324e1dba5bcad2ad75239da9f860db56e6839224ae186 SHA512 baecef70abe8354bca056d67085657e2174e39d2030a5173a226ee194c96662d6c3351df4500b4631e08798765dfed6d758b6be16a2ea78c4f29abb53c5d786f
EBUILD lv2-1.18.4.ebuild 1353 BLAKE2B 2570bea49f79de9acefa1539f19788fb2129e59375491d0802e6070ed766e9d48d77e04c21e6f64e354d23e31487738d1448f696ba2ef15da0a7b2d6d89b5c4a SHA512 51bfeb0cc93da2ee4dfd9af0109983e7118641e340060d0a142b79615a78ab8053d581c4044c42ef25dd1a5188057504e2c3a0297171237aab5e45bb2ed3268c
+EBUILD lv2-1.18.6.ebuild 1473 BLAKE2B 3b0e035920943d883ee36b1bff394e6247b5273e54a5d3ffa1708393c2e42f0b81758b5d61a8850d58e75a8903c222c813ee55beba718ecbc72f967298c5ef9a SHA512 cb5c1c4a6d8763d9e79eadf0726afe3b75e4f4dba56176f3f1dfc7c3363c4072ef64b53338f1776993bc161d4febf82943e50c23a6c7fa90f7ba4fe430413e5e
MISC metadata.xml 341 BLAKE2B 041aa9ea5ba80d8639da9242b14896da75fe648666ec6f4a59de8449a2daf7c741a05187e3265da96c8032ca0ae5a1430dc516fd667b9a0826d561462b5079ca SHA512 7a949f5da6524129d3edbde9917ae3a996b67a36d362a1bbba8a842d70eacb3d3cc5040a62a4daddfd776733635e49b5e70d02001d2a0bf09e9421fc22f3b894
diff --git a/media-libs/lv2/lv2-1.18.6.ebuild b/media-libs/lv2/lv2-1.18.6.ebuild
new file mode 100644
index 000000000000..b6fd70616c65
--- /dev/null
+++ b/media-libs/lv2/lv2-1.18.6.ebuild
@@ -0,0 +1,80 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{8..10} )
+PYTHON_REQ_USE='threads(+)'
+
+inherit meson-multilib python-single-r1
+
+DESCRIPTION="A simple but extensible successor of LADSPA"
+HOMEPAGE="https://lv2plug.in/"
+SRC_URI="https://lv2plug.in/spec/${P}.tar.xz"
+
+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? (
+ media-libs/libsndfile
+ x11-libs/gtk+:2
+ )
+"
+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}]
+ ')
+"
+
+src_prepare() {
+ default
+
+ # fix doc installation path
+ sed -iE "s%lv2_docdir = .*%lv2_docdir = '"${EPREFIX}"/usr/share/doc/${PF}'%g" meson.build || die
+}
+
+multilib_src_configure() {
+ local emesonargs=(
+ -Dlv2dir="${EPREFIX}"/usr/$(get_libdir)/lv2
+ $(meson_native_use_feature doc docs)
+ $(meson_feature plugins)
+ )
+
+ meson_src_configure
+}
+
+multilib_src_test() {
+ meson_src_test
+}
+
+multilib_src_compile() {
+ meson_src_compile
+}
+
+multilib_src_install() {
+ meson_src_install
+}
+
+mutlilib_src_install_all() {
+ local DOCS=( NEWS README.md )
+ einstalldocs
+}