- A bit of rearranging and cleaning up.

- HTTPS URL.
- Provide a better DESCR.

from Brad
This commit is contained in:
ajacoutot 2020-06-30 07:13:48 +00:00
parent d41cb1672b
commit d78f335458
8 changed files with 57 additions and 43 deletions

View File

@ -1,31 +1,35 @@
# $OpenBSD: Makefile,v 1.14 2019/07/12 20:43:34 sthen Exp $ # $OpenBSD: Makefile,v 1.15 2020/06/30 07:13:48 ajacoutot Exp $
COMMENT= linux audio developer simple plugin API COMMENT= Linux Audio Developer's Simple Plugin API
HOMEPAGE= http://www.ladspa.org/
CATEGORIES= audio devel
V= 1.13 V= 1.13
REVISION = 3
DISTNAME= ladspa_sdk_${V} DISTNAME= ladspa_sdk_${V}
WRKDIST= ${WRKDIR}/ladspa_sdk
PKGNAME= ladspa-${V} PKGNAME= ladspa-${V}
EXTRACT_SUFX= .tgz REVISION= 4
CATEGORIES= audio devel
MASTER_SITES= ${HOMEPAGE:=download/} MASTER_SITES= ${HOMEPAGE:=download/}
EXTRACT_SUFX= .tgz
HOMEPAGE= https://www.ladspa.org/
# LGPL # LGPL
PERMIT_PACKAGE= Yes PERMIT_PACKAGE= Yes
WANTLIB= c m ${COMPILER_LIBCXX} WANTLIB= c m ${COMPILER_LIBCXX}
COMPILER = base-clang ports-gcc base-gcc COMPILER= base-clang ports-gcc base-gcc
WRKDIST= ${WRKDIR}/ladspa_sdk
WRKBUILD= ${WRKDIST}/src WRKBUILD= ${WRKDIST}/src
USE_GMAKE= Yes USE_GMAKE= Yes
MAKE_FILE= makefile MAKE_FILE= makefile
ALL_TARGET= targets ALL_TARGET= targets
MAKE_FLAGS= LIBRARIES=-lm OPTS="${CFLAGS}" MAKE_FLAGS= LIBRARIES=-lm OPTS="${CFLAGS}"
# interactive regression test, that requires you to listen to stuff.
NO_TEST= Yes
PROGRAMS= analyseplugin applyplugin listplugins PROGRAMS= analyseplugin applyplugin listplugins
do-install: do-install:
@ -38,8 +42,4 @@ do-install:
${INSTALL_DATA} ${WRKDIST}/doc/*.html ${PREFIX}/share/doc/ladspa ${INSTALL_DATA} ${WRKDIST}/doc/*.html ${PREFIX}/share/doc/ladspa
${INSTALL_DATA} ${WRKDIST}/src/ladspa.h ${PREFIX}/include ${INSTALL_DATA} ${WRKDIST}/src/ladspa.h ${PREFIX}/include
# interactive regression test, that requires you to listen to stuff.
# -> mostly useless
NO_TEST= Yes
.include <bsd.port.mk> .include <bsd.port.mk>

View File

@ -1,7 +1,9 @@
$OpenBSD: patch-src_makefile,v 1.2 2006/08/04 23:34:39 espie Exp $ $OpenBSD: patch-src_makefile,v 1.3 2020/06/30 07:13:48 ajacoutot Exp $
--- src/makefile.orig Sat Jul 6 19:34:20 2002
+++ src/makefile Sat Aug 5 00:56:04 2006 Index: src/makefile
@@ -16,7 +16,7 @@ INSTALL_BINARY_DIR = /usr/local/bin/ --- src/makefile.orig
+++ src/makefile
@@ -15,7 +15,7 @@ INSTALL_BINARY_DIR = /usr/bin/
INCLUDES = -I. INCLUDES = -I.
LIBRARIES = -ldl -lm LIBRARIES = -ldl -lm
@ -10,7 +12,7 @@ $OpenBSD: patch-src_makefile,v 1.2 2006/08/04 23:34:39 espie Exp $
CXXFLAGS = $(CFLAGS) CXXFLAGS = $(CFLAGS)
PLUGINS = ../plugins/amp.so \ PLUGINS = ../plugins/amp.so \
../plugins/delay.so \ ../plugins/delay.so \
@@ -36,11 +36,11 @@ CPP = c++ @@ -35,11 +35,11 @@ CPP = c++
../plugins/%.so: plugins/%.c ladspa.h ../plugins/%.so: plugins/%.c ladspa.h
$(CC) $(CFLAGS) -o plugins/$*.o -c plugins/$*.c $(CC) $(CFLAGS) -o plugins/$*.o -c plugins/$*.c

View File

@ -1,7 +1,9 @@
$OpenBSD: patch-src_plugins_amp_c,v 1.1 2006/08/04 23:34:39 espie Exp $ $OpenBSD: patch-src_plugins_amp_c,v 1.2 2020/06/30 07:13:48 ajacoutot Exp $
--- src/plugins/amp.c.orig Sat Aug 5 01:10:01 2006
+++ src/plugins/amp.c Sat Aug 5 01:13:05 2006 Index: src/plugins/amp.c
@@ -150,10 +150,13 @@ LADSPA_Descriptor * g_psStereoDescriptor --- src/plugins/amp.c.orig
+++ src/plugins/amp.c
@@ -150,10 +150,13 @@ LADSPA_Descriptor * g_psStereoDescriptor = NULL;
/*****************************************************************************/ /*****************************************************************************/
@ -16,7 +18,7 @@ $OpenBSD: patch-src_plugins_amp_c,v 1.1 2006/08/04 23:34:39 espie Exp $
char ** pcPortNames; char ** pcPortNames;
LADSPA_PortDescriptor * piPortDescriptors; LADSPA_PortDescriptor * piPortDescriptors;
@@ -336,7 +339,7 @@ deleteDescriptor(LADSPA_Descriptor * psD @@ -336,7 +339,7 @@ deleteDescriptor(LADSPA_Descriptor * psDescriptor) {
/* _fini() is called automatically when the library is unloaded. */ /* _fini() is called automatically when the library is unloaded. */
void void

View File

@ -1,7 +1,8 @@
$OpenBSD: patch-src_plugins_delay_c,v 1.1 2006/08/04 23:34:39 espie Exp $ $OpenBSD: patch-src_plugins_delay_c,v 1.2 2020/06/30 07:13:48 ajacoutot Exp $
--- src/plugins/delay.c.orig Sat Aug 5 01:15:43 2006 Index: src/plugins/delay.c
+++ src/plugins/delay.c Sat Aug 5 01:16:12 2006 --- src/plugins/delay.c.orig
@@ -226,10 +226,13 @@ LADSPA_Descriptor * g_psDescriptor = NUL +++ src/plugins/delay.c
@@ -226,10 +226,13 @@ LADSPA_Descriptor * g_psDescriptor = NULL;
/*****************************************************************************/ /*****************************************************************************/

View File

@ -1,7 +1,9 @@
$OpenBSD: patch-src_plugins_filter_c,v 1.1 2006/08/04 23:34:39 espie Exp $ $OpenBSD: patch-src_plugins_filter_c,v 1.2 2020/06/30 07:13:48 ajacoutot Exp $
--- src/plugins/filter.c.orig Sat Aug 5 01:15:43 2006
+++ src/plugins/filter.c Sat Aug 5 01:16:38 2006 Index: src/plugins/filter.c
@@ -250,10 +250,13 @@ LADSPA_Descriptor * g_psHPFDescriptor = --- src/plugins/filter.c.orig
+++ src/plugins/filter.c
@@ -250,10 +250,13 @@ LADSPA_Descriptor * g_psHPFDescriptor = NULL;
/*****************************************************************************/ /*****************************************************************************/
@ -16,7 +18,7 @@ $OpenBSD: patch-src_plugins_filter_c,v 1.1 2006/08/04 23:34:39 espie Exp $
char ** pcPortNames; char ** pcPortNames;
LADSPA_PortDescriptor * piPortDescriptors; LADSPA_PortDescriptor * piPortDescriptors;
@@ -432,7 +435,7 @@ deleteDescriptor(LADSPA_Descriptor * psD @@ -432,7 +435,7 @@ deleteDescriptor(LADSPA_Descriptor * psDescriptor) {
/* _fini() is called automatically when the library is unloaded. */ /* _fini() is called automatically when the library is unloaded. */
void void

View File

@ -1,6 +1,8 @@
$OpenBSD: patch-src_plugins_noise_c,v 1.1 2006/08/04 23:34:39 espie Exp $ $OpenBSD: patch-src_plugins_noise_c,v 1.2 2020/06/30 07:13:48 ajacoutot Exp $
--- src/plugins/noise.c.orig Sat Aug 5 01:15:43 2006
+++ src/plugins/noise.c Sat Aug 5 01:16:54 2006 Index: src/plugins/noise.c
--- src/plugins/noise.c.orig
+++ src/plugins/noise.c
@@ -140,10 +140,13 @@ LADSPA_Descriptor * g_psDescriptor; @@ -140,10 +140,13 @@ LADSPA_Descriptor * g_psDescriptor;
/*****************************************************************************/ /*****************************************************************************/

View File

@ -1,2 +1,7 @@
Simple plugin architecture for audio transformations. LADSPA is a standard that allows software audio processors and effects to
Initially developed on Linux, reasonably portable everywhere. be plugged into a wide range of audio synthesis and recording packages.
For instance, it allows a developer to write a reverb program and bundle
it into a LADSPA "plugin library." Ordinary users can then use this reverb
within any LADSPA-friendly audio application. Most major audio applications
on Linux support LADSPA.

View File

@ -1,14 +1,14 @@
@comment $OpenBSD: PLIST,v 1.2 2010/05/09 21:18:29 robert Exp $ @comment $OpenBSD: PLIST,v 1.3 2020/06/30 07:13:49 ajacoutot Exp $
@bin bin/analyseplugin @bin bin/analyseplugin
@bin bin/applyplugin @bin bin/applyplugin
@bin bin/listplugins @bin bin/listplugins
include/ladspa.h include/ladspa.h
lib/ladspa/ lib/ladspa/
lib/ladspa/amp.so @so lib/ladspa/amp.so
lib/ladspa/delay.so @so lib/ladspa/delay.so
lib/ladspa/filter.so @so lib/ladspa/filter.so
lib/ladspa/noise.so @so lib/ladspa/noise.so
lib/ladspa/sine.so @so lib/ladspa/sine.so
share/doc/ladspa/ share/doc/ladspa/
share/doc/ladspa/background.html share/doc/ladspa/background.html
share/doc/ladspa/changes.html share/doc/ladspa/changes.html