summaryrefslogtreecommitdiffstats
path: root/audio/blop
diff options
context:
space:
mode:
authorkrion <krion@FreeBSD.org>2004-08-30 07:22:00 +0000
committerkrion <krion@FreeBSD.org>2004-08-30 07:22:00 +0000
commit3e7edaf312a8bdf5d8ad8dd88451cc1c638665cb (patch)
treea93700bd5cc5a7f15fe18ee8db760904ce316339 /audio/blop
parent2053f32ec210a17848fea412ca00b64e6ae15c1d (diff)
downloadFreeBSD-ports-3e7edaf312a8bdf5d8ad8dd88451cc1c638665cb.zip
FreeBSD-ports-3e7edaf312a8bdf5d8ad8dd88451cc1c638665cb.tar.gz
Update to version 0.2.8
PR: ports/71120 Submitted by: Ports Fury
Diffstat (limited to 'audio/blop')
-rw-r--r--audio/blop/Makefile26
-rw-r--r--audio/blop/distinfo4
-rw-r--r--audio/blop/files/patch-configure15
-rw-r--r--audio/blop/files/patch-src-sequencer.so.c37
-rw-r--r--audio/blop/pkg-plist13
5 files changed, 42 insertions, 53 deletions
diff --git a/audio/blop/Makefile b/audio/blop/Makefile
index d5a3b1e..f261cda 100644
--- a/audio/blop/Makefile
+++ b/audio/blop/Makefile
@@ -5,8 +5,7 @@
# $FreeBSD$
PORTNAME= blop
-PORTVERSION= 0.2.7
-PORTREVISION= 1
+PORTVERSION= 0.2.8
CATEGORIES= audio
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
@@ -21,14 +20,27 @@ USE_REINPLACE= yes
USE_GMAKE= yes
GNU_CONFIGURE= yes
CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
+CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}"
CONFIGURE_ARGS= --with-ladspa-prefix="${LOCALBASE}"
+OPTIONS= NLS "Native language support" on
+
+CPPFLAGS= -I${LOCALBASE}/include
+LDFLAGS= -L${LOCALBASE}/lib
+
+.include <bsd.port.pre.mk>
+
+.if defined(WITHOUT_NLS)
+CONFIGURE_ARGS+= --disable-nls
+PLIST_SUB+= NLS="@comment "
+.else
+USE_GETTEXT= yes
+PLIST_SUB+= NLS=""
+.endif
+
post-patch:
@${FIND} ${WRKSRC} -name "Makefile.in" | ${XARGS} ${REINPLACE_CMD} -e \
- 's|\$$(LIBS)|\$$(LIBS) \$$(LDFLAGS)|g ; \
+ 's|$$(LIBS)$$|$$(LIBS) $$(LDFLAGS)|g ; \
s|-lc | |g'
-pre-build:
- cd ${WRKSRC}/src; ${GMAKE} sawtooth_data.h square_data.h parabola_data.h
-
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>
diff --git a/audio/blop/distinfo b/audio/blop/distinfo
index 32acfa8..a0282ef 100644
--- a/audio/blop/distinfo
+++ b/audio/blop/distinfo
@@ -1,2 +1,2 @@
-MD5 (blop-0.2.7.tar.gz) = cc40f5eeb03c6657349c700d2dc9e382
-SIZE (blop-0.2.7.tar.gz) = 93433
+MD5 (blop-0.2.8.tar.gz) = 4baedbf1e7cacc7d1034c4bcd5556d6f
+SIZE (blop-0.2.8.tar.gz) = 228110
diff --git a/audio/blop/files/patch-configure b/audio/blop/files/patch-configure
index d134b6e..e526805 100644
--- a/audio/blop/files/patch-configure
+++ b/audio/blop/files/patch-configure
@@ -1,11 +1,12 @@
---- configure.orig Wed Feb 19 05:23:43 2003
-+++ configure Mon Mar 1 01:25:03 2004
-@@ -843,7 +843,7 @@
+--- configure.orig Tue Jun 15 18:11:25 2004
++++ configure Mon Aug 30 03:37:21 2004
+@@ -4533,8 +4533,7 @@
+ enableval="$enable_debug"
CFLAGS="-pipe -Wall -O0 -g"
else
- CPU=$(uname -m)
-- CFLAGS="-pipe -Wall -O3 -DNO_DEBUG -Wno-unused -ffast-math -fomit-frame-pointer -fstrength-reduce -funroll-loops -fmove-all-movables -fPIC -DPIC"
-+ CFLAGS="$CFLAGS -DNO_DEBUG -fPIC -DPIC"
+- CFLAGS="-pipe -Wall -O3 -Wno-unused -DNO_DEBUG -DPIC -fPIC \
+- -ffast-math -fomit-frame-pointer -funroll-loops"
++ CFLAGS="$CFLAGS -DNO_DEBUG -DPIC -fPIC"
- fi
+ fi;
diff --git a/audio/blop/files/patch-src-sequencer.so.c b/audio/blop/files/patch-src-sequencer.so.c
deleted file mode 100644
index 934dc85..0000000
--- a/audio/blop/files/patch-src-sequencer.so.c
+++ /dev/null
@@ -1,37 +0,0 @@
---- src/sequencer.so.c.orig Mon Feb 17 04:20:44 2003
-+++ src/sequencer.so.c Fri Apr 25 02:44:42 2003
-@@ -136,6 +136,8 @@
- void runSequencer(LADSPA_Handle instance,
- unsigned long sample_count)
- {
-+ int i, rst;
-+ unsigned long s;
- Sequencer *plugin = (Sequencer *)instance;
-
- /* Gate */
-@@ -167,9 +169,7 @@
-
- unsigned int step_index = plugin->step_index;
- unsigned int loop_index = lrintf(loop_steps);
-- int rst = lrintf(reset);
-- int i;
-- unsigned long s;
-+ rst = lrintf(reset);
-
- loop_index = loop_index == 0 ? 1 : loop_index;
- loop_index = loop_index > SEQUENCER_MAX_INPUTS ? SEQUENCER_MAX_INPUTS : loop_index;
-@@ -223,12 +223,12 @@
- void (*run_functions[])(LADSPA_Handle,
- unsigned long) = {runSequencer};
-
-- sequencer_descriptors = (LADSPA_Descriptor **)calloc(SEQUENCER_VARIANT_COUNT, sizeof(LADSPA_Descriptor));
--
- char label[12];
- char name[33];
- char loop_point_label[20];
- char value_label[14];
-+
-+ sequencer_descriptors = (LADSPA_Descriptor **)calloc(SEQUENCER_VARIANT_COUNT, sizeof(LADSPA_Descriptor));
-
- /* Mmmm. Lovely... */
- sprintf(label, "%s%d", "sequencer", SEQUENCER_MAX_INPUTS);
diff --git a/audio/blop/pkg-plist b/audio/blop/pkg-plist
index 379a427..5b28767 100644
--- a/audio/blop/pkg-plist
+++ b/audio/blop/pkg-plist
@@ -1,19 +1,32 @@
lib/ladspa/adsr_1653.so
lib/ladspa/adsr_1680.so
lib/ladspa/amp_1654.so
+lib/ladspa/blop_files/parabola_1649_data.so
+lib/ladspa/blop_files/sawtooth_1641_data.so
+lib/ladspa/blop_files/square_1643_data.so
lib/ladspa/branch_1673.so
+lib/ladspa/dahdsr_2021.so
+lib/ladspa/difference_2030.so
lib/ladspa/fmod_1656.so
lib/ladspa/interpolator_1660.so
lib/ladspa/lp4pole_1671.so
lib/ladspa/product_1668.so
lib/ladspa/pulse_1645.so
+lib/ladspa/quantiser100_2029.so
+lib/ladspa/quantiser20_2027.so
+lib/ladspa/quantiser50_2028.so
lib/ladspa/random_1661.so
+lib/ladspa/ratio_2034.so
lib/ladspa/sawtooth_1641.so
lib/ladspa/sequencer16_1677.so
lib/ladspa/sequencer32_1676.so
lib/ladspa/sequencer64_1675.so
lib/ladspa/square_1643.so
lib/ladspa/sum_1665.so
+lib/ladspa/sync_pulse_2023.so
lib/ladspa/sync_square_1678.so
+lib/ladspa/tracker_2025.so
lib/ladspa/triangle_1649.so
+%%NLS%%share/locale/de/LC_MESSAGES/blop.mo
+%%NLS%%share/locale/en_GB/LC_MESSAGES/blop.mo
@unexec rmdir %D/lib/ladspa 2>/dev/null || true
OpenPOWER on IntegriCloud