summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMiroslav Šulc <fordfrog@gentoo.org>2022-10-02 09:35:46 +0200
committerMiroslav Šulc <fordfrog@gentoo.org>2022-10-02 09:35:46 +0200
commite65441f8bc67c39b8163ce9c702d858091c1eb44 (patch)
tree55b5fc9788f3117a4bb94024ec0281fcf513970e /media-libs/lv2
parentmedia-libs/lilv: bump to 0.24.20 + updated homepage (diff)
downloadgentoo-e65441f8bc67c39b8163ce9c702d858091c1eb44.tar.gz
gentoo-e65441f8bc67c39b8163ce9c702d858091c1eb44.tar.bz2
gentoo-e65441f8bc67c39b8163ce9c702d858091c1eb44.zip
media-libs/lv2: bump to 1.18.10
Signed-off-by: Miroslav Šulc <fordfrog@gentoo.org>
Diffstat (limited to 'media-libs/lv2')
-rw-r--r--media-libs/lv2/Manifest1
-rw-r--r--media-libs/lv2/lv2-1.18.10.ebuild73
2 files changed, 74 insertions, 0 deletions
diff --git a/media-libs/lv2/Manifest b/media-libs/lv2/Manifest
index 0ca18457e3b0..5ac972a69b2b 100644
--- a/media-libs/lv2/Manifest
+++ b/media-libs/lv2/Manifest
@@ -1 +1,2 @@
+DIST lv2-1.18.10.tar.xz 237380 BLAKE2B 72f9bc50ebac5d71279e0616bb1eb3c2a6748a28ff68988294135b18c7adc68c46a52b4698faf79f633768bf850d5052128a9f84b90aa9b5f9a56721acaf04c3 SHA512 ab4bcf593f633b1ed16c0eb6aa4525458a00655ef9c87619bf85eaa966f8fd094a8e871b825f679e0d97923f8bbbf11841ff467022390ca2f1a5b5f66ccd5d1b
DIST lv2-1.18.8.tar.xz 230584 BLAKE2B b9d6480286f0709d3e7ddd9444c092e4e1e108ed384a8cdc7991ec870e8374869bab21e09ebebad4c59445ec3a90ddd05bf2c461a1c9aeb986f68d84a937bbbd SHA512 9925290818bd683200bc738e3e9342b946fe82a04d983e89c240ae70b9053a7a59a8d505c522fe7af5b804adeba00fdf94403bd34844ce11e26cc1ff62c2f254
diff --git a/media-libs/lv2/lv2-1.18.10.ebuild b/media-libs/lv2/lv2-1.18.10.ebuild
new file mode 100644
index 000000000000..4d070eae7261
--- /dev/null
+++ b/media-libs/lv2/lv2-1.18.10.ebuild
@@ -0,0 +1,73 @@
+# 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/libsamplerate
+ 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}]
+ ')
+"
+
+PATCHES=(
+ "${FILESDIR}/${PN}-1.18.6-add-missing-lv2.h.patch"
+)
+
+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_install_all() {
+ local DOCS=( NEWS README.md )
+ einstalldocs
+}