[arch-commits] Commit in lilv/repos/community-x86_64 (5 files)
David Runge
dvzrv at gemini.archlinux.org
Sun Aug 14 16:28:47 UTC 2022
Date: Sunday, August 14, 2022 @ 16:28:47
Author: dvzrv
Revision: 1266066
archrelease: copy trunk to community-x86_64
Added:
lilv/repos/community-x86_64/PKGBUILD
(from rev 1266065, lilv/trunk/PKGBUILD)
lilv/repos/community-x86_64/keys/
lilv/repos/community-x86_64/lilvmm.patch
(from rev 1266065, lilv/trunk/lilvmm.patch)
Deleted:
lilv/repos/community-x86_64/PKGBUILD
lilv/repos/community-x86_64/lilvmm.patch
--------------+
PKGBUILD | 135 ++++++++++++++++++++++++++++-----------------------------
lilvmm.patch | 80 ++++++++++++++++-----------------
2 files changed, 108 insertions(+), 107 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2022-08-14 16:28:26 UTC (rev 1266065)
+++ PKGBUILD 2022-08-14 16:28:47 UTC (rev 1266066)
@@ -1,67 +0,0 @@
-# Maintainer: David Runge <dvzrv at archlinux.org>
-# Contributor: Ray Rashif <schiv at archlinux.org>
-# Contributor: speps <speps at aur dot archlinux dot org>
-
-pkgname=lilv
-pkgver=0.24.14
-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)
-depends=(glibc lv2)
-makedepends=(libsndfile python serd sord sratom swig waf)
-optdepends=(
- 'bash-completion: completion for bash'
- 'libsndfile: for lv2apply'
- 'python: for Python bindings'
-)
-provides=(liblilv-0.so)
-options=(debug)
-source=(https://download.drobilla.net/$pkgname-$pkgver.tar.bz2{,.sig})
-sha512sums=('f266e91f3cbc325c25dd7d08bde5033091cb3072c2dcb1490e9474f562b798dbc71c45ca7d971ed4dfd6bb16f5f6725ae242a58c4486684b71350e73f1469f47'
- 'SKIP')
-b2sums=('bc84fe5a4bf34f88ea7f9c09cb3168186f7f0fd2f3f23b08f55100502d959fd74fe7e1c6d9307772b1983fbeedde100f75d6751e9bf92a9663aaaa115ca0770c'
- 'SKIP')
-validpgpkeys=('907D226E7E13FA337F014A083672782A9BF368F3') # David Robillard <d at drobilla.net>
-
-prepare() {
- cd $pkgname-$pkgver
- # let wscript(s) find the custom waf scripts
- mkdir -pv tools
- touch __init__.py
- cp -v waflib/extras/{autoship,autowaf,lv2}.py tools/
- mkdir -pv plugins/tools/
- cp -v waflib/extras/{autoship,autowaf,lv2}.py plugins/tools/
- rm -rv waflib
- sed -e 's/waflib.extras/tools/g' \
- -e "s/load('autowaf'/load('autowaf', tooldir='tools'/g" \
- -e "s/load('lv2'/load('lv2', tooldir='tools'/g" \
- -i wscript
-}
-
-build() {
- export LINKFLAGS="$LDFLAGS"
-
- cd $pkgname-$pkgver
- waf configure --prefix=/usr \
- --no-bash-completion \
- --dyn-manifest \
- --test
- waf -v build
-}
-
-check() {
- cd $pkgname-$pkgver
- waf test
-}
-
-package() {
- depends+=(libserd-0.so libsord-0.so libsratom-0.so)
-
- cd $pkgname-$pkgver
- waf install --destdir="$pkgdir"
- install -vDm 644 COPYING -t "$pkgdir/usr/share/licenses/$pkgname/"
- install -vDm 644 utils/lilv.bash_completion "$pkgdir/usr/share/bash-completion/completions/$pkgname"
-}
-# vim:set ts=2 sw=2 et:
Copied: lilv/repos/community-x86_64/PKGBUILD (from rev 1266065, lilv/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2022-08-14 16:28:47 UTC (rev 1266066)
@@ -0,0 +1,68 @@
+# Maintainer: David Runge <dvzrv at archlinux.org>
+# Contributor: Ray Rashif <schiv at archlinux.org>
+# Contributor: speps <speps at aur dot archlinux dot org>
+
+pkgbase=lilv
+pkgname=(lilv lilv-docs)
+pkgver=0.24.18
+pkgrel=1
+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)
+options=(debug)
+source=(https://download.drobilla.net/$pkgname-$pkgver.tar.xz{,.sig})
+sha512sums=('eece846338403ba3e7c366024511d33bd5e399d3b1e6871d04ec3907540a9e3541ab7b0445bf17cf61c5779c5263f1ef23eadefb6411a2e4be8d79464a5b873e'
+ 'SKIP')
+b2sums=('c1d191a8513776b4e783f05076b8a8d5a20866e734527ff84e04d970d190b26d2c922aa6f7ba346632caea47daa265c1008d9295c3f0e41f85227103337ccd1f'
+ 'SKIP')
+validpgpkeys=('907D226E7E13FA337F014A083672782A9BF368F3') # David Robillard <d at drobilla.net>
+
+_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
+}
Deleted: lilvmm.patch
===================================================================
--- lilvmm.patch 2022-08-14 16:28:26 UTC (rev 1266065)
+++ lilvmm.patch 2022-08-14 16:28:47 UTC (rev 1266066)
@@ -1,40 +0,0 @@
-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);
- };
-
Copied: lilv/repos/community-x86_64/lilvmm.patch (from rev 1266065, lilv/trunk/lilvmm.patch)
===================================================================
--- lilvmm.patch (rev 0)
+++ lilvmm.patch 2022-08-14 16:28:47 UTC (rev 1266066)
@@ -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);
+ };
+
More information about the arch-commits
mailing list