[arch-commits] Commit in lilv/repos (3 files)
David Runge
dvzrv at archlinux.org
Thu Jul 26 07:07:36 UTC 2018
Date: Thursday, July 26, 2018 @ 07:07:36
Author: dvzrv
Revision: 363469
archrelease: copy trunk to community-staging-x86_64
Added:
lilv/repos/community-staging-x86_64/
lilv/repos/community-staging-x86_64/PKGBUILD
(from rev 363468, lilv/trunk/PKGBUILD)
lilv/repos/community-staging-x86_64/lilvmm.patch
(from rev 363468, lilv/trunk/lilvmm.patch)
--------------+
PKGBUILD | 52 ++++++++++++++++++++++++++++++++++++++++++++++++++++
lilvmm.patch | 40 ++++++++++++++++++++++++++++++++++++++++
2 files changed, 92 insertions(+)
Copied: lilv/repos/community-staging-x86_64/PKGBUILD (from rev 363468, lilv/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD (rev 0)
+++ community-staging-x86_64/PKGBUILD 2018-07-26 07:07:36 UTC (rev 363469)
@@ -0,0 +1,52 @@
+# $Id$
+# Maintainer: David Runge <dave at sleepmap.de>
+# Contributor: Ray Rashif <schiv at archlinux.org>
+# Contributor: speps <speps at aur dot archlinux dot org>
+
+pkgname=lilv
+pkgver=0.24.4
+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' 'python2')
+optdepends=('bash-completion: completion for bash')
+source=("https://download.drobilla.net/${pkgname}-${pkgver}.tar.bz2"{,.sig})
+sha512sums=('cb909c83dbac36b51a206fe508aec51e52ddf068f9a159d053888594402def8d140aae0d9e1e1866e722396f7ec8dea4b86d4c1b958f56eb3193b78307918a89'
+ 'SKIP')
+validpgpkeys=('907D226E7E13FA337F014A083672782A9BF368F3')
+
+prepare() {
+ cd "${pkgname}-${pkgver}"
+ # don't run local ldconfig
+ sed -i "/ldconfig/d" wscript
+}
+
+build() {
+ cd "${pkgname}-${pkgver}"
+ python2 waf configure --prefix=/usr \
+ --no-bash-completion \
+ --dyn-manifest \
+ --test
+ python2 waf build
+}
+
+check() {
+ cd "${pkgname}-${pkgver}"
+ python2 waf test
+}
+
+package() {
+ cd "${pkgname}-${pkgver}"
+ python2 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 363468, lilv/trunk/lilvmm.patch)
===================================================================
--- community-staging-x86_64/lilvmm.patch (rev 0)
+++ community-staging-x86_64/lilvmm.patch 2018-07-26 07:07:36 UTC (rev 363469)
@@ -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