diff options
author | Miroslav Šulc <fordfrog@gentoo.org> | 2022-07-30 13:31:54 +0200 |
---|---|---|
committer | Miroslav Šulc <fordfrog@gentoo.org> | 2022-07-30 13:32:43 +0200 |
commit | 62a95012267df8ab2eced8d52b75be9f1e08f3c6 (patch) | |
tree | ca2f42f67ed073b43feb71d8dc1563e5b78a61e8 /media-libs/lv2 | |
parent | media-sound/alsa-utils: Stabilize 1.2.7-r1 sparc, #862124 (diff) | |
download | gentoo-62a95012267df8ab2eced8d52b75be9f1e08f3c6.tar.gz gentoo-62a95012267df8ab2eced8d52b75be9f1e08f3c6.tar.bz2 gentoo-62a95012267df8ab2eced8d52b75be9f1e08f3c6.zip |
media-libs/lv2: bump to 1.18.6
Signed-off-by: Miroslav Šulc <fordfrog@gentoo.org>
Diffstat (limited to 'media-libs/lv2')
-rw-r--r-- | media-libs/lv2/Manifest | 1 | ||||
-rw-r--r-- | media-libs/lv2/lv2-1.18.6.ebuild | 80 |
2 files changed, 81 insertions, 0 deletions
diff --git a/media-libs/lv2/Manifest b/media-libs/lv2/Manifest index 7ba010202b57..86efe51befab 100644 --- a/media-libs/lv2/Manifest +++ b/media-libs/lv2/Manifest @@ -1 +1,2 @@ DIST lv2-1.18.4.tar.bz2 540611 BLAKE2B 84bcb5578110ff933b37b398029ed062c9393e17f17ddaa6329638f3c71e2b17b424f84987c00bc2c5699ffc15649362b98d5b238521e593c578c67450ecfeec SHA512 8095a1f3dcf70cf8cefff18c40b52c1dffeab0fe1f6bfb083c9f0e48a9617d3c8647b3f4db567ac1f5f33564399ffe1023774ad9bacb1bb0133f182422f22d6a +DIST lv2-1.18.6.tar.xz 232836 BLAKE2B 27c9eb3e15e4515a63f93552c8924c502f8bc585fbf62a62a1fca4ff7fd2e9940827cda4b5c7cbb6858324e1dba5bcad2ad75239da9f860db56e6839224ae186 SHA512 baecef70abe8354bca056d67085657e2174e39d2030a5173a226ee194c96662d6c3351df4500b4631e08798765dfed6d758b6be16a2ea78c4f29abb53c5d786f 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 +} |