[arch-commits] Commit in lilv/repos (3 files)

Evangelos Foutras foutrelis at archlinux.org
Tue Nov 10 05:07:29 UTC 2020


    Date: Tuesday, November 10, 2020 @ 05:07:28
  Author: foutrelis
Revision: 749306

archrelease: copy trunk to community-staging-x86_64

Added:
  lilv/repos/community-staging-x86_64/
  lilv/repos/community-staging-x86_64/PKGBUILD
    (from rev 749305, lilv/trunk/PKGBUILD)
  lilv/repos/community-staging-x86_64/lilvmm.patch
    (from rev 749305, lilv/trunk/lilvmm.patch)

--------------+
 PKGBUILD     |   65 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 lilvmm.patch |   40 +++++++++++++++++++++++++++++++++++
 2 files changed, 105 insertions(+)

Copied: lilv/repos/community-staging-x86_64/PKGBUILD (from rev 749305, lilv/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD	                        (rev 0)
+++ community-staging-x86_64/PKGBUILD	2020-11-10 05:07:28 UTC (rev 749306)
@@ -0,0 +1,65 @@
+# 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.10
+pkgrel=2
+pkgdesc="A C library interface to the LV2 plug-in standard"
+arch=('x86_64')
+url="https://drobilla.net/software/lilv/"
+license=('custom:ISC')
+depends=('glibc')
+makedepends=('libsndfile' 'lv2' 'python' 'serd' 'sord' 'sratom' 'swig' 'waf')
+optdepends=('bash-completion: completion for bash'
+            'libsndfile: for lv2apply'
+            'python: for Python bindings')
+provides=('liblilv-0.so')
+source=("https://download.drobilla.net/${pkgname}-${pkgver}.tar.bz2"{,.sig})
+sha512sums=('1dfd4fef19537686b63a4e7df45e3b1a7c4a658acc21d5646daba4d3bd5676513857b3f437b89f1a06232516433ef155772d19625c33d49d13ada37a965982cf'
+            'SKIP')
+b2sums=('a316c0aae8f93a6104ad46e9e93cd3948b4596920a9bb7f1ab5bfe596428aa43e45413f79cd9e7c094ca3239e4811bd391015f17be5c059a54b0a050aff1e964'
+        'SKIP')
+validpgpkeys=('907D226E7E13FA337F014A083672782A9BF368F3')
+
+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() {
+  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}"
+  # license
+  install -vDm 644 COPYING \
+    -t "${pkgdir}/usr/share/licenses/${pkgname}"
+  # bash completion
+  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-staging-x86_64/lilvmm.patch (from rev 749305, lilv/trunk/lilvmm.patch)
===================================================================
--- community-staging-x86_64/lilvmm.patch	                        (rev 0)
+++ community-staging-x86_64/lilvmm.patch	2020-11-10 05:07:28 UTC (rev 749306)
@@ -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