From ec4707e38086f57f11c0f24017c510df0ae7d44e Mon Sep 17 00:00:00 2001 From: Juan RP Date: Sun, 23 Oct 2011 14:41:52 +0200 Subject: [PATCH] New package: vamp-plugins-sdk-2.2. --- srcpkgs/libvamp-plugin-sdk | 1 + srcpkgs/vamp-plugin-sdk-devel | 1 + srcpkgs/vamp-plugin-sdk/depends | 2 ++ .../libvamp-plugin-sdk.template | 15 ++++++++++ srcpkgs/vamp-plugin-sdk/template | 28 +++++++++++++++++++ .../vamp-plugin-sdk-devel.template | 16 +++++++++++ 6 files changed, 63 insertions(+) create mode 120000 srcpkgs/libvamp-plugin-sdk create mode 120000 srcpkgs/vamp-plugin-sdk-devel create mode 100644 srcpkgs/vamp-plugin-sdk/depends create mode 100644 srcpkgs/vamp-plugin-sdk/libvamp-plugin-sdk.template create mode 100644 srcpkgs/vamp-plugin-sdk/template create mode 100644 srcpkgs/vamp-plugin-sdk/vamp-plugin-sdk-devel.template diff --git a/srcpkgs/libvamp-plugin-sdk b/srcpkgs/libvamp-plugin-sdk new file mode 120000 index 0000000000..5a7a5fe712 --- /dev/null +++ b/srcpkgs/libvamp-plugin-sdk @@ -0,0 +1 @@ +vamp-plugin-sdk \ No newline at end of file diff --git a/srcpkgs/vamp-plugin-sdk-devel b/srcpkgs/vamp-plugin-sdk-devel new file mode 120000 index 0000000000..5a7a5fe712 --- /dev/null +++ b/srcpkgs/vamp-plugin-sdk-devel @@ -0,0 +1 @@ +vamp-plugin-sdk \ No newline at end of file diff --git a/srcpkgs/vamp-plugin-sdk/depends b/srcpkgs/vamp-plugin-sdk/depends new file mode 100644 index 0000000000..8a68c701ce --- /dev/null +++ b/srcpkgs/vamp-plugin-sdk/depends @@ -0,0 +1,2 @@ +abi_depends=">=2.2" +api_depends="${abi_depends}" diff --git a/srcpkgs/vamp-plugin-sdk/libvamp-plugin-sdk.template b/srcpkgs/vamp-plugin-sdk/libvamp-plugin-sdk.template new file mode 100644 index 0000000000..4dbba85359 --- /dev/null +++ b/srcpkgs/vamp-plugin-sdk/libvamp-plugin-sdk.template @@ -0,0 +1,15 @@ +# Template file for 'libvamp'. +# +short_desc="${short_desc} - Runtime libraries" +long_desc="${long_desc} + + This package contains the VAMP runtime lib(s)." + +Add_dependency run libstdc++ +Add_dependency run glibc +Add_dependency run libgcc + +do_install() +{ + vmove "usr/lib/*.so*" usr/lib +} diff --git a/srcpkgs/vamp-plugin-sdk/template b/srcpkgs/vamp-plugin-sdk/template new file mode 100644 index 0000000000..b3bb9b4ebc --- /dev/null +++ b/srcpkgs/vamp-plugin-sdk/template @@ -0,0 +1,28 @@ +# Template file for 'vamp-plugin-sdk' +pkgname=vamp-plugin-sdk +version=2.2 +homepage="http://www.vamp-plugins.org/" +distfiles="${SOURCEFORGE_SITE}/vamp/${pkgname}-${version}.tar.gz" +build_style=gnu_configure +short_desc="The Vamp audio analysis plugin system" +maintainer="davehome " +license="BSD" +checksum=601d9d9f859b3232afda63ca099e51d81202556bbb0ee275a9aab14bf3d6c766 +long_desc=" + Vamp is an audio processing plugin system for plugins that extract descriptive + information from audio data — typically referred to as audio analysis plugins + or audio feature extraction plugins." + +subpackages="lib${pkgname} ${pkgname}-devel" + +Add_dependency run libgcc +Add_dependency run glibc +Add_dependency run libstdc++ +Add_dependency run libsndfile + +Add_dependency build pkg-config +Add_dependency build libsndfile-devel + +post_install() { + vinstall COPYING 644 usr/share/licenses/${pkgname} +} diff --git a/srcpkgs/vamp-plugin-sdk/vamp-plugin-sdk-devel.template b/srcpkgs/vamp-plugin-sdk/vamp-plugin-sdk-devel.template new file mode 100644 index 0000000000..086b57cb9f --- /dev/null +++ b/srcpkgs/vamp-plugin-sdk/vamp-plugin-sdk-devel.template @@ -0,0 +1,16 @@ +# Template file for 'vamp-plugin-sdk-devel'. +# +short_desc="${short_desc} - Development files" +long_desc="${long_desc} + + This package contains files for development, headers, static libs, etc." + +Add_dependency run libsndfile-devel +Add_dependency run lib${sourcepkg} + +do_install() +{ + vmove usr/include usr + vmove "usr/lib/*.a" usr/lib + vmove usr/lib/pkgconfig usr/lib +}