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

David Runge dvzrv at archlinux.org
Wed Feb 7 09:34:21 UTC 2018


    Date: Wednesday, February 7, 2018 @ 09:34:21
  Author: dvzrv
Revision: 289948

archrelease: copy trunk to community-testing-x86_64

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

--------------+
 PKGBUILD     |   46 ++++++++++++++++++++++++++++++++++++++++++++++
 lilvmm.patch |   40 ++++++++++++++++++++++++++++++++++++++++
 2 files changed, 86 insertions(+)

Copied: lilv/repos/community-testing-x86_64/PKGBUILD (from rev 289947, lilv/trunk/PKGBUILD)
===================================================================
--- community-testing-x86_64/PKGBUILD	                        (rev 0)
+++ community-testing-x86_64/PKGBUILD	2018-02-07 09:34:21 UTC (rev 289948)
@@ -0,0 +1,46 @@
+# $Id$
+# Maintainer: Ray Rashif <schiv at archlinux.org>
+# Maintainer: David Runge <dave at sleepmap.de>
+# Contributor: speps <speps at aur dot archlinux dot org>
+
+pkgname=lilv
+pkgver=0.24.2
+pkgrel=1
+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' 'python')
+optdepends=('bash-completion: completion for bash')
+source=("https://download.drobilla.net/${pkgname}-${pkgver}.tar.bz2"{,.sig})
+sha512sums=('b5d04b6bb1fb4d3a9a58d93b233db502dc2ded75672766a31d252abca657cbf2d170fa590c0c56159b2bac68c7af95d8787a512e318e3a0f30855504bb034659'
+            'SKIP')
+validpgpkeys=('907D226E7E13FA337F014A083672782A9BF368F3')
+
+prepare() {
+  cd "${pkgname}-${pkgver}"
+  # don't run local ldconfig
+  sed -i "/ldconfig/d" wscript
+}
+
+build() {
+  cd "${pkgname}-${pkgver}"
+  python waf configure --prefix=/usr \
+                       --no-bash-completion \
+                       --dyn-manifest
+  python waf build
+}
+
+package() {
+  cd "${pkgname}-${pkgver}"
+  python waf install --destdir="${pkgdir}"
+  # license
+  install -vDm644 COPYING \
+    "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+  # bash completion
+  install -vDm644 utils/lilv.bash_completion\
+    "${pkgdir}/usr/share/bash-completion/completions/${pkgname}"
+}
+
+# vim:set ts=2 sw=2 et:

Copied: lilv/repos/community-testing-x86_64/lilvmm.patch (from rev 289947, lilv/trunk/lilvmm.patch)
===================================================================
--- community-testing-x86_64/lilvmm.patch	                        (rev 0)
+++ community-testing-x86_64/lilvmm.patch	2018-02-07 09:34:21 UTC (rev 289948)
@@ -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