2011-10-23 15:40:55 +02:00
|
|
|
# Template file for 'aubio'
|
|
|
|
pkgname=aubio
|
2015-08-05 10:31:47 +02:00
|
|
|
version=0.4.2
|
2014-11-23 11:25:00 +01:00
|
|
|
revision=1
|
|
|
|
build_style=waf
|
2012-10-10 17:32:41 +02:00
|
|
|
# XXX lash, pure and swig support.
|
2014-11-23 11:25:00 +01:00
|
|
|
hostmakedepends="python pkg-config"
|
2013-04-12 08:55:23 +02:00
|
|
|
makedepends="libsamplerate-devel fftw-devel jack-devel"
|
2011-10-23 15:40:55 +02:00
|
|
|
short_desc="A library for audio labelling"
|
2015-04-10 09:16:30 +02:00
|
|
|
maintainer="Juan RP <xtraeme@voidlinux.eu>"
|
2011-10-23 15:40:55 +02:00
|
|
|
license="GPL-2"
|
2012-10-10 17:32:41 +02:00
|
|
|
homepage="http://aubio.org"
|
2014-11-23 11:25:00 +01:00
|
|
|
distfiles="${homepage}/pub/${pkgname}-${version}.tar.bz2"
|
2015-08-05 10:31:47 +02:00
|
|
|
checksum=1cc58e0fed2b9468305b198ad06b889f228b797a082c2ede716dc30fcb4f8f1f
|
2014-11-23 11:25:00 +01:00
|
|
|
|
|
|
|
pre_configure() {
|
|
|
|
# disable tests to allow cross builds
|
|
|
|
sed -i '/bld.recurse.*tests.*/d' wscript
|
|
|
|
}
|
2013-04-12 08:55:23 +02:00
|
|
|
|
|
|
|
libaubio_package() {
|
2014-02-18 13:21:41 +01:00
|
|
|
short_desc+=" - Runtime libraries"
|
2013-04-12 08:55:23 +02:00
|
|
|
pkg_install() {
|
2014-02-18 13:21:41 +01:00
|
|
|
vmove "usr/lib/*.so.*"
|
2013-04-12 08:55:23 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
aubio-devel_package() {
|
|
|
|
depends="libaubio-${version}_${revision}"
|
2014-02-18 13:21:41 +01:00
|
|
|
short_desc+=" - Development files"
|
2013-04-12 08:55:23 +02:00
|
|
|
pkg_install() {
|
|
|
|
vmove usr/include
|
|
|
|
vmove usr/lib/pkgconfig
|
2014-11-23 11:25:00 +01:00
|
|
|
vmove usr/lib/*.so
|
2013-04-12 08:55:23 +02:00
|
|
|
}
|
|
|
|
}
|