diff options
author | Miroslav Šulc <fordfrog@gentoo.org> | 2022-08-15 07:51:54 +0200 |
---|---|---|
committer | Miroslav Šulc <fordfrog@gentoo.org> | 2022-08-15 07:51:54 +0200 |
commit | 66f5cc04ab04ed21b7f92e223cb9657ba9b32d7a (patch) | |
tree | 7bd1abb3282261f1d764d4ab4b0938cb4da51156 /media-libs/lv2 | |
parent | media-libs/suil: bump to 0.10.16 (diff) | |
download | gentoo-66f5cc04ab04ed21b7f92e223cb9657ba9b32d7a.tar.gz gentoo-66f5cc04ab04ed21b7f92e223cb9657ba9b32d7a.tar.bz2 gentoo-66f5cc04ab04ed21b7f92e223cb9657ba9b32d7a.zip |
media-libs/lv2: bump to 1.18.8
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.8.ebuild | 84 |
2 files changed, 85 insertions, 0 deletions
diff --git a/media-libs/lv2/Manifest b/media-libs/lv2/Manifest index 86efe51befab..d23614081860 100644 --- a/media-libs/lv2/Manifest +++ b/media-libs/lv2/Manifest @@ -1,2 +1,3 @@ DIST lv2-1.18.4.tar.bz2 540611 BLAKE2B 84bcb5578110ff933b37b398029ed062c9393e17f17ddaa6329638f3c71e2b17b424f84987c00bc2c5699ffc15649362b98d5b238521e593c578c67450ecfeec SHA512 8095a1f3dcf70cf8cefff18c40b52c1dffeab0fe1f6bfb083c9f0e48a9617d3c8647b3f4db567ac1f5f33564399ffe1023774ad9bacb1bb0133f182422f22d6a DIST lv2-1.18.6.tar.xz 232836 BLAKE2B 27c9eb3e15e4515a63f93552c8924c502f8bc585fbf62a62a1fca4ff7fd2e9940827cda4b5c7cbb6858324e1dba5bcad2ad75239da9f860db56e6839224ae186 SHA512 baecef70abe8354bca056d67085657e2174e39d2030a5173a226ee194c96662d6c3351df4500b4631e08798765dfed6d758b6be16a2ea78c4f29abb53c5d786f +DIST lv2-1.18.8.tar.xz 230584 BLAKE2B b9d6480286f0709d3e7ddd9444c092e4e1e108ed384a8cdc7991ec870e8374869bab21e09ebebad4c59445ec3a90ddd05bf2c461a1c9aeb986f68d84a937bbbd SHA512 9925290818bd683200bc738e3e9342b946fe82a04d983e89c240ae70b9053a7a59a8d505c522fe7af5b804adeba00fdf94403bd34844ce11e26cc1ff62c2f254 diff --git a/media-libs/lv2/lv2-1.18.8.ebuild b/media-libs/lv2/lv2-1.18.8.ebuild new file mode 100644 index 000000000000..cb7c90fbefa6 --- /dev/null +++ b/media-libs/lv2/lv2-1.18.8.ebuild @@ -0,0 +1,84 @@ +# 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}] + ') +" + +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_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 +} |