blob: 0103f1cd3b9b9960579674dc849b7a6cf70ee6e1 (
plain)
1 # Description: Linux Audio Developer's Simple Plugin API.
2 # URL: http://www.ladspa.org/
3 # Maintainer: Tim Biermann, tbier at posteo dot de
4 # Packager: Danny Rawlins, crux at romster dot me
5 # Packager: Han Boetes, han at mijncomputer dot nl
6 # Depends on:
7
8 name=ladspa
9 version=1.15
10 release=1
11 source=(https://ladspa.org/download/ladspa_sdk_$version.tgz fix-memleak-in-plugin-scanning.patch)
12
13 build() {
14 cd ladspa_sdk_$version
15 #patch -p2 -i $SRC/ladspa-$version.patch
16 patch -Np0 -i ../fix-memleak-in-plugin-scanning.patch
17 export \
18 CFLAGS="${CFLAGS//-O?/-O3}" \
19 CXXFLAGS="${CXXFLAGS//-O?/-O3}"
20
21 sed -i \
22 -e "s/@CFLAGS@/$CFLAGS/" \
23 -e "s/@CXXFLAGS@/$CXXFLAGS/" \
24 src/Makefile
25 cd src
26 make
27 make INSTALL_PLUGINS_DIR="$PKG/usr/lib/ladspa/" \
28 INSTALL_INCLUDE_DIR="$PKG/usr/include/" \
29 INSTALL_BINARY_DIR="$PKG/usr/bin/" install
30 }
|