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

Revised.

-- 
Takashi Yano <takashi.y...@nifty.ne.jp>
NAME="ladspa-caps"
VERSION=0.9.26
RELEASE=1
LICENSE="GPL-3.0-or-later"
CATEGORY="Audio"
SUMMARY="LADSPA C* Audio Plugin Suite"
DESCRIPTION="CAPS, the C* Audio Plugin Suite, is a collection of refined
LADSPA audio plugins capable of (and mainly intended for) realtime operation.
The suite includes DSP units emulating instrument amplifiers, stomp-box
classics, versatile 'virtual analogue' oscillators, fractal oscillation,
reverb, equalization and more."
HOMEPAGE="http://quitte.de/dsp/caps.html";
SRC_URI="http://quitte.de/dsp/caps_${VERSION}.tar.bz2";
SRC_DIR="caps-${VERSION}"

DISTCLEANFILES="ladspa.h"

src_compile() {
        lndirs
        cd ${B}
        ./configure.py
        cygmake CXXFLAGS="${CXXFLAGS} -Dregister='' -ffast-math -funroll-loops"
}

src_install() {
       cd ${B}
       cyginstall STRIP=:
}
--- origsrc/caps-0.9.26/Makefile        2018-10-18 16:17:36.000000000 +0900
+++ src/caps-0.9.26/Makefile    2023-09-14 16:56:52.447897900 +0900
@@ -56,10 +56,10 @@ $(PLUG).so: $(OBJECTS)
        $(CC) $(ARCH) $(LDFLAGS) -o $@ $(OBJECTS)
 
 .cc.s: 
-       $(CC) $(ARCH) $(CFLAGS) -S $<
+       $(CXX) $(ARCH) $(CXXFLAGS) -S $<
 
-.cc.o: depend 
-       $(CC) $(ARCH) $(CFLAGS) -o $@ -c $<
+#.cc.o: depend 
+#      $(CC) $(ARCH) $(CFLAGS) -o $@ -c $<
 
 tags: $(SOURCES) $(HEADERS)
        @-if [ -x /usr/bin/ctags ]; then ctags $(SOURCES) $(HEADERS) >/dev/null 
2>&1 ; fi

Reply via email to