2012-10-29 09:04:39 +01:00
|
|
|
# Created by: Jean-Yves Lefort <jylefort@brutele.be>
|
Add beast 0.6.1,
Beast is a powerful music composition and modular synthesis
application. It supports a wide range of standards in the
field, such as MIDI, WAV/AIFF/MP3/OggVorbis/etc audio files and
LADSPA modules. It has excellent technical abilities like
multitrack editing, unlimited undo/redo support, real-time
synthesis support, 32bit audio rendering, full duplex support,
multiprocessor support, precise timing down to sample
granularity, on demand loading of partial wave files, on the
fly decoding and full scriptability in scheme. The plugins,
synthesis core and the user interface are actively being
developed and translated into a variety of languages, regularly
assimilating user feedback such as from our FeatureRequests
page.
WWW: http://beast.gtk.org/
PR: ports/68251
Submitted by: Jean-Yves Lefort <jylefort@brutele.be>
2004-06-24 17:41:52 +02:00
|
|
|
# $FreeBSD$
|
|
|
|
|
2005-09-06 13:33:26 +02:00
|
|
|
PORTNAME= beast
|
2013-03-25 09:41:13 +01:00
|
|
|
PORTVERSION= 0.7.8
|
Update to libmpc version 1.0.1 which brings the following fixes:
- Switched to automake 1.11.6, see CVE-2012-3386.
- #14669: Fixed extraction of CC from gmp.h.
- Fixed case of intermediate zero real or imaginary part in mpc_fma,
found by hydra with GMP_CHECK_RANDOMIZE=1346362345.
This is on top of the following changes from version 1.0
- Licence change towards LGPLv3+ for the code and GFDLv1.3+ (with no
invariant sections) for the documentation.
- 100% of all lines are covered by tests
- Renamed functions
. mpc_mul_2exp to mpc_mul_2ui
. mpc_div_2exp to mpc_div_2ui
- 0^0, which returned (NaN,NaN) previously, now returns (1,+0).
- Removed compatibility with K&R compilers, which was untestable due
to lack of such compilers.
- New functions
. mpc_log10
. mpc_mul_2si, mpc_div_2si
- Speed-ups
. mpc_fma
- Bug fixes
. mpc_div and mpc_norm now return a value indicating the effective
rounding direction, as the other functions.
. mpc_mul, mpc_sqr and mpc_norm now return correct results even if
there are over- or underflows during the computation.
. mpc_asin, mpc_proj, mpc_sqr: Wrong result when input variable has
infinite part and equals output variable is corrected.
. mpc_fr_sub: Wrong return value for imaginary part is corrected.
Convert to the new LIB_DEPENDS standard and remove hard-coded
.so versions from a couple of dependent ports.
Bump PORTREVISIONS of all dependent ports.
PR: 183141
Approved by: portmgr (bdrewery)
2013-10-26 02:52:33 +02:00
|
|
|
PORTREVISION= 1
|
2005-09-06 13:33:26 +02:00
|
|
|
CATEGORIES= audio
|
2013-03-25 09:41:13 +01:00
|
|
|
MASTER_SITES= http://dist.testbit.eu/beast/%SUBDIR%/
|
|
|
|
MASTER_SITE_SUBDIR= v${PORTVERSION:R}
|
2005-09-06 13:33:26 +02:00
|
|
|
|
2013-03-11 14:05:56 +01:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
2013-03-13 12:54:25 +01:00
|
|
|
COMMENT= Powerful music composition and modular synthesis application
|
2005-09-06 13:33:26 +02:00
|
|
|
|
2013-03-25 09:41:13 +01:00
|
|
|
LICENSE= LGPL21
|
|
|
|
|
2013-12-07 18:21:53 +01:00
|
|
|
LIB_DEPENDS= libasound.so:${PORTSDIR}/audio/alsa-lib \
|
|
|
|
libmad.so:${PORTSDIR}/audio/libmad \
|
|
|
|
libvorbisfile.so:${PORTSDIR}/audio/libvorbis \
|
|
|
|
libguile.so:${PORTSDIR}/lang/guile
|
2013-03-25 09:41:13 +01:00
|
|
|
RUN_DEPENDS= xdg-open:${PORTSDIR}/devel/xdg-utils
|
2005-09-06 13:33:26 +02:00
|
|
|
|
2013-12-07 18:21:53 +01:00
|
|
|
OPTIONS_DEFINE= DEBUG
|
2013-03-25 09:41:13 +01:00
|
|
|
OPTIONS_DEFINE_i386= SSE
|
2012-10-29 09:04:39 +01:00
|
|
|
|
2008-02-28 22:43:28 +01:00
|
|
|
USE_BZIP2= yes
|
2013-12-07 18:21:53 +01:00
|
|
|
USES= desktop-file-utils gmake gettext pathfix pkgconfig shared-mime-info
|
2013-12-07 23:58:53 +01:00
|
|
|
USE_GCC= yes
|
2013-03-25 09:41:13 +01:00
|
|
|
USE_GNOME= gnomehier libgnomecanvas
|
|
|
|
GNU_CONFIGURE= yes
|
|
|
|
CONFIGURE_ARGS= --disable-silent-rules \
|
2005-09-06 13:33:26 +02:00
|
|
|
--enable-osspcm=/dev/dsp \
|
|
|
|
--enable-ossmidi=/dev/midi
|
2013-03-25 09:41:13 +01:00
|
|
|
USE_LDCONFIG= yes
|
|
|
|
|
|
|
|
CXXFLAGS+= -fpermissive
|
|
|
|
CPPFLAGS+= -I${LOCALBASE}/include
|
|
|
|
LDFLAGS+= -L${LOCALBASE}/lib
|
|
|
|
|
|
|
|
PLIST_SUB= VERSION="${PORTVERSION}"
|
|
|
|
|
2013-12-07 18:21:53 +01:00
|
|
|
DEBUG_CONFIGURE_ENABLE= debug
|
2005-09-06 13:33:26 +02:00
|
|
|
|
2011-03-21 10:58:46 +01:00
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
2011-12-28 04:23:43 +01:00
|
|
|
.if ${ARCH} == "powerpc"
|
|
|
|
BROKEN= Does not compile on powerpc: array bound is not an integer constant
|
|
|
|
.endif
|
|
|
|
|
2013-03-25 09:41:13 +01:00
|
|
|
.if ${PORT_OPTIONS:MSSE} || ${ARCH} == "amd64"
|
2011-03-21 10:58:46 +01:00
|
|
|
PLIST_SUB+= SSE=""
|
2013-03-25 09:41:13 +01:00
|
|
|
SSE_FLAGS= -mmmx -msse
|
2011-03-21 10:58:46 +01:00
|
|
|
.else
|
|
|
|
PLIST_SUB+= SSE="@comment "
|
2013-03-25 09:41:13 +01:00
|
|
|
SSE_FLAGS= # none
|
2011-03-21 10:58:46 +01:00
|
|
|
.endif
|
|
|
|
|
Add beast 0.6.1,
Beast is a powerful music composition and modular synthesis
application. It supports a wide range of standards in the
field, such as MIDI, WAV/AIFF/MP3/OggVorbis/etc audio files and
LADSPA modules. It has excellent technical abilities like
multitrack editing, unlimited undo/redo support, real-time
synthesis support, 32bit audio rendering, full duplex support,
multiprocessor support, precise timing down to sample
granularity, on demand loading of partial wave files, on the
fly decoding and full scriptability in scheme. The plugins,
synthesis core and the user interface are actively being
developed and translated into a variety of languages, regularly
assimilating user feedback such as from our FeatureRequests
page.
WWW: http://beast.gtk.org/
PR: ports/68251
Submitted by: Jean-Yves Lefort <jylefort@brutele.be>
2004-06-24 17:41:52 +02:00
|
|
|
post-patch:
|
2013-03-25 09:41:13 +01:00
|
|
|
@${REINPLACE_CMD} -e \
|
|
|
|
'/^[[:space:]].*FLAGS -[Ofgp].*"/s|^|#| ; \
|
|
|
|
s|-mmmx -msse \(-ftree-vectorize\)|${SSE_FLAGS} \1| ; \
|
|
|
|
s|\(if test 0\) ==|\1 -eq| ; \
|
|
|
|
s|\(bseladspapath=\)$${|\1\\\$${| ; \
|
|
|
|
s|\(LDFLAGS=\)""|\1"$$LDFLAGS"|' ${WRKSRC}/configure
|
|
|
|
@${REINPLACE_CMD} -e \
|
|
|
|
's|/bin/bash|${SH}|' ${WRKSRC}/mkrelease.sh
|
|
|
|
@${REINPLACE_CMD} -e \
|
|
|
|
's|BIRNET_.*_UINT == 0|1|' ${WRKSRC}/birnet/birnetcdefs.h
|
|
|
|
@${REINPLACE_CMD} -e \
|
|
|
|
's|; q|;| ; \
|
|
|
|
s|-o \(pipefail\)|\1|' ${WRKSRC}/docs/Makefile.in
|
2013-12-07 18:21:53 +01:00
|
|
|
@${REINPLACE_CMD} -e \
|
|
|
|
's|-DG_DISABLE_DEPRECATED||' ${WRKSRC}/bse/Makefile.am \
|
|
|
|
${WRKSRC}/bse/Makefile.in
|
Add beast 0.6.1,
Beast is a powerful music composition and modular synthesis
application. It supports a wide range of standards in the
field, such as MIDI, WAV/AIFF/MP3/OggVorbis/etc audio files and
LADSPA modules. It has excellent technical abilities like
multitrack editing, unlimited undo/redo support, real-time
synthesis support, 32bit audio rendering, full duplex support,
multiprocessor support, precise timing down to sample
granularity, on demand loading of partial wave files, on the
fly decoding and full scriptability in scheme. The plugins,
synthesis core and the user interface are actively being
developed and translated into a variety of languages, regularly
assimilating user feedback such as from our FeatureRequests
page.
WWW: http://beast.gtk.org/
PR: ports/68251
Submitted by: Jean-Yves Lefort <jylefort@brutele.be>
2004-06-24 17:41:52 +02:00
|
|
|
|
2011-03-21 10:58:46 +01:00
|
|
|
.include <bsd.port.post.mk>
|