2006-12-20 16:53:18 +11:00
|
|
|
# Description: Linux Audio Developer's Simple Plugin API.
|
|
|
|
# URL: http://www.ladspa.org/
|
2019-08-21 10:02:49 +00:00
|
|
|
# Maintainer: Tim Biermann, tbier at posteo dot de
|
2021-09-08 12:16:50 +02:00
|
|
|
# Depends on: libsndfile
|
2006-12-20 16:53:18 +11:00
|
|
|
|
|
|
|
name=ladspa
|
2021-09-08 12:16:50 +02:00
|
|
|
version=1.16
|
2006-12-20 16:53:18 +11:00
|
|
|
release=1
|
2021-09-08 12:16:50 +02:00
|
|
|
source=(https://ladspa.org/download/ladspa_sdk_$version.tgz
|
|
|
|
fix-memleak-in-plugin-scanning.patch)
|
2015-12-06 22:47:40 +11:00
|
|
|
|
2006-12-20 16:53:18 +11:00
|
|
|
build() {
|
2019-08-21 10:02:49 +00:00
|
|
|
cd ladspa_sdk_$version
|
|
|
|
patch -Np0 -i ../fix-memleak-in-plugin-scanning.patch
|
|
|
|
export \
|
|
|
|
CFLAGS="${CFLAGS//-O?/-O3}" \
|
|
|
|
CXXFLAGS="${CXXFLAGS//-O?/-O3}"
|
2007-11-07 00:43:43 +11:00
|
|
|
|
2019-08-21 10:02:49 +00:00
|
|
|
sed -i \
|
|
|
|
-e "s/@CFLAGS@/$CFLAGS/" \
|
|
|
|
-e "s/@CXXFLAGS@/$CXXFLAGS/" \
|
|
|
|
src/Makefile
|
|
|
|
cd src
|
|
|
|
make
|
|
|
|
make INSTALL_PLUGINS_DIR="$PKG/usr/lib/ladspa/" \
|
|
|
|
INSTALL_INCLUDE_DIR="$PKG/usr/include/" \
|
|
|
|
INSTALL_BINARY_DIR="$PKG/usr/bin/" install
|
2006-12-20 16:53:18 +11:00
|
|
|
}
|