[arch-commits] Commit in (5 files)
Antonio Rojas
arojas at archlinux.org
Tue Feb 6 17:14:28 UTC 2018
Date: Tuesday, February 6, 2018 @ 17:14:27
Author: arojas
Revision: 289435
extra2community: Moving lilv from extra to community
Added:
lilv/
lilv/repos/
lilv/trunk/
lilv/trunk/PKGBUILD
lilv/trunk/lilvmm.patch
--------------+
PKGBUILD | 53 +++++++++++++++++++++++++++++++++++++++++++++++++++++
lilvmm.patch | 40 ++++++++++++++++++++++++++++++++++++++++
2 files changed, 93 insertions(+)
Added: lilv/trunk/PKGBUILD
===================================================================
--- lilv/trunk/PKGBUILD (rev 0)
+++ lilv/trunk/PKGBUILD 2018-02-06 17:14:27 UTC (rev 289435)
@@ -0,0 +1,53 @@
+# $Id$
+# Maintainer: Ray Rashif <schiv at archlinux.org>
+# Contributor: speps <speps at aur dot archlinux dot org>
+
+pkgname=lilv
+pkgver=0.22.0
+pkgrel=2
+pkgdesc="A C library interface to the LV2 plug-in standard"
+arch=('x86_64')
+url="http://drobilla.net/software/lilv/"
+license=('custom:ISC')
+# sratom depends on sord but lilv has its own version requirements
+depends=('python2-numpy' 'sratom>=0.4.6' 'sord>=0.14.0' 'jack')
+makedepends=('swig')
+optdepends=('bash-completion')
+source=("http://download.drobilla.net/$pkgname-$pkgver.tar.bz2")
+md5sums=('fd3a14fdaeaba4716b4fef526548a747')
+
+build() {
+ cd "$srcdir/$pkgname-$pkgver"
+
+ # pick up python2 even when python3 exists
+ # (the build system has flaky support for python3) -- TODO: check this again
+ 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"
+
+ # move bash completions to proper place; TODO: tell upstream
+ cd "$pkgdir"
+ mkdir -p usr/share/bash-completion
+ mv etc/bash_completion.d usr/share/bash-completion/completions
+ rm -r etc
+}
+
+# vim:set ts=2 sw=2 et:
Property changes on: lilv/trunk/PKGBUILD
___________________________________________________________________
Added: svn:keywords
## -0,0 +1 ##
+Id
\ No newline at end of property
Added: lilv/trunk/lilvmm.patch
===================================================================
--- lilv/trunk/lilvmm.patch (rev 0)
+++ lilv/trunk/lilvmm.patch 2018-02-06 17:14:27 UTC (rev 289435)
@@ -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