Date: Monday, November 4, 2019 @ 05:36:34
  Author: felixonmars
Revision: 523218

archrelease: copy trunk to community-staging-x86_64

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

--------------+
 PKGBUILD     |   62 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 lilvmm.patch |   40 ++++++++++++++++++++++++++++++++++++
 2 files changed, 102 insertions(+)

Copied: lilv/repos/community-staging-x86_64/PKGBUILD (from rev 523216, 
lilv/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD                           (rev 0)
+++ community-staging-x86_64/PKGBUILD   2019-11-04 05:36:34 UTC (rev 523218)
@@ -0,0 +1,62 @@
+# Maintainer: David Runge <[email protected]>
+# Contributor: Ray Rashif <[email protected]>
+# Contributor: speps <speps at aur dot archlinux dot org>
+
+pkgname=lilv
+pkgver=0.24.4
+pkgrel=4
+pkgdesc="A C library interface to the LV2 plug-in standard"
+arch=('x86_64')
+url="https://drobilla.net/software/lilv/";
+license=('custom:ISC')
+depends=('sratom' 'jack')
+makedepends=('swig' 'waf')
+optdepends=('bash-completion: completion for bash'
+            'libsndfile: for lv2apply')
+source=("https://download.drobilla.net/${pkgname}-${pkgver}.tar.bz2"{,.sig}
+        
"autowaf.py::https://git.drobilla.net/cgit.cgi/autowaf/plain/extras/autowaf.py?id=d7a7ca42155924d29ce98a0b5f15dcf3d7a0cc3d";)
+sha512sums=('cb909c83dbac36b51a206fe508aec51e52ddf068f9a159d053888594402def8d140aae0d9e1e1866e722396f7ec8dea4b86d4c1b958f56eb3193b78307918a89'
+            'SKIP'
+            
'7557aa23f994a527fbec88997e0e6a12fbead9bb3440d26c3350004a90c4bf1d36ed53f11590c8fb388c19f9d6b3516c8cc4c667b831866810a04d4de47a0e69')
+validpgpkeys=('907D226E7E13FA337F014A083672782A9BF368F3')
+
+prepare() {
+  cd "${pkgname}-${pkgver}"
+  mkdir -p tools
+  touch __init__.py
+  cp -v ../autowaf.py tools/
+  # don't run local ldconfig
+  # use local custom waf script
+  sed -e '/ldconfig/d' \
+      -e 's/waflib.extras/tools/g' \
+      -e "s/load('autowaf'/load('autowaf', tooldir='tools'/g" \
+      -i wscript
+}
+
+build() {
+  cd "${pkgname}-${pkgver}"
+  waf configure --prefix=/usr \
+                        --bindings \
+                        --no-bash-completion \
+                        --dyn-manifest \
+                        --test
+  waf build
+}
+
+check() {
+  cd "${pkgname}-${pkgver}"
+  waf test
+}
+
+package() {
+  cd "${pkgname}-${pkgver}"
+  waf install --destdir="${pkgdir}"
+  # license
+  install -vDm 644 COPYING \
+    "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+  # 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 523216, 
lilv/trunk/lilvmm.patch)
===================================================================
--- community-staging-x86_64/lilvmm.patch                               (rev 0)
+++ community-staging-x86_64/lilvmm.patch       2019-11-04 05:36:34 UTC (rev 
523218)
@@ -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);
+ };
+ 

Reply via email to