media/ladspa-sdk 1.13 (NEW)
authoryselkowitz <yselkowitz@e127d73d-b18e-4ae1-a744-a22e6a3ccd30>
Fri, 10 Oct 2008 17:12:47 +0000 (17:12 +0000)
committeryselkowitz <yselkowitz@e127d73d-b18e-4ae1-a744-a22e6a3ccd30>
Fri, 10 Oct 2008 17:12:47 +0000 (17:12 +0000)
git-svn-id: https://cygwin-ports.svn.sourceforge.net/svnroot/cygwin-ports/ports/trunk@4629 e127d73d-b18e-4ae1-a744-a22e6a3ccd30

1.13-ctor-dtor.patch [new file with mode: 0644]
1.13-fPIC.patch [new file with mode: 0644]
README [new file with mode: 0644]
ladspa-sdk-1.13-1.cygport [new file with mode: 0644]
profile.d.csh [new file with mode: 0644]
profile.d.sh [new file with mode: 0644]
setup.hint [new file with mode: 0644]

diff --git a/1.13-ctor-dtor.patch b/1.13-ctor-dtor.patch
new file mode 100644 (file)
index 0000000..0ec0968
--- /dev/null
@@ -0,0 +1,13 @@
+--- origsrc/ladspa_sdk/src/ladspa.h    2002-08-07 16:15:12.000000000 -0500
++++ src/ladspa_sdk/src/ladspa.h        2008-10-10 03:13:40.010913300 -0500
+@@ -592,6 +592,10 @@
+ typedef const LADSPA_Descriptor * 
+ (*LADSPA_Descriptor_Function)(unsigned long Index);
++/* required for _init/_fini to be called automatically by dlopen/dlclose */
++__attribute__((constructor)) void _init(void);
++__attribute__((destructor)) void _fini(void);
++
+ /**********************************************************************/
+ #ifdef __cplusplus
diff --git a/1.13-fPIC.patch b/1.13-fPIC.patch
new file mode 100644 (file)
index 0000000..a6e1fa8
--- /dev/null
@@ -0,0 +1,16 @@
+--- origsrc/ladspa_sdk/src/makefile    2008-10-10 01:27:44.060833300 -0500
++++ src/ladspa_sdk/src/makefile        2008-10-10 01:28:22.592083300 -0500
+@@ -37,11 +37,11 @@
+ #
+ ../plugins/%.so:      plugins/%.c ladspa.h
+-      $(CC) $(CFLAGS) $(INCLUDES) -fPIC -o plugins/$*.o -c plugins/$*.c
++      $(CC) $(CFLAGS) $(INCLUDES) -o plugins/$*.o -c plugins/$*.c
+       $(LD) $(RAW_LDFLAGS) -o ../plugins/$*.so plugins/$*.o -shared
+ ../plugins/%.so:      plugins/%.cpp ladspa.h
+-      $(CXX) $(CXXFLAGS) $(INCLUDES) -fPIC -o plugins/$*.o -c plugins/$*.cpp
++      $(CXX) $(CXXFLAGS) $(INCLUDES) -o plugins/$*.o -c plugins/$*.cpp
+       $(CXX) $(LDFLAGS) -o ../plugins/$*.so plugins/$*.o -shared
+ ###############################################################################
diff --git a/README b/README
new file mode 100644 (file)
index 0000000..da0e3fb
--- /dev/null
+++ b/README
@@ -0,0 +1,74 @@
+ladspa-sdk
+------------------------------------------
+The Linux Audio Developer's Simple Plugin API (LADSPA) attempts to give 
+programmers the ability to write simple `plugin' audio processors in 
+C/C++ and link them dynamically against a range of host applications.
+
+Runtime requirements:
+  cygwin-1.5.25-15
+
+Build requirements:
+(besides corresponding -devel packages)
+  binutils-20080624-2
+  cygport-0.4.0-1
+  gcc-core-3.4.4-3
+  gcc-g++-3.4.4-3
+  make-3.81-1
+
+Canonical website:
+  http://www.ladspa.org/
+
+Canonical download:
+  http://www.ladspa.org/download/
+
+-------------------------------------------
+
+Build instructions:
+  unpack ladspa-sdk-1.13-X-src.tar.bz2
+    if you use setup to install this src package, it will be
+        unpacked under /usr/src automatically
+  cd /usr/src
+  cygport ./ladspa-sdk-1.13-X.cygport all
+
+This will create:
+  /usr/src/ladspa-sdk-1.13-X-src.tar.bz2
+  /usr/src/ladspa-sdk-1.13-X.tar.bz2
+
+-------------------------------------------
+
+Files included in the binary package:
+
+  /etc/profile.d/ladspa-sdk.csh
+  /etc/profile.d/ladspa-sdk.sh
+  /usr/bin/analyseplugin.exe
+  /usr/bin/applyplugin.exe
+  /usr/bin/listplugins.exe
+  /usr/include/ladspa.h
+  /usr/lib/ladspa/amp.so
+  /usr/lib/ladspa/delay.so
+  /usr/lib/ladspa/filter.so
+  /usr/lib/ladspa/noise.so
+  /usr/lib/ladspa/sine.so
+  /usr/share/doc/ladspa-sdk-1.13/COPYING
+  /usr/share/doc/ladspa-sdk-1.13/README
+  /usr/share/doc/ladspa-sdk-1.13/html/background.html
+  /usr/share/doc/ladspa-sdk-1.13/html/changes.html
+  /usr/share/doc/ladspa-sdk-1.13/html/download.html
+  /usr/share/doc/ladspa-sdk-1.13/html/example_plugins.html
+  /usr/share/doc/ladspa-sdk-1.13/html/index.html
+  /usr/share/doc/ladspa-sdk-1.13/html/installation.html
+  /usr/share/doc/ladspa-sdk-1.13/html/license.html
+  /usr/share/doc/ladspa-sdk-1.13/html/overview.html
+  /usr/share/doc/ladspa-sdk-1.13/html/shared_plugins.html
+  /usr/share/doc/ladspa-sdk-1.13/html/unique_ids.html
+
+------------------
+
+Port Notes:
+
+----- version 1.13-1 -----
+Initial release for Cygwin.
+
+
+Cygwin port maintained by:
+http://sourceware.org/cygwinports/
diff --git a/ladspa-sdk-1.13-1.cygport b/ladspa-sdk-1.13-1.cygport
new file mode 100644 (file)
index 0000000..fcce3e7
--- /dev/null
@@ -0,0 +1,28 @@
+DESCRIPTION="Audio Developers Simple Plugin API"
+HOMEPAGE="http://www.ladspa.org/"
+SRC_URI="http://www.ladspa.org/download/${PN//-/_}_${PV}.tgz"
+PATCH_URI="
+       mirror://portage/media-libs/${PN}/files/${PN}-1.13-properbuild.patch
+       1.13-fPIC.patch
+       1.13-ctor-dtor.patch
+"
+
+SRC_DIR="${PN//-/_}"
+
+src_compile() {
+       lndirs
+       cd ${B}/src
+       cygmake targets LDFLAGS="-Wl,--enable-auto-image-base" LD='$(CC) $(LDFLAGS)'
+}
+
+src_test() {
+       cd ${B}/src
+       cygtest
+}
+
+src_install() {
+       cd ${B}/src
+       cyginstall MKDIR_P="mkdir -p"
+}
+DOCS="doc/COPYING"
+HTMLDOCS="doc/*.html"
diff --git a/profile.d.csh b/profile.d.csh
new file mode 100644 (file)
index 0000000..2724ec6
--- /dev/null
@@ -0,0 +1 @@
+setenv LADSPA_PATH /usr/lib/ladspa
diff --git a/profile.d.sh b/profile.d.sh
new file mode 100644 (file)
index 0000000..0ed16a5
--- /dev/null
@@ -0,0 +1 @@
+export LADSPA_PATH=/usr/lib/ladspa
diff --git a/setup.hint b/setup.hint
new file mode 100644 (file)
index 0000000..9aa2d45
--- /dev/null
@@ -0,0 +1,7 @@
+category: Audio
+requires: cygwin
+sdesc: "Audio processor plugin framework"
+ldesc: "The Linux Audio Developer's Simple Plugin API (LADSPA) attempts 
+to give programmers the ability to write simple `plugin' audio 
+processors in C/C++ and link them dynamically against a range of host 
+applications."
This page took 0.025792 seconds and 5 git commands to generate.