From c1dfe75ae4f7d3bb280f387234432f85232e72be Mon Sep 17 00:00:00 2001 From: davehome Date: Fri, 28 Oct 2011 09:33:03 +0000 Subject: [PATCH] New package: Lilv - API for LV2 plugins --- srcpkgs/liblilv | 1 + srcpkgs/lilv-bash-completion | 1 + srcpkgs/lilv-devel | 1 + srcpkgs/lilv/depends | 2 ++ srcpkgs/lilv/liblilv.template | 16 ++++++++++++++ srcpkgs/lilv/lilv-bash-completion.template | 14 ++++++++++++ srcpkgs/lilv/lilv-devel.template | 16 ++++++++++++++ srcpkgs/lilv/template | 25 ++++++++++++++++++++++ xbps-src/common/mapping_shlib_binpkg.txt | 1 + 9 files changed, 77 insertions(+) create mode 120000 srcpkgs/liblilv create mode 120000 srcpkgs/lilv-bash-completion create mode 120000 srcpkgs/lilv-devel create mode 100644 srcpkgs/lilv/depends create mode 100644 srcpkgs/lilv/liblilv.template create mode 100644 srcpkgs/lilv/lilv-bash-completion.template create mode 100644 srcpkgs/lilv/lilv-devel.template create mode 100644 srcpkgs/lilv/template diff --git a/srcpkgs/liblilv b/srcpkgs/liblilv new file mode 120000 index 00000000000..dd292c71a4b --- /dev/null +++ b/srcpkgs/liblilv @@ -0,0 +1 @@ +lilv \ No newline at end of file diff --git a/srcpkgs/lilv-bash-completion b/srcpkgs/lilv-bash-completion new file mode 120000 index 00000000000..dd292c71a4b --- /dev/null +++ b/srcpkgs/lilv-bash-completion @@ -0,0 +1 @@ +lilv \ No newline at end of file diff --git a/srcpkgs/lilv-devel b/srcpkgs/lilv-devel new file mode 120000 index 00000000000..dd292c71a4b --- /dev/null +++ b/srcpkgs/lilv-devel @@ -0,0 +1 @@ +lilv \ No newline at end of file diff --git a/srcpkgs/lilv/depends b/srcpkgs/lilv/depends new file mode 100644 index 00000000000..766067bc225 --- /dev/null +++ b/srcpkgs/lilv/depends @@ -0,0 +1,2 @@ +abi_depends=">=0.5.0" +api_depends="${abi_depends}" diff --git a/srcpkgs/lilv/liblilv.template b/srcpkgs/lilv/liblilv.template new file mode 100644 index 00000000000..9f5a37f73af --- /dev/null +++ b/srcpkgs/lilv/liblilv.template @@ -0,0 +1,16 @@ +# Template file for 'liblilv'. +# +short_desc="${short_desc} - Runtime library" +long_desc="${long_desc} + + This package contains the lilv runtime library." + +Add_dependency run glibc +Add_dependency run libserd +Add_dependency run libsord + +do_install() +{ + vmove "usr/lib/*.so*" usr/lib + chmod 755 ${DESTDIR}/usr/lib/*.so* +} diff --git a/srcpkgs/lilv/lilv-bash-completion.template b/srcpkgs/lilv/lilv-bash-completion.template new file mode 100644 index 00000000000..b83ef169e8b --- /dev/null +++ b/srcpkgs/lilv/lilv-bash-completion.template @@ -0,0 +1,14 @@ +# Template file for 'lilv-bash-completion'. +# +short_desc="${short_desc} - Bash completion for Lilv" +long_desc="${long_desc} + + This package contains a bash completion file for the Lilv programs." + +Add_dependency run bash-completion +Add_dependency run lilv + +do_install() +{ + vmove usr/etc usr +} diff --git a/srcpkgs/lilv/lilv-devel.template b/srcpkgs/lilv/lilv-devel.template new file mode 100644 index 00000000000..c27179f6752 --- /dev/null +++ b/srcpkgs/lilv/lilv-devel.template @@ -0,0 +1,16 @@ +# Template file for 'lilv-devel'. +# +short_desc="${short_desc} - Development files" +long_desc="${long_desc} + + This package contains files for development: headers, etc." + +Add_dependency run glibc-devel +Add_dependency run sord-devel +Add_dependency run liblilv + +do_install() +{ + vmove usr/include usr + vmove usr/lib/pkgconfig usr/lib +} diff --git a/srcpkgs/lilv/template b/srcpkgs/lilv/template new file mode 100644 index 00000000000..590bd41d5b3 --- /dev/null +++ b/srcpkgs/lilv/template @@ -0,0 +1,25 @@ +# Template file for 'lilv' +pkgname=lilv +version=0.5.0 +build_style=waf +homepage="http://drobilla.net/software/lilv/" +distfiles="http://download.drobilla.net/${pkgname}-${version}.tar.bz2" +short_desc="Lilv is a simple yet powerful C API for using LV2 plugins." +maintainer="davehome " +license="ISC" +checksum=3540b1f27f126f20222159bdf519a09631804e1011e2e1f063bff90d328333cd +long_desc=" + Lilv is a library to make the use of LV2 plugins as simple as possible for + applications. Lilv is the successor to SLV2, rewritten to be significantly + faster and have minimal dependencies." + +subpackages="$pkgname-devel lib$pkgname $pkgname-bash-completion" + +Add_dependency run glibc +Add_dependency run libserd +Add_dependency run libsord +Add_dependency run liblilv + +Add_dependency build pkg-config +Add_dependency build python +Add_dependency build sord-devel diff --git a/xbps-src/common/mapping_shlib_binpkg.txt b/xbps-src/common/mapping_shlib_binpkg.txt index 790dd64924f..072e6cfb0af 100644 --- a/xbps-src/common/mapping_shlib_binpkg.txt +++ b/xbps-src/common/mapping_shlib_binpkg.txt @@ -927,3 +927,4 @@ libabiword-2.8.so libabiword abiword-devel libmpg123.so.0 libmpg123 mpg123-devel libopenal.so.1 libopenal libopenal-devel libalut.so.0 freealut freealut-devel +liblilv-0.so.0 liblilv lilv-devel