ladspa-sdk: fix cross building

This commit is contained in:
Jürgen Buchmüller 2015-09-28 12:42:23 +02:00
parent f597e49dd6
commit 1da0ef4a05
2 changed files with 24 additions and 3 deletions

View file

@ -0,0 +1,22 @@
--- src/makefile 2007-11-06 11:42:45.000000000 +0100
+++ src/makefile 2015-09-28 12:37:57.171530771 +0200
@@ -46,17 +46,8 @@
# TARGETS
#
-test: /tmp/test.wav ../snd/noise.wav always
- @echo ---------------------------------------------
- @echo First listen to the white noise input signal:
- @echo ---------------------------------------------
- -sndfile-play ../snd/noise.wav
- @echo -------------------------
- @echo Compare to plugin output.
- @echo -------------------------
- @echo Should be a noise band around 6000Hz, repeated quietly after 1s.
- -sndfile-play /tmp/test.wav
- @echo Test complete.
+test: targets
+ @echo No testing.
install: targets
-mkdirhier $(INSTALL_PLUGINS_DIR)

View file

@ -1,11 +1,10 @@
# Template file for 'ladspa-sdk'
pkgname=ladspa-sdk
version=1.13
revision=5
revision=6
noarch=yes
wrksrc=ladspa_sdk
makedepends="libsndfile-progs"
nocross=yes
short_desc="Linux Audio Developer's Simple Plugin API (LADSPA)"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
homepage="http://www.ladspa.org/"
@ -14,7 +13,7 @@ distfiles="${DEBIAN_SITE}/main/l/${pkgname}/${pkgname}_${version}.orig.tar.gz"
checksum=b5ed3f4f253a0f6c1b7a1f4b8cf62376ca9f51d999650dd822650c43852d306b
do_build() {
make CC=$CC LD=$LD -C src
make CC=$CC CPP=$CXX LD=$LD -C src
}
do_install() {