summaryrefslogtreecommitdiff
path: root/media-libs/lv2
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2024-05-29 00:07:15 +0100
committerV3n3RiX <venerix@koprulu.sector>2024-05-29 00:07:15 +0100
commit5c4786a868bad6e3f46aecf32ad6c6dc5de98408 (patch)
tree1a1792815761a5b6f645c8d55b6b698e102dca48 /media-libs/lv2
parent3c1648a0749c1d66b300d857e6b417c1162890da (diff)
gentoo auto-resync : 29:05:2024 - 00:07:15
Diffstat (limited to 'media-libs/lv2')
-rw-r--r--media-libs/lv2/Manifest1
-rw-r--r--media-libs/lv2/lv2-1.18.10-r1.ebuild87
2 files changed, 88 insertions, 0 deletions
diff --git a/media-libs/lv2/Manifest b/media-libs/lv2/Manifest
index 7cd61302a278..23a7b82bddd2 100644
--- a/media-libs/lv2/Manifest
+++ b/media-libs/lv2/Manifest
@@ -1,5 +1,6 @@
AUX lv2-1.18.10-tests-optional.patch 1245 BLAKE2B 1b77b64a9b613bf2299cb4bfc8f53f360a2c4b12754809ea38dca5f4d40c0a3cc636ce16131f50fbb1730af535de96749873cde7e34ecceb1c055ef614aad70c SHA512 000fe518c276d3e25558ccf76a9fd34ac4fb8c5222b94a8d47fb517496a5020963b02136b398116776e66d25920672dd57f1c3d88cbc7cfc7bc26107367aea93
AUX lv2-1.18.6-add-missing-lv2.h.patch 401 BLAKE2B 36380468184705a7f0076e293af0c69c60815676046749f2c6bf41c8e0ad747115c673671d67bfc2882d9782288f9b7627b9dafadb023063bc478bbfa0c7c86d SHA512 bdc404792a522c2bca25ca243c469a4d109b253a761d32981055469314b23e3bb470c60b46d75b6ee1f077c7d978b51dfb2d95671cdb1eb6fd83aad01c6df4d6
DIST lv2-1.18.10.tar.xz 237380 BLAKE2B 72f9bc50ebac5d71279e0616bb1eb3c2a6748a28ff68988294135b18c7adc68c46a52b4698faf79f633768bf850d5052128a9f84b90aa9b5f9a56721acaf04c3 SHA512 ab4bcf593f633b1ed16c0eb6aa4525458a00655ef9c87619bf85eaa966f8fd094a8e871b825f679e0d97923f8bbbf11841ff467022390ca2f1a5b5f66ccd5d1b
+EBUILD lv2-1.18.10-r1.ebuild 1911 BLAKE2B 741cc7756f494796ef108128e4974eff376b02928e24794f2d8a5d9d839de7d3bedc8163d075d9a13854f7b8b6cc23076d49a0b90f31b2ca8ee272fff6b6c1c4 SHA512 004705638ed80893ec1def1aaf69792429c41b59ae71376dfb666575aa643acd29cc8f96ec31321110b301c563c568b2e2388672e60198eaf52d51e922c524b7
EBUILD lv2-1.18.10.ebuild 1804 BLAKE2B 0e07017df793c1307671399a37b1d581186b25539f4030787f6c29ba17812d734f3b6e6fed7129967d11a6cbf0ddbd5fe27da51d9b7d82ae96ab9275cb58f593 SHA512 6eb5571a6fa4ab2365097cf9dd11f8a4bfa5d5a7338738aed9f5917fee6c723611507da554b96f0aad6bea3cfa77eebfbbb867bf10dc60214b26e2ce8adf439c
MISC metadata.xml 466 BLAKE2B dadec1c479bf528c62768913e86892f085a1879288abe0b55dcab28ec54583629445c38efce1deb20cfcfdeeb1d6989e10295c8c2014874b83e742e08db26089 SHA512 bfa47b7b47c935f8d2ff2f9d99fd56bb1cc5e98467d18636e73dc59e4ed7f0fa795c05e0bfd27a3146bfe615b4254c67960b06465989dd3d9524894b1063c63c
diff --git a/media-libs/lv2/lv2-1.18.10-r1.ebuild b/media-libs/lv2/lv2-1.18.10-r1.ebuild
new file mode 100644
index 000000000000..c454df2d4874
--- /dev/null
+++ b/media-libs/lv2/lv2-1.18.10-r1.ebuild
@@ -0,0 +1,87 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{10..12} )
+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 ~loong ~mips ppc ppc64 ~riscv ~sparc x86"
+IUSE="doc plugins test"
+RESTRICT="!test? ( test )"
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+
+BDEPEND="
+ plugins? ( virtual/pkgconfig )
+ doc? (
+ app-text/doxygen
+ dev-python/rdflib
+ )
+ test? (
+ dev-libs/sord[tools]
+ dev-python/rdflib
+ )
+"
+CDEPEND="
+ ${PYTHON_DEPS}
+ plugins? (
+ media-libs/libsamplerate
+ media-libs/libsndfile
+ x11-libs/gtk+:2[${MULTILIB_USEDEP}]
+ )
+"
+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"
+ "${FILESDIR}/${P}-tests-optional.patch"
+)
+
+src_prepare() {
+ default
+
+ # XXX: Drop this > 1.18.10, -Dstrict=false should prevent it now, bug #906047.
+ sed -i -e "/codespell = /s:get_option('tests'):false:" test/meson.build || die
+
+ # serdi >=0.32.0 doesn't pass, bug #930273.
+ sed -i -e "/serdi = /s:find_program(.*):disabler():" test/meson.build || die
+
+ # 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
+ -Dstrict=false
+ $(meson_native_use_feature doc docs)
+ $(meson_feature plugins)
+ $(meson_feature test tests)
+ )
+
+ meson_src_configure
+}
+
+multilib_src_install_all() {
+ local DOCS=( NEWS README.md )
+ einstalldocs
+}