public inbox for cygwin-apps@cygwin.com
 help / color / mirror / Atom feed
From: Takashi Yano <takashi.yano@nifty.ne.jp>
To: cygwin-apps@cygwin.com
Subject: Re: [ITA] ladspa-swh-plugins
Date: Thu, 14 Sep 2023 12:24:06 +0900	[thread overview]
Message-ID: <20230914122406.927e4c765eba2e388569cc1a@nifty.ne.jp> (raw)
In-Reply-To: <20230913233723.f3cc5aa7c30a542fdd8ec389@nifty.ne.jp>

[-- Attachment #1: Type: text/plain, Size: 212 bytes --]

On Wed, 13 Sep 2023 23:37:23 +0900
Takashi Yano wrote:
> I'd like to adopt the ladspa-swh-plugins package.
> Thanks in advance.

I forgot to attach patch file. Sorry.

-- 
Takashi Yano <takashi.yano@nifty.ne.jp>

[-- Attachment #2: ladspa-swh-plugins.cygport --]
[-- Type: text/plain, Size: 521 bytes --]

NAME="ladspa-swh-plugins"
VERSION=0.4.17
RELEASE=1
LICENSE="GPL-2.0-or-later"
CATEGORY="Audio"
SUMMARY="Large collection of LADSPA plugins"
DESCRIPTION="Large collection of LADSPA plugins"
HOMEPAGE="http://plugin.org.uk/"
SRC_URI="https://github.com/swh/ladspa/archive/refs/tags/v${VERSION}.tar.gz"
SRC_DIR="ladspa-${VERSION}"

DIFF_EXCLUDES="*.Plo stamp-po"

src_compile() {
	cd ${S}
	cp -p makestub.pl ${B}
	cp -p ladspa-swh.dtd ${B}
	cp -p *.xml ${B}
	cygautoreconf
	cd ${B}
	cygconf
	cygmake
}

[-- Attachment #3: ladspa-swh-plugins-0.4.17-1.src.patch --]
[-- Type: text/plain, Size: 4310 bytes --]

--- origsrc/ladspa-0.4.17/Makefile.am	2016-10-17 18:05:54.000000000 +0900
+++ src/ladspa-0.4.17/Makefile.am	2023-09-14 10:01:16.379215900 +0900
@@ -44,51 +44,58 @@ plugindir = $(libdir)/ladspa
 
 # Uncomment below for Darwin support.  Or add a conditional for this.
 #AM_CFLAGS = -fno-common -flat_namespace -bundle -undefined suppress -lbundle1.o
-AM_LDFLAGS = -module -avoid-version
+AM_LDFLAGS = -module -avoid-version -no-undefined -shrext .so $(LTLIBINTL)
 DESTDIR = $(INSTALL_ROOT)
 DISTFN = $(distdir)
 
 # Files needed for FFT based plugins
-pitch_scale_1193_la_LIBADD = -Lutil -lpitchscale $(FFTW_LIBS)
-pitch_scale_1193_la_CFLAGS = $(FFTW_CFLAGS)
-pitch_scale_1193_la_SOURCES = pitch_scale_1193.c
-pitch_scale_1194_la_LIBADD = -Lutil -lpitchscale $(FFTW_LIBS)
-pitch_scale_1194_la_CFLAGS = $(FFTW_CFLAGS)
-pitch_scale_1194_la_SOURCES = pitch_scale_1194.c
+pitch_scale_1193_la_LIBADD = $(FFTW_LIBS)
+pitch_scale_1193_la_CFLAGS = $(FFTW_CFLAGS) -Iutil
+pitch_scale_1193_la_SOURCES = pitch_scale_1193.c util/pitchscale.c
+pitch_scale_1194_la_LIBADD = $(FFTW_LIBS)
+pitch_scale_1194_la_CFLAGS = $(FFTW_CFLAGS) -Iutil
+pitch_scale_1194_la_SOURCES = pitch_scale_1194.c util/pitchscale.c
 mbeq_1197_la_LIBADD = $(FFTW_LIBS)
 mbeq_1197_la_CFLAGS = $(FFTW_CFLAGS)
 mbeq_1197_la_SOURCES = mbeq_1197.c
 imp_1199_la_LIBADD = $(FFTW_LIBS)
 imp_1199_la_CFLAGS = $(FFTW_CFLAGS)
 imp_1199_la_DEPENDENCIES = @top_srcdir@/impulses/*
-hermes_filter_1200_la_DEPENDENCIES = util/libblo.a
-hermes_filter_1200_la_LIBADD = -Lutil -lblo
-fm_osc_1415_la_DEPENDENCIES = util/libblo.a
-fm_osc_1415_la_LIBADD = -Lutil -lblo
-analogue_osc_1416_la_DEPENDENCIES = util/libblo.a
-analogue_osc_1416_la_LIBADD = -Lutil -lblo
-sc1_1425_la_LIBADD = -Lutil -ldb -lrms
-sc2_1426_la_LIBADD = -Lutil -ldb -lrms
-sc3_1427_la_LIBADD = -Lutil -ldb -lrms
-sc4_1882_la_LIBADD = -Lutil -ldb -lrms
-sc4m_1916_la_LIBADD = -Lutil -ldb -lrms
-se4_1883_la_LIBADD = -Lutil -ldb -lrms
-gsm_1215_la_LIBADD = gsm/libgsm.a
-gverb_1216_la_LIBADD = -Lgverb -lgverb
+hermes_filter_1200_la_CFLAGS = -Iutil
+hermes_filter_1200_la_SOURCES = hermes_filter_1200.c util/blo.c
+fm_osc_1415_la_CFLAGS = -Iutil
+fm_osc_1415_la_SOURCES = fm_osc_1415.c util/blo.c
+analogue_osc_1416_la_CFLAGS = -Iutil
+analogue_osc_1416_la_SOURCES = analogue_osc_1416.c util/blo.c
+sc1_1425_la_CFLAGS = -Iutil
+sc1_1425_la_SOURCES = sc1_1425.c util/db.c util/rms.c
+sc2_1426_la_CFLAGS = -Iutil
+sc2_1426_la_SOURCES = sc2_1426.c util/db.c util/rms.c
+sc3_1427_la_CFLAGS = -Iutil
+sc3_1427_la_SOURCES = sc3_1427.c util/db.c util/rms.c
+sc4_1882_la_CFLAGS = -Iutil
+sc4_1882_la_SOURCES = sc4_1882.c util/db.c util/rms.c
+sc4m_1916_la_CFLAGS = -Iutil
+sc4m_1916_la_SOURCES = sc4m_1916.c util/db.c util/rms.c
+se4_1883_la_CFLAGS = -Iutil
+se4_1883_la_SOURCES = se4_1883.c util/db.c util/rms.c
+gsm_1215_la_LIBADD = -Lgsm -lgsm
+gverb_1216_la_CFLAGS = -Igverb
+gverb_1216_la_SOURCES = gverb_1216.c gverb/gverb.c gverb/gverbdsp.c
 lcr_delay_1436_la_DEPENDENCIES = util/biquad.h
 
-highpass_iir_1890_la_LIBADD = -Lutil -liir
-highpass_iir_1890_la_SOURCES = highpass_iir_1890.c
-lowpass_iir_1891_la_LIBADD = -Lutil -liir
-lowpass_iir_1891_la_SOURCES = lowpass_iir_1891.c
-bandpass_iir_1892_la_LIBADD = -Lutil -liir
-bandpass_iir_1892_la_SOURCES = bandpass_iir_1892.c
-bandpass_a_iir_1893_la_LIBADD = -Lutil -liir
-bandpass_a_iir_1893_la_SOURCES = bandpass_a_iir_1893.c
-notch_iir_1894_la_LIBADD = -Lutil -liir
-notch_iir_1894_la_SOURCES = notch_iir_1894.c
-butterworth_1902_la_LIBADD = -Lutil -liir
-butterworth_1902_la_SOURCES = butterworth_1902.c
+highpass_iir_1890_la_CFLAGS = -Iutil
+highpass_iir_1890_la_SOURCES = highpass_iir_1890.c util/iir.c
+lowpass_iir_1891_la_CFLAGS = -Iutil
+lowpass_iir_1891_la_SOURCES = lowpass_iir_1891.c util/iir.c
+bandpass_iir_1892_la_CFLAGS = -Iutil
+bandpass_iir_1892_la_SOURCES = bandpass_iir_1892.c util/iir.c
+bandpass_a_iir_1893_la_CFLAGS = -Iutil
+bandpass_a_iir_1893_la_SOURCES = bandpass_a_iir_1893.c util/iir.c
+notch_iir_1894_la_CFLAGS = -Iutil
+notch_iir_1894_la_SOURCES = notch_iir_1894.c util/iir.c
+butterworth_1902_la_CFLAGS = -Iutil
+butterworth_1902_la_SOURCES = butterworth_1902.c util/iir.c
 
 # Rule to build .c files from XML source
 %.c:	%.xml

  reply	other threads:[~2023-09-14  3:24 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-09-13 14:37 Takashi Yano
2023-09-14  3:24 ` Takashi Yano [this message]
2023-09-14 13:28   ` Jon Turney
2023-09-15  3:37     ` Takashi Yano

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20230914122406.927e4c765eba2e388569cc1a@nifty.ne.jp \
    --to=takashi.yano@nifty.ne.jp \
    --cc=cygwin-apps@cygwin.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).