summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMiroslav Šulc <fordfrog@gentoo.org>2021-01-08 13:31:59 +0100
committerMiroslav Šulc <fordfrog@gentoo.org>2021-01-08 13:31:59 +0100
commit749e2c6474ca3e1824fa48d93c24294f7683bcb6 (patch)
treef430804835dba0da3d6ce1921ec38d1a33130623
parentmedia-plugins/mda-lv2: bump to 1.2.6 (diff)
downloadgentoo-749e2c6474ca3e1824fa48d93c24294f7683bcb6.tar.gz
gentoo-749e2c6474ca3e1824fa48d93c24294f7683bcb6.tar.bz2
gentoo-749e2c6474ca3e1824fa48d93c24294f7683bcb6.zip
media-libs/lv2: bump to 1.18.2
Package-Manager: Portage-3.0.12, Repoman-3.0.2 Signed-off-by: Miroslav Šulc <fordfrog@gentoo.org>
-rw-r--r--media-libs/lv2/Manifest1
-rw-r--r--media-libs/lv2/lv2-1.18.2.ebuild62
2 files changed, 63 insertions, 0 deletions
diff --git a/media-libs/lv2/Manifest b/media-libs/lv2/Manifest
index 86c0983182a9..464aad05f41f 100644
--- a/media-libs/lv2/Manifest
+++ b/media-libs/lv2/Manifest
@@ -1 +1,2 @@
DIST lv2-1.18.0.tar.bz2 530172 BLAKE2B 2d9c7fe6e4de1d68762445061907873ff98871277fe0e423c34b0e9586cc8bfc7674787c020f3c01731204e80262a52902676f6cec8c8a6c18a97953cc626d3e SHA512 9e8dd9c1f30371260d21efc105b1d4d4ad03d9e332d4d3877d873f20b9527bcd0e917ff23fc6e0a9cc4337bda85882c742f225f7cf4fbc8a8a0964565c91f9d9
+DIST lv2-1.18.2.tar.bz2 538345 BLAKE2B 824c7bc2ce62de858308d856d0f89c6285c183764be3727eba5074f42543a1bb8a5e1cdd8a85bf0a4ba1103e1243c843013bd516d2d6e7ade09c46380bca3cee SHA512 d5bdcf94d3cf9a569e29964002a038ae73cd6ae7f09f7d973f8fd74858c8cf9d01bbed85ae8bf0a00efcb2b3611357a64571222a89972091941449c36d76b0ef
diff --git a/media-libs/lv2/lv2-1.18.2.ebuild b/media-libs/lv2/lv2-1.18.2.ebuild
new file mode 100644
index 000000000000..27b679b1caf8
--- /dev/null
+++ b/media-libs/lv2/lv2-1.18.2.ebuild
@@ -0,0 +1,62 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=( python3_{6,7,8,9} )
+PYTHON_REQ_USE='threads(+)'
+
+inherit python-single-r1 waf-utils multilib-build multilib-minimal
+
+DESCRIPTION="A simple but extensible successor of LADSPA"
+HOMEPAGE="https://lv2plug.in/"
+SRC_URI="https://lv2plug.in/spec/${P}.tar.bz2"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~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? ( x11-libs/gtk+:2 media-libs/libsndfile )
+"
+DEPEND="
+ ${CDEPEND}
+ doc? ( dev-python/markdown )
+"
+RDEPEND="
+ ${CDEPEND}
+ $(python_gen_cond_dep '
+ dev-python/lxml[${PYTHON_MULTI_USEDEP}]
+ dev-python/pygments[${PYTHON_MULTI_USEDEP}]
+ dev-python/rdflib[${PYTHON_MULTI_USEDEP}]
+ ')
+"
+DOCS=( "README.md" "NEWS" )
+
+src_prepare() {
+ default
+ multilib_copy_sources
+}
+
+multilib_src_configure() {
+ waf-utils_src_configure \
+ --docdir="${EPREFIX}"/usr/share/doc/${PF} \
+ --lv2dir="${EPREFIX}"/usr/$(get_libdir)/lv2 \
+ $(use plugins || echo " --no-plugins") \
+ $(multilib_native_usex doc --docs "")
+}
+
+multilib_src_install() {
+ waf-utils_src_install
+}
+
+multilib_src_install_all() {
+ python_fix_shebang "${D}"
+}