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

Ray Rashif schiv at nymeria.archlinux.org
Tue Mar 19 21:14:14 UTC 2013


    Date: Tuesday, March 19, 2013 @ 22:14:13
  Author: schiv
Revision: 180302

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

Added:
  lilv/repos/extra-i686/PKGBUILD
    (from rev 180301, lilv/trunk/PKGBUILD)
  lilv/repos/extra-i686/lilvmm.patch
    (from rev 180301, lilv/trunk/lilvmm.patch)
  lilv/repos/extra-x86_64/PKGBUILD
    (from rev 180301, lilv/trunk/PKGBUILD)
  lilv/repos/extra-x86_64/lilvmm.patch
    (from rev 180301, lilv/trunk/lilvmm.patch)
Deleted:
  lilv/repos/extra-i686/PKGBUILD
  lilv/repos/extra-x86_64/PKGBUILD

---------------------------+
 /PKGBUILD                 |  104 ++++++++++++++++++++++++++++++++++++++++++++
 extra-i686/PKGBUILD       |   43 ------------------
 extra-i686/lilvmm.patch   |   40 ++++++++++++++++
 extra-x86_64/PKGBUILD     |   43 ------------------
 extra-x86_64/lilvmm.patch |   40 ++++++++++++++++
 5 files changed, 184 insertions(+), 86 deletions(-)

Deleted: extra-i686/PKGBUILD
===================================================================
--- extra-i686/PKGBUILD	2013-03-19 21:13:59 UTC (rev 180301)
+++ extra-i686/PKGBUILD	2013-03-19 21:14:13 UTC (rev 180302)
@@ -1,43 +0,0 @@
-# $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.14.4
-pkgrel=1
-pkgdesc="A library to make the use of LV2 plugins as simple as possible for applications."
-arch=(i686 x86_64)
-url="http://drobilla.net/software/$pkgname/"
-license=('custom:ISC')
-depends=('python2' 'sratom' 'jack')
-makedepends=('swig')
-optdepends=('bash-completion: auto-complete words')
-source=("http://download.drobilla.net/$pkgname-$pkgver.tar.bz2")
-md5sums=('891595410eeb68322cf875286f96fccf')
-
-build() {
-  cd "$srcdir/$pkgname-$pkgver"
-
-  export PYTHON="/usr/bin/python2"
-
-  # remove ldconfig
-  sed -i "/ldconfig/d" wscript
-
-  python2 ./waf configure --prefix=/usr \
-                          --mandir=/usr/share/man \
-                          --configdir=/etc \
-                          --dyn-manifest \
-                          --bindings
-  python2 ./waf
-}
-
-package() {
-  cd "$srcdir/$pkgname-$pkgver"
-  DESTDIR="$pkgdir" python2 ./waf install
-
-  # license
-  install -Dm644 COPYING \
-    "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
-}
-
-# vim:set ts=2 sw=2 et:

Copied: lilv/repos/extra-i686/PKGBUILD (from rev 180301, lilv/trunk/PKGBUILD)
===================================================================
--- extra-i686/PKGBUILD	                        (rev 0)
+++ extra-i686/PKGBUILD	2013-03-19 21:14:13 UTC (rev 180302)
@@ -0,0 +1,52 @@
+# $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.16.0
+pkgrel=1
+pkgdesc="A library to make the use of LV2 plugins as simple as possible for applications"
+arch=('i686' 'x86_64')
+url="http://drobilla.net/software/lilv/"
+license=('custom:ISC')
+depends=('python2' 'sratom>=0.4.2' 'jack')
+makedepends=('swig')
+optdepends=('bash-completion: auto-complete words')
+source=("http://download.drobilla.net/$pkgname-$pkgver.tar.bz2"
+        'lilvmm.patch')
+md5sums=('12eb71f2b5b8a68e15c1c816896bcb9f'
+         'd34207f8ca3586650ad7c50284ffb3e0')
+
+build() {
+  cd "$srcdir/$pkgname-$pkgver"
+
+  # fix UI API error
+  # backport of http://dev.drobilla.net/changeset/5092
+  patch -Np2 -i "$srcdir/lilvmm.patch"
+
+  # 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/extra-i686/lilvmm.patch (from rev 180301, lilv/trunk/lilvmm.patch)
===================================================================
--- extra-i686/lilvmm.patch	                        (rev 0)
+++ extra-i686/lilvmm.patch	2013-03-19 21:14:13 UTC (rev 180302)
@@ -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);
+ };
+ 

Deleted: extra-x86_64/PKGBUILD
===================================================================
--- extra-x86_64/PKGBUILD	2013-03-19 21:13:59 UTC (rev 180301)
+++ extra-x86_64/PKGBUILD	2013-03-19 21:14:13 UTC (rev 180302)
@@ -1,43 +0,0 @@
-# $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.14.4
-pkgrel=1
-pkgdesc="A library to make the use of LV2 plugins as simple as possible for applications."
-arch=(i686 x86_64)
-url="http://drobilla.net/software/$pkgname/"
-license=('custom:ISC')
-depends=('python2' 'sratom' 'jack')
-makedepends=('swig')
-optdepends=('bash-completion: auto-complete words')
-source=("http://download.drobilla.net/$pkgname-$pkgver.tar.bz2")
-md5sums=('891595410eeb68322cf875286f96fccf')
-
-build() {
-  cd "$srcdir/$pkgname-$pkgver"
-
-  export PYTHON="/usr/bin/python2"
-
-  # remove ldconfig
-  sed -i "/ldconfig/d" wscript
-
-  python2 ./waf configure --prefix=/usr \
-                          --mandir=/usr/share/man \
-                          --configdir=/etc \
-                          --dyn-manifest \
-                          --bindings
-  python2 ./waf
-}
-
-package() {
-  cd "$srcdir/$pkgname-$pkgver"
-  DESTDIR="$pkgdir" python2 ./waf install
-
-  # license
-  install -Dm644 COPYING \
-    "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
-}
-
-# vim:set ts=2 sw=2 et:

Copied: lilv/repos/extra-x86_64/PKGBUILD (from rev 180301, lilv/trunk/PKGBUILD)
===================================================================
--- extra-x86_64/PKGBUILD	                        (rev 0)
+++ extra-x86_64/PKGBUILD	2013-03-19 21:14:13 UTC (rev 180302)
@@ -0,0 +1,52 @@
+# $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.16.0
+pkgrel=1
+pkgdesc="A library to make the use of LV2 plugins as simple as possible for applications"
+arch=('i686' 'x86_64')
+url="http://drobilla.net/software/lilv/"
+license=('custom:ISC')
+depends=('python2' 'sratom>=0.4.2' 'jack')
+makedepends=('swig')
+optdepends=('bash-completion: auto-complete words')
+source=("http://download.drobilla.net/$pkgname-$pkgver.tar.bz2"
+        'lilvmm.patch')
+md5sums=('12eb71f2b5b8a68e15c1c816896bcb9f'
+         'd34207f8ca3586650ad7c50284ffb3e0')
+
+build() {
+  cd "$srcdir/$pkgname-$pkgver"
+
+  # fix UI API error
+  # backport of http://dev.drobilla.net/changeset/5092
+  patch -Np2 -i "$srcdir/lilvmm.patch"
+
+  # 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/extra-x86_64/lilvmm.patch (from rev 180301, lilv/trunk/lilvmm.patch)
===================================================================
--- extra-x86_64/lilvmm.patch	                        (rev 0)
+++ extra-x86_64/lilvmm.patch	2013-03-19 21:14:13 UTC (rev 180302)
@@ -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