Date: Saturday, April 8, 2023 @ 03:11:27
Author: felixonmars
Revision: 1441564
archrelease: copy trunk to community-staging-x86_64
Added:
lilv/repos/community-staging-x86_64/
lilv/repos/community-staging-x86_64/PKGBUILD
(from rev 1441556, lilv/trunk/PKGBUILD)
lilv/repos/community-staging-x86_64/keys/
lilv/repos/community-staging-x86_64/lilvmm.patch
(from rev 1441559, lilv/trunk/lilvmm.patch)
--------------+
PKGBUILD | 67 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++
lilvmm.patch | 40 ++++++++++++++++++++++++++++++++++
2 files changed, 107 insertions(+)
Copied: lilv/repos/community-staging-x86_64/PKGBUILD (from rev 1441556,
lilv/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD (rev 0)
+++ community-staging-x86_64/PKGBUILD 2023-04-08 03:11:27 UTC (rev 1441564)
@@ -0,0 +1,67 @@
+# Maintainer: David Runge <[email protected]>
+# Contributor: Ray Rashif <[email protected]>
+# Contributor: speps <speps at aur dot archlinux dot org>
+
+pkgbase=lilv
+pkgname=(lilv lilv-docs)
+pkgver=0.24.20
+pkgrel=2
+pkgdesc="A C library interface to the LV2 plug-in standard"
+arch=(x86_64)
+url="https://drobilla.net/software/lilv.html"
+license=(ISC)
+makedepends=(doxygen libsndfile lv2 meson python python-sphinx
python-sphinx-lv2-theme serd sord sratom swig)
+source=(https://download.drobilla.net/$pkgname-$pkgver.tar.xz{,.sig})
+sha512sums=('68963b66fd6e577280867fcd5a601fd2cf539a10fcf0b667c22165cc7e42206fd6a20d56dbe97b587fb68f798d4db3b2351b87b1243c665c3a2b1bb82cbbf9a3'
+ 'SKIP')
+b2sums=('50b2044a7fb62cfcbea6dc68cd0d26503780f30a5a04e2ceafca9e02b2369965d7d27b8d08bbfa136930a3b18a3e0eb6cf4c326d3c2d46218badb4a8ec6e1e01'
+ 'SKIP')
+validpgpkeys=('907D226E7E13FA337F014A083672782A9BF368F3') # David Robillard
<[email protected]>
+
+_pick() {
+ local p="$1" f d; shift
+ for f; do
+ d="$srcdir/$p/${f#$pkgdir/}"
+ mkdir -p "$(dirname "$d")"
+ mv "$f" "$d"
+ rmdir -p --ignore-fail-on-non-empty "$(dirname "$f")"
+ done
+}
+
+build() {
+ arch-meson $pkgname-$pkgver build
+ meson compile -C build
+}
+
+check() {
+ meson test -C build
+}
+
+package_lilv() {
+ depends=(glibc libserd-0.so libsord-0.so libsratom-0.so lv2)
+ optdepends=(
+ 'libsndfile: for lv2apply'
+ 'lilv-docs: for documentation'
+ 'python-numpy: for Python bindings'
+ )
+ provides=(liblilv-0.so)
+
+ meson install -C build --destdir "$pkgdir"
+ (
+ cd "$pkgdir"
+ _pick $pkgname-docs usr/share/doc
+ )
+ install -vDm 644 $pkgname-$pkgver/COPYING -t
"$pkgdir/usr/share/licenses/$pkgname/"
+ install -vDm 644 $pkgname-$pkgver/{NEWS,README.md} -t
"$pkgdir/usr/share/doc/$pkgname/"
+ # install bash completion to correct directory and remove /etc
+ install -vDm 644 "$pkgdir/etc/bash_completion.d/$pkgname" -t
"$pkgdir/usr/share/bash-completion/completions/"
+ rm -frv "$pkgdir/etc"
+}
+
+package_lilv-docs() {
+ pkgdesc+=" - documentation"
+
+ mv -v $pkgname/* "$pkgdir"
+ mv -v "$pkgdir/usr/share/doc/$pkgbase"{-0,}
+ find "$pkgdir" -type f -iname "*.buildinfo" -delete
+}
Copied: lilv/repos/community-staging-x86_64/lilvmm.patch (from rev 1441559,
lilv/trunk/lilvmm.patch)
===================================================================
--- community-staging-x86_64/lilvmm.patch (rev 0)
+++ community-staging-x86_64/lilvmm.patch 2023-04-08 03:11:27 UTC (rev
1441564)
@@ -0,0 +1,40 @@
+Index: trunk/lilv/lilv/lilvmm.hpp
+===================================================================
+--- trunk/lilv/lilv/lilvmm.hpp (revision 4975)
++++ trunk/lilv/lilv/lilvmm.hpp (revision 5092)
+@@ -48,4 +48,9 @@
+ inline RT name(T1 a1, T2 a2) { \
+ return lilv_ ## prefix ## _ ## name(me, a1, a2); \
++ }
++
++#define LILV_WRAP3(RT, prefix, name, T1, a1, T2, a2, T3, a3) \
++ inline RT name(T1 a1, T2 a2, T3 a3) { \
++ return lilv_ ## prefix ## _ ## name(me, a1, a2, a3); \
+ }
+
+@@ -138,4 +143,25 @@
+ LILV_WRAP1(bool, nodes, contains, const Node, node);
+ LILV_WRAP0(Node, nodes, get_first);
++};
++
++struct UI {
++ inline UI(const LilvUI* c_obj) : me(c_obj) {}
++ LILV_WRAP_CONVERSION(const LilvUI);
++
++ LILV_WRAP0(const LilvNode*, ui, get_uri);
++ LILV_WRAP0(const LilvNode*, ui, get_bundle_uri);
++ LILV_WRAP0(const LilvNode*, ui, get_binary_uri);
++ LILV_WRAP0(const LilvNodes*, ui, get_classes);
++ /*LILV_WRAP3(bool, ui, is_supported,
++ LilvUISupportedFunc, supported_func,
++ const LilvNode*, container_type,
++ const LilvNode**, ui_type);*/
++ LILV_WRAP1(bool, ui, is_a, const LilvNode*, class_uri);
++
++ const LilvUI* me;
++};
++
++struct UIs {
++ LILV_WRAP_COLL(UIs, UI, uis);
+ };
+