Accepting request 24557 from multimedia:libs

Copy from multimedia:libs/ladspa based on submit request 24557 from user tiwai

OBS-URL: https://build.opensuse.org/request/show/24557
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/ladspa?expand=0&rev=8
This commit is contained in:
OBS User autobuild 2009-11-18 10:35:38 +00:00 committed by Git OBS Bridge
commit dc7aba29c9
5 changed files with 70 additions and 35 deletions

View File

@ -1,8 +1,12 @@
--- src/Makefile.am-dist 2004-01-22 12:50:08.279992874 +0100
+++ src/Makefile.am 2004-01-22 12:50:30.475950498 +0100
@@ -33,6 +33,9 @@
random_1661_so_DEPENDENCIES = include/common.h
---
src/Makefile.am | 3 +++
1 file changed, 3 insertions(+)
--- src/Makefile.am.orig
+++ src/Makefile.am
@@ -69,6 +69,9 @@
tracker_2025_so_DEPENDENCIES = include/common.h
triangle_1649_so_DEPENDENCIES = include/wavedata.h
+%.c: %.so.c
+ ln -s $*.so.c $*.c

View File

@ -1,4 +1,31 @@
--- src/Makefile.am
---
src/Makefile.am | 5 +++--
src/adsr_1653.so.c | 5 +++--
src/adsr_1680.so.c | 6 ++++--
src/amp_1654.so.c | 4 ++--
src/branch_1673.so.c | 5 +++--
src/dahdsr_2021.so.c | 4 ++--
src/difference_2030.so.c | 4 ++--
src/fmod_1656.so.c | 4 ++--
src/interpolator_1660.so.c | 4 ++--
src/lp4pole_1671.so.c | 4 ++--
src/product_1668.so.c | 4 ++--
src/pulse_1645.so.c | 4 ++--
src/quantiser.so.c | 4 ++--
src/random_1661.so.c | 4 ++--
src/ratio_2034.so.c | 4 ++--
src/sawtooth_1641.so.c | 4 ++--
src/sequencer.so.c | 4 ++--
src/square_1643.so.c | 4 ++--
src/sum_1665.so.c | 4 ++--
src/sync_pulse_2023.so.c | 4 ++--
src/sync_square_1678.so.c | 4 ++--
src/tracker_2025.so.c | 4 ++--
src/triangle_1649.so.c | 4 ++--
src/wdatutil.c | 2 +-
24 files changed, 52 insertions(+), 47 deletions(-)
--- src/Makefile.am.orig
+++ src/Makefile.am
@@ -3,7 +3,7 @@
SUBDIRS = include
@ -19,7 +46,7 @@
## Need to specify sources so that make dist will include them
lp4pole_1671_so_SOURCES = lp4pole_1671.so.c lp4pole_filter.c
--- src/adsr_1653.so.c
--- src/adsr_1653.so.c.orig
+++ src/adsr_1653.so.c
@@ -278,7 +278,8 @@
plugin->samples = samples;
@ -40,7 +67,7 @@
_fini ()
{
LADSPA_Descriptor * descriptor;
--- src/adsr_1680.so.c
--- src/adsr_1680.so.c.orig
+++ src/adsr_1680.so.c
@@ -281,7 +281,8 @@
plugin->samples = samples;
@ -62,7 +89,7 @@
{
LADSPA_Descriptor * descriptor;
int i;
--- src/amp_1654.so.c
--- src/amp_1654.so.c.orig
+++ src/amp_1654.so.c
@@ -150,7 +150,7 @@
}
@ -82,7 +109,7 @@
_fini ()
{
LADSPA_Descriptor * descriptor;
--- src/branch_1673.so.c
--- src/branch_1673.so.c.orig
+++ src/branch_1673.so.c
@@ -137,7 +137,8 @@
output2[0] = input;
@ -103,7 +130,7 @@
_fini ()
{
LADSPA_Descriptor * descriptor;
--- src/dahdsr_2021.so.c
--- src/dahdsr_2021.so.c.orig
+++ src/dahdsr_2021.so.c
@@ -746,7 +746,7 @@
plugin->samples = samples;
@ -123,7 +150,7 @@
_fini (void)
{
LADSPA_Descriptor * descriptor;
--- src/difference_2030.so.c
--- src/difference_2030.so.c.orig
+++ src/difference_2030.so.c
@@ -190,7 +190,7 @@
output[0] = input - minus;
@ -143,7 +170,7 @@
_fini (void)
{
LADSPA_Descriptor * descriptor;
--- src/fmod_1656.so.c
--- src/fmod_1656.so.c.orig
+++ src/fmod_1656.so.c
@@ -201,7 +201,7 @@
output[0] = scale * frequency;
@ -163,7 +190,7 @@
_fini (void)
{
LADSPA_Descriptor * descriptor;
--- src/interpolator_1660.so.c
--- src/interpolator_1660.so.c.orig
+++ src/interpolator_1660.so.c
@@ -154,7 +154,7 @@
plugin->p0 = input;
@ -183,7 +210,7 @@
_fini (void)
{
LADSPA_Descriptor *descriptor;
--- src/lp4pole_1671.so.c
--- src/lp4pole_1671.so.c.orig
+++ src/lp4pole_1671.so.c
@@ -197,7 +197,7 @@
}
@ -203,7 +230,7 @@
_fini (void)
{
LADSPA_Descriptor *descriptor;
--- src/product_1668.so.c
--- src/product_1668.so.c.orig
+++ src/product_1668.so.c
@@ -163,7 +163,7 @@
output[0] = input1 * input2;
@ -223,7 +250,7 @@
_fini (void)
{
LADSPA_Descriptor * descriptor;
--- src/pulse_1645.so.c
--- src/pulse_1645.so.c.orig
+++ src/pulse_1645.so.c
@@ -303,7 +303,7 @@
plugin->phase = phase;
@ -243,7 +270,7 @@
_fini (void)
{
LADSPA_Descriptor * descriptor;
--- src/quantiser.so.c
--- src/quantiser.so.c.orig
+++ src/quantiser.so.c
@@ -544,7 +544,7 @@
plugin->last_found = last_found;
@ -263,7 +290,7 @@
_fini (void)
{
LADSPA_Descriptor * descriptor;
--- src/random_1661.so.c
--- src/random_1661.so.c.orig
+++ src/random_1661.so.c
@@ -359,7 +359,7 @@
plugin->value2 = value2;
@ -283,7 +310,7 @@
_fini (void)
{
LADSPA_Descriptor * descriptor;
--- src/ratio_2034.so.c
--- src/ratio_2034.so.c.orig
+++ src/ratio_2034.so.c
@@ -199,7 +199,7 @@
output[0] = numerator / denominator;
@ -303,7 +330,7 @@
_fini (void)
{
LADSPA_Descriptor * descriptor;
--- src/sawtooth_1641.so.c
--- src/sawtooth_1641.so.c.orig
+++ src/sawtooth_1641.so.c
@@ -183,7 +183,7 @@
plugin->phase = phase;
@ -323,7 +350,7 @@
_fini (void)
{
LADSPA_Descriptor * descriptor;
--- src/sequencer.so.c
--- src/sequencer.so.c.orig
+++ src/sequencer.so.c
@@ -226,7 +226,7 @@
plugin->step_index = step_index;
@ -343,7 +370,7 @@
_fini (void)
{
LADSPA_Descriptor * descriptor;
--- src/square_1643.so.c
--- src/square_1643.so.c.orig
+++ src/square_1643.so.c
@@ -185,7 +185,7 @@
plugin->phase = phase;
@ -363,7 +390,7 @@
_fini (void)
{
LADSPA_Descriptor * descriptor;
--- src/sum_1665.so.c
--- src/sum_1665.so.c.orig
+++ src/sum_1665.so.c
@@ -163,7 +163,7 @@
output[0] = input1 + input2;
@ -383,7 +410,7 @@
_fini (void)
{
LADSPA_Descriptor * descriptor;
--- src/sync_pulse_2023.so.c
--- src/sync_pulse_2023.so.c.orig
+++ src/sync_pulse_2023.so.c
@@ -223,7 +223,7 @@
plugin->phase = phase;
@ -403,7 +430,7 @@
_fini (void)
{
LADSPA_Descriptor * descriptor;
--- src/sync_square_1678.so.c
--- src/sync_square_1678.so.c.orig
+++ src/sync_square_1678.so.c
@@ -208,7 +208,7 @@
plugin->phase = phase;
@ -423,7 +450,7 @@
_fini (void)
{
LADSPA_Descriptor * descriptor;
--- src/tracker_2025.so.c
--- src/tracker_2025.so.c.orig
+++ src/tracker_2025.so.c
@@ -234,7 +234,7 @@
plugin->last_value = last_value;
@ -443,7 +470,7 @@
_fini (void)
{
LADSPA_Descriptor * descriptor;
--- src/triangle_1649.so.c
--- src/triangle_1649.so.c.orig
+++ src/triangle_1649.so.c
@@ -322,7 +322,7 @@
plugin->phase = phase;
@ -463,7 +490,7 @@
_fini (void)
{
LADSPA_Descriptor * descriptor;
--- src/wdatutil.c
--- src/wdatutil.c.orig
+++ src/wdatutil.c
@@ -411,7 +411,7 @@
* _init()

View File

@ -21,7 +21,7 @@
Name: ladspa-devel
Summary: Include Files mandatory for Development.
Version: 1.12.code10.3
Release: 104
Release: 105
License: GPL v2 or later
Group: Development/Libraries/C and C++
Source: ladspa_sdk_1.12.tar.bz2

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Tue Nov 17 08:58:59 CET 2009 - tiwai@suse.de
- refresh patches with fuzz=0
- add -fno-strict-aliasing for swh plugins
-------------------------------------------------------------------
Tue Nov 10 20:22:43 CET 2009 - tiwai@suse.de

View File

@ -38,7 +38,7 @@ BuildRequires: fdupes fftw-devel fftw3-devel flac-devel gcc-c++ ladspa-devel li
%define blepvco_version 0.1.0
Summary: The Linux Audio Developer's Simple Plug-In API
Version: 1.12.code10.3.1
Release: 118
Release: 119
License: GPL v2 or later
Group: Development/Libraries/C and C++
AutoReq: on
@ -198,11 +198,10 @@ make CFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing -fPIC" targets
cd ../..
# SWH plugins
cd swh-plugins-%{swh_version}
%{?suse_update_config:%{suse_update_config -f}}
autoreconf --install --force
CFLAGS="$RPM_OPT_FLAGS -fPIC -DPIC" \
CFLAGS="$RPM_OPT_FLAGS -fPIC -DPIC -fno-strict-aliasing" \
./configure --prefix=%{_prefix}
make CFLAGS="$RPM_OPT_FLAGS -fPIC -DPIC"
make CFLAGS="$RPM_OPT_FLAGS -fPIC -DPIC -fno-strict-aliasing"
cd ..
# Vocoder
cd vocoder-%{vocoder_version}
@ -218,7 +217,6 @@ make CFLAGS="$RPM_OPT_FLAGS -fPIC"
cd ..
# Blop
cd blop-%{blop_version}
%{?suse_update_config:%{suse_update_config -f}}
autoreconf --install --force
./configure --prefix=%{_prefix} \
--with-ladspa-plugin-dir=%{_libdir}/ladspa