talimat 803 B

12345678910111213141516171819202122232425262728293031
  1. # Tanım: Linux Ses Geliştiricisinin Basit Eklenti API'sı (LADSPA)
  2. # URL: http://www.ladspa.org/
  3. # Paketçi: alihan-ozturk28@hotmail.com
  4. # Gerekler:
  5. # Grup: medya
  6. isim=ladspa
  7. surum=1.13
  8. devir=1
  9. kaynak=(https://github.com/OpenMandrivaAssociation/ladspa/raw/master/ladspa_sdk_$surum.tgz
  10. ladspa-fix-memleak-in-plugin-scanning.patch
  11. ladspa-fallback-ladspa-path.patch)
  12. derle() {
  13. cd ladspa_sdk/src
  14. patch -Np1 -i ../../ladspa-fix-memleak-in-plugin-scanning.patch
  15. patch -Np2 -i ../../ladspa-fallback-ladspa-path.patch
  16. sed \
  17. -e 's/mkdirhier/mkdir -p/' \
  18. -e "s#-O3#${CFLAGS} ${LDFLAGS/,--as-needed/}#" \
  19. -i makefile
  20. make targets
  21. make INSTALL_PLUGINS_DIR="$PKG/usr/lib/ladspa/" \
  22. INSTALL_INCLUDE_DIR="$PKG/usr/include/" \
  23. INSTALL_BINARY_DIR="$PKG/usr/bin/" install
  24. }