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

Ray Rashif schiv at archlinux.org
Thu Oct 30 12:15:56 UTC 2014


    Date: Thursday, October 30, 2014 @ 13:15:55
  Author: schiv
Revision: 225473

archrelease: copy trunk to staging-i686, staging-x86_64

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

-----------------------------+
 staging-i686/PKGBUILD       |   46 ++++++++++++++++++++++++++++++++++++++++++
 staging-i686/lilvmm.patch   |   40 ++++++++++++++++++++++++++++++++++++
 staging-x86_64/PKGBUILD     |   46 ++++++++++++++++++++++++++++++++++++++++++
 staging-x86_64/lilvmm.patch |   40 ++++++++++++++++++++++++++++++++++++
 4 files changed, 172 insertions(+)

Copied: lilv/repos/staging-i686/PKGBUILD (from rev 225472, lilv/trunk/PKGBUILD)
===================================================================
--- staging-i686/PKGBUILD	                        (rev 0)
+++ staging-i686/PKGBUILD	2014-10-30 12:15:55 UTC (rev 225473)
@@ -0,0 +1,46 @@
+# $Id: PKGBUILD 72422 2012-06-14 07:51:14Z speps $
+# Maintainer: Ray Rashif <schiv at archlinux.org>
+# Contributor: speps <speps at aur dot archlinux dot org>
+
+pkgname=lilv
+pkgver=0.20.0
+pkgrel=1
+pkgdesc="A C library interface to the LV2 plug-in standard"
+arch=('i686' 'x86_64')
+url="http://drobilla.net/software/lilv/"
+license=('custom:ISC')
+depends=('python2-numpy' 'sratom>=0.4.6' 'jack')
+makedepends=('swig')
+optdepends=('bash-completion')
+source=("http://download.drobilla.net/$pkgname-$pkgver.tar.bz2")
+md5sums=('f88419fa70cc96dfdc7e0bf3cd09b180')
+
+build() {
+  cd "$srcdir/$pkgname-$pkgver"
+
+  # pick up python2 even when python3 exists
+  # (the build system has flaky support for python3)
+  export PYTHON="/usr/bin/python2"
+
+  # remove ldconfig --speps
+  sed -i "/ldconfig/d" wscript
+
+  python2 waf configure --prefix=/usr \
+                        --configdir=/etc \
+                        --dyn-manifest \
+                        --bindings
+
+  python2 waf build $MAKEFLAGS
+}
+
+package() {
+  cd "$srcdir/$pkgname-$pkgver"
+
+  python2 waf install --destdir="$pkgdir"
+
+  # license
+  install -Dm644 COPYING \
+    "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+}
+
+# vim:set ts=2 sw=2 et:

Copied: lilv/repos/staging-i686/lilvmm.patch (from rev 225472, lilv/trunk/lilvmm.patch)
===================================================================
--- staging-i686/lilvmm.patch	                        (rev 0)
+++ staging-i686/lilvmm.patch	2014-10-30 12:15:55 UTC (rev 225473)
@@ -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);
+ };
+ 

Copied: lilv/repos/staging-x86_64/PKGBUILD (from rev 225472, lilv/trunk/PKGBUILD)
===================================================================
--- staging-x86_64/PKGBUILD	                        (rev 0)
+++ staging-x86_64/PKGBUILD	2014-10-30 12:15:55 UTC (rev 225473)
@@ -0,0 +1,46 @@
+# $Id: PKGBUILD 72422 2012-06-14 07:51:14Z speps $
+# Maintainer: Ray Rashif <schiv at archlinux.org>
+# Contributor: speps <speps at aur dot archlinux dot org>
+
+pkgname=lilv
+pkgver=0.20.0
+pkgrel=1
+pkgdesc="A C library interface to the LV2 plug-in standard"
+arch=('i686' 'x86_64')
+url="http://drobilla.net/software/lilv/"
+license=('custom:ISC')
+depends=('python2-numpy' 'sratom>=0.4.6' 'jack')
+makedepends=('swig')
+optdepends=('bash-completion')
+source=("http://download.drobilla.net/$pkgname-$pkgver.tar.bz2")
+md5sums=('f88419fa70cc96dfdc7e0bf3cd09b180')
+
+build() {
+  cd "$srcdir/$pkgname-$pkgver"
+
+  # pick up python2 even when python3 exists
+  # (the build system has flaky support for python3)
+  export PYTHON="/usr/bin/python2"
+
+  # remove ldconfig --speps
+  sed -i "/ldconfig/d" wscript
+
+  python2 waf configure --prefix=/usr \
+                        --configdir=/etc \
+                        --dyn-manifest \
+                        --bindings
+
+  python2 waf build $MAKEFLAGS
+}
+
+package() {
+  cd "$srcdir/$pkgname-$pkgver"
+
+  python2 waf install --destdir="$pkgdir"
+
+  # license
+  install -Dm644 COPYING \
+    "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+}
+
+# vim:set ts=2 sw=2 et:

Copied: lilv/repos/staging-x86_64/lilvmm.patch (from rev 225472, lilv/trunk/lilvmm.patch)
===================================================================
--- staging-x86_64/lilvmm.patch	                        (rev 0)
+++ staging-x86_64/lilvmm.patch	2014-10-30 12:15:55 UTC (rev 225473)
@@ -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