30 lines
789 B
Plaintext
30 lines
789 B
Plaintext
# Tanım: Linux Ses Geliştiricisinin Basit Eklenti API'sı (LADSPA)
|
||
# URL: http://www.ladspa.org/
|
||
# Paketçi: alihan-ozturk28@hotmail.com
|
||
# Gerekler:
|
||
|
||
isim=ladspa
|
||
surum=1.13
|
||
devir=1
|
||
|
||
kaynak=(https://github.com/OpenMandrivaAssociation/ladspa/raw/master/ladspa_sdk_$surum.tgz
|
||
ladspa-fix-memleak-in-plugin-scanning.patch
|
||
ladspa-fallback-ladspa-path.patch)
|
||
|
||
derle() {
|
||
cd ladspa_sdk/src
|
||
|
||
patch -Np1 -i ../../ladspa-fix-memleak-in-plugin-scanning.patch
|
||
patch -Np2 -i ../../ladspa-fallback-ladspa-path.patch
|
||
|
||
sed \
|
||
-e 's/mkdirhier/mkdir -p/' \
|
||
-e "s#-O3#${CFLAGS} ${LDFLAGS/,--as-needed/}#" \
|
||
-i makefile
|
||
|
||
make targets
|
||
make INSTALL_PLUGINS_DIR="$PKG/usr/lib/ladspa/" \
|
||
INSTALL_INCLUDE_DIR="$PKG/usr/include/" \
|
||
INSTALL_BINARY_DIR="$PKG/usr/bin/" install
|
||
}
|