milis/talimatname/genel/l/ladspa/talimat

30 lines
795 B
Plaintext
Raw Normal View History

2017-10-27 20:46:27 +02:00
# Tanım: Linux Ses Geliştiricisinin Basit Eklenti API'sı (LADSPA)
2016-07-22 18:56:15 +02:00
# URL: http://www.ladspa.org/
2017-10-27 20:46:27 +02:00
# Paketçi: alihan-ozturk28@hotmail.com
# Gerekler:
2016-07-22 18:56:15 +02:00
name=ladspa
version=1.13
release=1
source=(https://github.com/OpenMandrivaAssociation/ladspa/raw/master/ladspa_sdk_$version.tgz
ladspa-fix-memleak-in-plugin-scanning.patch
ladspa-fallback-ladspa-path.patch)
build() {
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
}