summaryrefslogtreecommitdiff
path: root/media-libs/lilv
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2022-07-31 15:12:39 +0100
committerV3n3RiX <venerix@koprulu.sector>2022-07-31 15:12:39 +0100
commit2cfae1fadeca2d0c51a301318c96c2cf5073eb6f (patch)
tree711cd9c9044cc9edd306df0c2c17f06558024a29 /media-libs/lilv
parent100ce16c6fb75a4911f388aa77f860324607c869 (diff)
gentoo auto-resync : 31:07:2022 - 15:12:39
Diffstat (limited to 'media-libs/lilv')
-rw-r--r--media-libs/lilv/Manifest4
-rw-r--r--media-libs/lilv/lilv-0.24.16.ebuild84
-rw-r--r--media-libs/lilv/metadata.xml1
3 files changed, 88 insertions, 1 deletions
diff --git a/media-libs/lilv/Manifest b/media-libs/lilv/Manifest
index b344a0cc4333..0b2b5d249bd1 100644
--- a/media-libs/lilv/Manifest
+++ b/media-libs/lilv/Manifest
@@ -1,3 +1,5 @@
DIST lilv-0.24.14.tar.bz2 428004 BLAKE2B bc84fe5a4bf34f88ea7f9c09cb3168186f7f0fd2f3f23b08f55100502d959fd74fe7e1c6d9307772b1983fbeedde100f75d6751e9bf92a9663aaaa115ca0770c SHA512 f266e91f3cbc325c25dd7d08bde5033091cb3072c2dcb1490e9474f562b798dbc71c45ca7d971ed4dfd6bb16f5f6725ae242a58c4486684b71350e73f1469f47
+DIST lilv-0.24.16.tar.xz 117928 BLAKE2B c3e7e9c55f2c2ebe8a02181cd2e11d3413e69a7327e36f6a00b8598174da9f1a8187bd093bc6734cf8057f89b66d8b88bdca8b0e740bbd99b279d9d94ef8da33 SHA512 0e66411a5130771c6440f02ecaf33284ece55ac525d7487436936bca576fa5f5a51a358e50a4b354a927132bdc2b372d6919879514e7c6a679e18f7c0af0178e
EBUILD lilv-0.24.14.ebuild 1776 BLAKE2B 1cd04755b543809c7ec44ec4e3295784398d86213a9dc99fd26fdabea8ee0e72ba11eb1d56105a11360151d0cd83203ae86e590590b29d192701c71ef5c2dfb8 SHA512 a836bdb1fe475aab2664c3fb46889b1b24846396abb08a3e396928afa3579ca6daf6126f1e6a85f75209c65525fa195cfea8182f83f6161b430187d7959126cc
-MISC metadata.xml 627 BLAKE2B daf8d11256943c40b936380dea55442e864896de881882c7a74a041fefb6774d4c632ea54979937a572f88f1e5301f6fc5ff1a9eb56f22c0a606f7c268f07b84 SHA512 b3de9e939e32df99104be4941b3f59a6d03bbb00b31960f6f186a02872db4151f2ac3d8aa5e9ecadf103008a6537026798758c5cbf191fdecd4ee20a68c1767a
+EBUILD lilv-0.24.16.ebuild 1778 BLAKE2B b5675fbd17c3253e19eb84e4c24df336e7520c8208406f4764639ae5c67435f8a3c350db37fc2e75630e3937716175badcfdd2837c18b585362267eee0199365 SHA512 193ab65ac1a39678a63bf4283afa8690d527cabdcbb2f9669430edf5728cb1d2e484a565637b688ea888ddb6d0b0dcb3913ea603ce1c1a8f24643e17f9823cfc
+MISC metadata.xml 684 BLAKE2B 82fdd1a88f5487cfa131221c915a77c19e04d3643fab9c8a9ea702920bbfce881c93f727e560e68532f583060a876407a412e3632a8f84cd30457a6c578f0524 SHA512 e1788982d4cc5c782cad4a3efbc93f7bc4560d45c72809f7c28df377ab7e38774844e013c6bc4859ecabf2cb654d0a89d1f7823d7712ab493c559f9ee4955ee0
diff --git a/media-libs/lilv/lilv-0.24.16.ebuild b/media-libs/lilv/lilv-0.24.16.ebuild
new file mode 100644
index 000000000000..4ef4e590a74d
--- /dev/null
+++ b/media-libs/lilv/lilv-0.24.16.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..11} )
+PYTHON_REQ_USE='threads(+)'
+
+inherit meson-multilib python-single-r1 bash-completion-r1
+
+DESCRIPTION="Library to make the use of LV2 plugins as simple as possible for applications"
+HOMEPAGE="http://drobilla.net/software/lilv/"
+SRC_URI="http://download.drobilla.net/${P}.tar.xz"
+
+LICENSE="ISC"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~sparc ~x86"
+IUSE="doc python test tools"
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+RESTRICT="!test? ( test )"
+
+BDEPEND="
+ virtual/pkgconfig
+ doc? (
+ app-doc/doxygen
+ dev-python/sphinx
+ dev-python/sphinx_lv2_theme
+ )
+"
+RDEPEND="
+ ${PYTHON_DEPS}
+ dev-libs/serd[${MULTILIB_USEDEP}]
+ dev-libs/sord[${MULTILIB_USEDEP}]
+ media-libs/libsndfile
+ media-libs/lv2[${MULTILIB_USEDEP}]
+ media-libs/sratom[${MULTILIB_USEDEP}]
+"
+DEPEND="${RDEPEND}"
+
+pkg_setup() {
+ python_setup
+}
+
+src_prepare() {
+ default
+
+ # fix doc installation path
+ sed -iE "s%install_dir: docdir / 'lilv-0',%install_dir: docdir / '${PF}',%g" doc/c/meson.build || die
+}
+
+multilib_src_configure() {
+ local emesonargs=(
+ $(meson_native_use_feature doc docs)
+ $(meson_feature python bindings_py)
+ $(meson_feature test tests)
+ $(meson_feature tools)
+ )
+
+ meson_src_configure
+}
+
+multilib_src_test() {
+ meson_src_test
+}
+
+multilib_src_compile() {
+ meson_src_compile
+}
+
+multilib_src_install() {
+ meson_src_install
+ python_optimize
+}
+
+mutlilib_src_install_all() {
+ local DOCS=( AUTHORS NEWS README.md )
+ einstalldocs
+
+ sed -i "/lv2jack/d" utils/lilv.bash_completion
+ newbashcomp utils/lilv.bash_completion lv2info
+
+ dodir /etc/env.d
+ echo "LV2_PATH=${EPREFIX}/usr/$(get_libdir)/lv2" > "${ED}/etc/env.d/60lv2"
+}
diff --git a/media-libs/lilv/metadata.xml b/media-libs/lilv/metadata.xml
index a4159be9f869..73ee86845cd8 100644
--- a/media-libs/lilv/metadata.xml
+++ b/media-libs/lilv/metadata.xml
@@ -11,5 +11,6 @@
</longdescription>
<use>
<flag name="dyn-manifest">Add LV2 Dynamic Manifest support. See http://lv2plug.in/ns/ext/dynmanifest/</flag>
+ <flag name="tools">Build command line utilities</flag>
</use>
</pkgmetadata>