ladspa-sdk: update to 1.15.

This commit is contained in:
Piotr Wójcik 2019-04-23 20:04:58 +02:00 committed by Johannes
parent a2debf0df9
commit 2317b161c4
3 changed files with 26 additions and 24 deletions

View File

@ -1,5 +1,5 @@
--- src/makefile 2007-11-06 11:42:45.000000000 +0100
+++ src/makefile 2015-09-28 12:37:57.171530771 +0200
--- src/Makefile 2007-11-06 11:42:45.000000000 +0100
+++ src/Makefile 2015-09-28 12:37:57.171530771 +0200
@@ -46,17 +46,8 @@
# TARGETS
#
@ -19,4 +19,4 @@
+ @echo No testing.
install: targets
-mkdirhier $(INSTALL_PLUGINS_DIR)
-mkdir -p $(INSTALL_PLUGINS_DIR)

View File

@ -1,32 +1,34 @@
--- src/makefile.orig
+++ src/makefile
+++ src/Makefile
@@ -15,7 +15,7 @@
INCLUDES = -I.
LIBRARIES = -ldl -lm
-CFLAGS = $(INCLUDES) -Wall -Werror -O3 -fPIC
+CFLAGS += $(INCLUDES) -Wall -Werror -O3 -fPIC
-CFLAGS = $(INCLUDES) -Wall -Werror -O2 -fPIC \
+CFLAGS += $(INCLUDES) -Wall -Werror -O2 -fPIC \
-DDEFAULT_LADSPA_PATH=$(INSTALL_PLUGINS_DIR)
BINFLAGS = -fPIE -pie
CXXFLAGS = $(CFLAGS)
PLUGINS = ../plugins/amp.so \
../plugins/delay.so \
@@ -83,17 +83,17 @@
../bin/applyplugin: applyplugin.o load.o default.o
$(CC) $(CFLAGS) $(LIBRARIES) \
$(CC) $(CFLAGS) $(BINFLAGS) \
-o ../bin/applyplugin \
- applyplugin.o load.o default.o
+ applyplugin.o load.o default.o $(LDFLAGS)
- applyplugin.o load.o default.o \
+ applyplugin.o load.o default.o $(LDFLAGS) \
$(LIBRARIES)
../bin/analyseplugin: analyseplugin.o load.o default.o
$(CC) $(CFLAGS) $(LIBRARIES) \
$(CC) $(CFLAGS) $(BINFLAGS) \
-o ../bin/analyseplugin \
- analyseplugin.o load.o default.o
+ analyseplugin.o load.o default.o $(LDFLAGS)
- analyseplugin.o load.o default.o \
+ analyseplugin.o load.o default.o $(LDFLAGS) \
$(LIBRARIES)
../bin/listplugins: listplugins.o search.o
$(CC) $(CFLAGS) $(LIBRARIES) \
$(CC) $(CFLAGS) $(BINFLAGS) \
-o ../bin/listplugins \
- listplugins.o search.o
+ listplugins.o search.o $(LDFLAGS)
- listplugins.o search.o \
+ listplugins.o search.o $(LDFLAGS) \
$(LIBRARIES)
###############################################################################
#

View File

@ -1,16 +1,16 @@
# Template file for 'ladspa-sdk'
pkgname=ladspa-sdk
version=1.13
revision=8
version=1.15
revision=1
archs=noarch
wrksrc=ladspa_sdk
wrksrc="ladspa_sdk_${version}"
makedepends="libsndfile-progs"
short_desc="Linux Audio Developer's Simple Plugin API (LADSPA)"
maintainer="Juan RP <xtraeme@voidlinux.org>"
license="LGPL-2.1-or-later"
homepage="http://www.ladspa.org/"
license="LGPL-2.1"
distfiles="${DEBIAN_SITE}/main/l/${pkgname}/${pkgname}_${version}.orig.tar.gz"
checksum=b5ed3f4f253a0f6c1b7a1f4b8cf62376ca9f51d999650dd822650c43852d306b
distfiles="http://www.ladspa.org/download/ladspa_sdk_${version}.tgz"
checksum=4229959b09d20c88c8c86f4aa76427843011705df22d9c28b38359fd1829fded
do_build() {
make CC=$CC CPP=$CXX LD=$LD -C src