From 196c16bdde247f0776cb2e58e147a7f888dc7a97 Mon Sep 17 00:00:00 2001 From: Tilman Keskinoz Date: Sat, 28 Feb 2004 11:01:00 +0000 Subject: [PATCH] Update to 0.4.3 Add amd64 to ONLY_FOR_ARCHS, since it builds fine here. --- audio/swhplugins/Makefile | 11 +++++----- audio/swhplugins/distinfo | 4 ++-- audio/swhplugins/files/patch-Makefile.in | 26 ------------------------ audio/swhplugins/files/patch-configure | 12 +++++++++++ audio/swhplugins/pkg-plist | 12 ++++++++++- 5 files changed, 31 insertions(+), 34 deletions(-) delete mode 100644 audio/swhplugins/files/patch-Makefile.in create mode 100644 audio/swhplugins/files/patch-configure diff --git a/audio/swhplugins/Makefile b/audio/swhplugins/Makefile index c46dfbe5f176..b3fc8afbbcab 100644 --- a/audio/swhplugins/Makefile +++ b/audio/swhplugins/Makefile @@ -5,8 +5,7 @@ # $FreeBSD$ PORTNAME= swhplugins -PORTVERSION= 0.4.2 -PORTREVISION= 2 +PORTVERSION= 0.4.3 CATEGORIES= audio MASTER_SITES= http://plugin.org.uk/releases/%SUBDIR%/ MASTER_SITE_SUBDIR= ${PORTVERSION} @@ -19,7 +18,7 @@ BUILD_DEPENDS= ${LOCALBASE}/include/ladspa.h:${PORTSDIR}/audio/ladspa LIB_DEPENDS= fftw.2:${PORTSDIR}/math/fftw # includes assember code -ONLY_FOR_ARCHS= i386 +ONLY_FOR_ARCHS= i386 amd64 USE_GETTEXT= yes USE_REINPLACE= yes @@ -27,8 +26,9 @@ USE_GMAKE= yes USE_LIBTOOL= yes GNU_CONFIGURE= yes CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL} -CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \ - LDFLAGS="-L${LOCALBASE}/lib" +CONFIGURE_ENV= CPPFLAGS="-fPIC -I${LOCALBASE}/include" \ + LIBS="-L${LOCALBASE}/lib" +CONFIGURE_ARGS+= --with-libintl-prefix=${LOCALBASE} INSTALLS_SHLIB= yes post-patch: @@ -38,5 +38,6 @@ post-patch: ${WRKSRC}/configure @${REINPLACE_CMD} -e 's|#include ||g' \ ${WRKSRC}/gverb/gverb-test.c + @${REINPLACE_CMD} -e 's|-lrt||g' ${WRKSRC}/Makefile.in .include diff --git a/audio/swhplugins/distinfo b/audio/swhplugins/distinfo index 2de394397eae..fc3f94685e27 100644 --- a/audio/swhplugins/distinfo +++ b/audio/swhplugins/distinfo @@ -1,2 +1,2 @@ -MD5 (swh-plugins-0.4.2.tar.gz) = 2b20f2f879ec225be78fc880787108ec -SIZE (swh-plugins-0.4.2.tar.gz) = 764546 +MD5 (swh-plugins-0.4.3.tar.gz) = b248491d770d3f3bdaa96b0431e4ecd3 +SIZE (swh-plugins-0.4.3.tar.gz) = 796358 diff --git a/audio/swhplugins/files/patch-Makefile.in b/audio/swhplugins/files/patch-Makefile.in deleted file mode 100644 index 7c9d0f187a0b..000000000000 --- a/audio/swhplugins/files/patch-Makefile.in +++ /dev/null @@ -1,26 +0,0 @@ ---- Makefile.in.orig Mon Apr 7 23:57:02 2003 -+++ Makefile.in Fri May 2 00:04:29 2003 -@@ -132,7 +132,7 @@ - - # Wacky stuff to stop automake getting confused - EXTRA_DIST = *.xml *.c *.h *.dtd *.pl *.css impulses/*.h --LINK = gcc -nostartfiles -shared -Wl,-Bsymbolic -lc -lm $(INTLLIBS) -o $@ -+LINK = $(CC) -nostartfiles -shared -lm $(INTLLIBS) $(LDFLAGS) -o $@ - pkgbin_PROGRAMS = $(SOBS) - pkgbindir = @prefix@/lib/ladspa - DESTDIR = $(INSTALL_ROOT) -@@ -149,11 +149,11 @@ - imp_1199_so_LDADD = $(FFTLIBS) - imp_1199_so_DEPENDENCIES = impulses/* - hermes_filter_1200_so_DEPENDENCIES = util/libblo.a --hermes_filter_1200_so_LDADD = util/libblo.a -lrt -+hermes_filter_1200_so_LDADD = util/libblo.a - fm_osc_1415_so_DEPENDENCIES = util/libblo.a --fm_osc_1415_so_LDADD = util/libblo.a -lrt -+fm_osc_1415_so_LDADD = util/libblo.a - analogue_osc_1416_so_DEPENDENCIES = util/libblo.a --analogue_osc_1416_so_LDADD = util/libblo.a -lrt -+analogue_osc_1416_so_LDADD = util/libblo.a - sc1_1425_so_LDADD = util/libdb.a util/librms.a - sc2_1426_so_LDADD = util/libdb.a util/librms.a - sc3_1427_so_LDADD = util/libdb.a util/librms.a diff --git a/audio/swhplugins/files/patch-configure b/audio/swhplugins/files/patch-configure new file mode 100644 index 000000000000..8aeb747501ea --- /dev/null +++ b/audio/swhplugins/files/patch-configure @@ -0,0 +1,12 @@ +--- configure.orig Sat Feb 28 11:17:58 2004 ++++ configure Sat Feb 28 11:18:25 2004 +@@ -4440,9 +4440,6 @@ + echo "configure: warning: May result in non-portable code" 1>&2 + MACHINE="-mcpu=${build_cpu} -march=${build_cpu}" + if test ${build_cpu} = "powerpc"; then MACHINE=""; fi +- +- CFLAGS="$CFLAGS -Wall -O6 -fomit-frame-pointer -fstrength-reduce -funroll-loops -fmove-all-movables -ffast-math -fPIC -DPIC ${MACHINE} ${USE_SSE}" +- + + fi + diff --git a/audio/swhplugins/pkg-plist b/audio/swhplugins/pkg-plist index 70ec9ebd5596..5f45d6fa421f 100644 --- a/audio/swhplugins/pkg-plist +++ b/audio/swhplugins/pkg-plist @@ -1,4 +1,5 @@ lib/ladspa/alias_1407.so +lib/ladspa/allpass_1895.so lib/ladspa/am_pitchshift_1433.so lib/ladspa/amp_1181.so lib/ladspa/analogue_osc_1416.so @@ -6,16 +7,21 @@ lib/ladspa/bandpass_a_iir_1893.so lib/ladspa/bandpass_iir_1892.so lib/ladspa/bode_shifter_1431.so lib/ladspa/bode_shifter_cv_1432.so +lib/ladspa/butterworth_1902.so lib/ladspa/chebstortion_1430.so lib/ladspa/comb_1190.so +lib/ladspa/comb_1887.so lib/ladspa/comb_splitter_1411.so lib/ladspa/crossover_dist_1404.so lib/ladspa/dc_remove_1207.so lib/ladspa/decimator_1202.so lib/ladspa/declip_1195.so +lib/ladspa/decay_1886.so +lib/ladspa/delay_1898.so lib/ladspa/delayorama_1402.so lib/ladspa/diode_1185.so lib/ladspa/divider_1186.so +lib/ladspa/dj_eq_1901.so lib/ladspa/dj_flanger_1438.so lib/ladspa/dyson_compress_1403.so lib/ladspa/fad_delay_1192.so @@ -24,7 +30,7 @@ lib/ladspa/fm_osc_1415.so lib/ladspa/foldover_1213.so lib/ladspa/foverdrive_1196.so lib/ladspa/freq_tracker_1418.so -lib/ladspa/gate_1921.so +lib/ladspa/gate_1410.so lib/ladspa/giant_flange_1437.so lib/ladspa/gong_1424.so lib/ladspa/gong_beater_1439.so @@ -36,6 +42,7 @@ lib/ladspa/hermes_filter_1200.so lib/ladspa/highpass_iir_1890.so lib/ladspa/hilbert_1440.so lib/ladspa/imp_1199.so +lib/ladspa/impulse_1885.so lib/ladspa/inv_1429.so lib/ladspa/karaoke_1409.so lib/ladspa/lcr_delay_1436.so @@ -54,12 +61,14 @@ lib/ladspa/pitch_scale_1194.so lib/ladspa/plate_1423.so lib/ladspa/rate_shifter_1417.so lib/ladspa/retro_flange_1208.so +lib/ladspa/revdelay_1605.so lib/ladspa/ringmod_1188.so lib/ladspa/satan_maximiser_1408.so lib/ladspa/sc1_1425.so lib/ladspa/sc2_1426.so lib/ladspa/sc3_1427.so lib/ladspa/sc4_1882.so +lib/ladspa/se4_1883.so lib/ladspa/shaper_1187.so lib/ladspa/sifter_1210.so lib/ladspa/sin_cos_1881.so @@ -75,6 +84,7 @@ lib/ladspa/transient_1206.so lib/ladspa/triple_para_1204.so lib/ladspa/valve_1209.so lib/ladspa/valve_rect_1405.so +lib/ladspa/vynil_1905.so lib/ladspa/wave_terrain_1412.so lib/ladspa/zm1_1428.so share/ladspa/rdf/swh-aux.rdf