2015-12-17 23:14:16 +00:00
|
|
|
# $OpenBSD: Makefile,v 1.21 2015/12/17 23:14:16 ajacoutot Exp $
|
2015-09-24 10:42:57 +00:00
|
|
|
|
2015-09-28 15:45:25 +00:00
|
|
|
# XXX check if still needed at next update
|
|
|
|
CXXFLAGS += -std=c++11
|
Import ardour-2.8.14, with added support for sndio midi.
Ardour is a full-featured, free and open-source hard disk recorder and
digital audio workstation program suitable for professional use. It
features unlimited audio tracks and buses, non-destructive, non-linear
editing with unlimited undo, and anything-to-anywhere signal routing. It
supports standard file formats, such as BWF, WAV, WAV64, AIFF and CAF,
and it can use LADSPA, LV2, VST and AudioUnit plugin formats.
with and ok ajacoutot@
2012-08-17 15:33:32 +00:00
|
|
|
|
2012-10-06 10:55:42 +00:00
|
|
|
ONLY_FOR_ARCHS = amd64 i386 powerpc
|
Import ardour-2.8.14, with added support for sndio midi.
Ardour is a full-featured, free and open-source hard disk recorder and
digital audio workstation program suitable for professional use. It
features unlimited audio tracks and buses, non-destructive, non-linear
editing with unlimited undo, and anything-to-anywhere signal routing. It
supports standard file formats, such as BWF, WAV, WAV64, AIFF and CAF,
and it can use LADSPA, LV2, VST and AudioUnit plugin formats.
with and ok ajacoutot@
2012-08-17 15:33:32 +00:00
|
|
|
SHARED_ONLY = Yes
|
2013-03-08 01:25:44 +00:00
|
|
|
|
Import ardour-2.8.14, with added support for sndio midi.
Ardour is a full-featured, free and open-source hard disk recorder and
digital audio workstation program suitable for professional use. It
features unlimited audio tracks and buses, non-destructive, non-linear
editing with unlimited undo, and anything-to-anywhere signal routing. It
supports standard file formats, such as BWF, WAV, WAV64, AIFF and CAF,
and it can use LADSPA, LV2, VST and AudioUnit plugin formats.
with and ok ajacoutot@
2012-08-17 15:33:32 +00:00
|
|
|
COMMENT = digital audio workstation
|
2013-03-08 01:25:44 +00:00
|
|
|
|
2015-09-28 15:45:25 +00:00
|
|
|
DISTNAME = ardour-2.8.16
|
2015-12-17 23:14:16 +00:00
|
|
|
REVISION = 2
|
Import ardour-2.8.14, with added support for sndio midi.
Ardour is a full-featured, free and open-source hard disk recorder and
digital audio workstation program suitable for professional use. It
features unlimited audio tracks and buses, non-destructive, non-linear
editing with unlimited undo, and anything-to-anywhere signal routing. It
supports standard file formats, such as BWF, WAV, WAV64, AIFF and CAF,
and it can use LADSPA, LV2, VST and AudioUnit plugin formats.
with and ok ajacoutot@
2012-08-17 15:33:32 +00:00
|
|
|
CATEGORIES = audio
|
|
|
|
HOMEPAGE = http://ardour.org
|
|
|
|
|
|
|
|
# GPLv2+
|
|
|
|
PERMIT_PACKAGE_CDROM = Yes
|
|
|
|
|
2013-06-28 13:09:02 +00:00
|
|
|
WANTLIB += X11 Xau Xcomposite Xcursor Xdamage Xdmcp Xext Xfixes
|
|
|
|
WANTLIB += Xi Xinerama Xrandr Xrender art_lgpl_2 atk-1.0 atkmm-1.6
|
|
|
|
WANTLIB += aubio boost_system-mt c cairo cairomm-1.0 curl execinfo
|
|
|
|
WANTLIB += fftw3 fftw3f fontconfig freetype gailutil gdk-x11-2.0
|
|
|
|
WANTLIB += gdk_pixbuf-2.0 gdkmm-2.4 gio-2.0 giomm-2.4 glib-2.0
|
|
|
|
WANTLIB += glibmm-2.4 gmodule-2.0 gnomecanvas-2 gnomecanvasmm-2.6
|
|
|
|
WANTLIB += gobject-2.0 gthread-2.0 gtk-x11-2.0 gtkmm-2.4 harfbuzz
|
|
|
|
WANTLIB += jack lo lrdf m pango-1.0 pangocairo-1.0 pangoft2-1.0
|
|
|
|
WANTLIB += pangomm-1.4 pcre pixman-1 png pthread pthread-stubs
|
2015-09-28 15:45:25 +00:00
|
|
|
WANTLIB += samplerate sigc-2.0 sndfile sndio xcb xcb-render
|
2015-10-01 20:09:56 +00:00
|
|
|
WANTLIB += xcb-shm xml2 xslt z expat graphite2 usb
|
Import ardour-2.8.14, with added support for sndio midi.
Ardour is a full-featured, free and open-source hard disk recorder and
digital audio workstation program suitable for professional use. It
features unlimited audio tracks and buses, non-destructive, non-linear
editing with unlimited undo, and anything-to-anywhere signal routing. It
supports standard file formats, such as BWF, WAV, WAV64, AIFF and CAF,
and it can use LADSPA, LV2, VST and AudioUnit plugin formats.
with and ok ajacoutot@
2012-08-17 15:33:32 +00:00
|
|
|
|
|
|
|
# Use mirrors as official site has click-through donation-request download.
|
2015-09-28 15:45:25 +00:00
|
|
|
MASTER_SITES = http://pkgs.fedoraproject.org/repo/pkgs/ardour/${DISTNAME}${EXTRACT_SUFX}/5bafe41df00d25e7a357baaa1038f16d/
|
Import ardour-2.8.14, with added support for sndio midi.
Ardour is a full-featured, free and open-source hard disk recorder and
digital audio workstation program suitable for professional use. It
features unlimited audio tracks and buses, non-destructive, non-linear
editing with unlimited undo, and anything-to-anywhere signal routing. It
supports standard file formats, such as BWF, WAV, WAV64, AIFF and CAF,
and it can use LADSPA, LV2, VST and AudioUnit plugin formats.
with and ok ajacoutot@
2012-08-17 15:33:32 +00:00
|
|
|
EXTRACT_SUFX = .tar.bz2
|
|
|
|
|
2015-09-28 15:45:25 +00:00
|
|
|
# Fix build with libsigc++ >= 2.6
|
|
|
|
MASTER_SITES0 = https://distfiles.bsdfrog.org/
|
|
|
|
PATCHFILES = ardour-sigc26.diff:0
|
|
|
|
|
Import ardour-2.8.14, with added support for sndio midi.
Ardour is a full-featured, free and open-source hard disk recorder and
digital audio workstation program suitable for professional use. It
features unlimited audio tracks and buses, non-destructive, non-linear
editing with unlimited undo, and anything-to-anywhere signal routing. It
supports standard file formats, such as BWF, WAV, WAV64, AIFF and CAF,
and it can use LADSPA, LV2, VST and AudioUnit plugin formats.
with and ok ajacoutot@
2012-08-17 15:33:32 +00:00
|
|
|
MODULES = devel/gettext \
|
|
|
|
devel/scons
|
|
|
|
|
2015-09-28 15:45:25 +00:00
|
|
|
# c++11
|
|
|
|
MODULES += gcc4
|
|
|
|
MODGCC4_ARCHS= *
|
|
|
|
MODGCC4_LANGS= c++
|
|
|
|
|
2013-03-10 22:55:01 +00:00
|
|
|
NO_TEST= Yes
|
2012-08-18 08:50:19 +00:00
|
|
|
|
Import ardour-2.8.14, with added support for sndio midi.
Ardour is a full-featured, free and open-source hard disk recorder and
digital audio workstation program suitable for professional use. It
features unlimited audio tracks and buses, non-destructive, non-linear
editing with unlimited undo, and anything-to-anywhere signal routing. It
supports standard file formats, such as BWF, WAV, WAV64, AIFF and CAF,
and it can use LADSPA, LV2, VST and AudioUnit plugin formats.
with and ok ajacoutot@
2012-08-17 15:33:32 +00:00
|
|
|
MODSCONS_ENV= CC="${CC}" \
|
|
|
|
CXX="${CXX}" \
|
|
|
|
CCFLAGS="${CFLAGS}" \
|
|
|
|
CXXFLAGS="${CXXFLAGS}" \
|
|
|
|
LINKFLAGS="${LDFLAGS}" \
|
|
|
|
CPPPATH="${LOCALBASE}/include ${X11BASE}/include" \
|
|
|
|
LIBPATH="${LOCALBASE}/lib ${X11BASE}/lib" \
|
|
|
|
PREFIX="${TRUEPREFIX}" \
|
|
|
|
debug=0 \
|
|
|
|
DIST_LIBDIR=lib \
|
|
|
|
LIBLO=1 \
|
|
|
|
FREEDESKTOP=1 \
|
|
|
|
SYSLIBS=1
|
2012-08-18 08:50:19 +00:00
|
|
|
|
2015-12-16 08:52:22 +00:00
|
|
|
BUILD_DEPENDS= audio/vamp-plugin-sdk
|
|
|
|
|
2013-04-03 07:23:51 +00:00
|
|
|
# the fd.or utilities are needed at build time (FREEDESKTOP=1)
|
2015-12-16 08:52:22 +00:00
|
|
|
BUILD_DEPENDS += devel/desktop-file-utils \
|
2015-03-27 08:43:01 +00:00
|
|
|
x11/gtk+3,-guic \
|
2013-04-03 07:23:51 +00:00
|
|
|
misc/shared-mime-info
|
|
|
|
|
Import ardour-2.8.14, with added support for sndio midi.
Ardour is a full-featured, free and open-source hard disk recorder and
digital audio workstation program suitable for professional use. It
features unlimited audio tracks and buses, non-destructive, non-linear
editing with unlimited undo, and anything-to-anywhere signal routing. It
supports standard file formats, such as BWF, WAV, WAV64, AIFF and CAF,
and it can use LADSPA, LV2, VST and AudioUnit plugin formats.
with and ok ajacoutot@
2012-08-17 15:33:32 +00:00
|
|
|
RUN_DEPENDS = devel/desktop-file-utils \
|
2015-03-27 08:43:01 +00:00
|
|
|
x11/gtk+3,-guic \
|
Import ardour-2.8.14, with added support for sndio midi.
Ardour is a full-featured, free and open-source hard disk recorder and
digital audio workstation program suitable for professional use. It
features unlimited audio tracks and buses, non-destructive, non-linear
editing with unlimited undo, and anything-to-anywhere signal routing. It
supports standard file formats, such as BWF, WAV, WAV64, AIFF and CAF,
and it can use LADSPA, LV2, VST and AudioUnit plugin formats.
with and ok ajacoutot@
2012-08-17 15:33:32 +00:00
|
|
|
misc/shared-mime-info
|
|
|
|
LIB_DEPENDS = audio/aubio \
|
|
|
|
audio/liblo \
|
2013-03-08 01:25:44 +00:00
|
|
|
devel/boost \
|
Import ardour-2.8.14, with added support for sndio midi.
Ardour is a full-featured, free and open-source hard disk recorder and
digital audio workstation program suitable for professional use. It
features unlimited audio tracks and buses, non-destructive, non-linear
editing with unlimited undo, and anything-to-anywhere signal routing. It
supports standard file formats, such as BWF, WAV, WAV64, AIFF and CAF,
and it can use LADSPA, LV2, VST and AudioUnit plugin formats.
with and ok ajacoutot@
2012-08-17 15:33:32 +00:00
|
|
|
devel/libexecinfo \
|
2015-10-01 20:09:56 +00:00
|
|
|
devel/libusb-compat \
|
2012-08-18 08:50:19 +00:00
|
|
|
math/fftw3 \
|
Import ardour-2.8.14, with added support for sndio midi.
Ardour is a full-featured, free and open-source hard disk recorder and
digital audio workstation program suitable for professional use. It
features unlimited audio tracks and buses, non-destructive, non-linear
editing with unlimited undo, and anything-to-anywhere signal routing. It
supports standard file formats, such as BWF, WAV, WAV64, AIFF and CAF,
and it can use LADSPA, LV2, VST and AudioUnit plugin formats.
with and ok ajacoutot@
2012-08-17 15:33:32 +00:00
|
|
|
textproc/liblrdf \
|
|
|
|
x11/gnome/libgnomecanvasmm
|
|
|
|
|
2015-12-17 23:14:16 +00:00
|
|
|
SUBST_VARS = CFLAGS CXXFLAGS
|
|
|
|
|
Import ardour-2.8.14, with added support for sndio midi.
Ardour is a full-featured, free and open-source hard disk recorder and
digital audio workstation program suitable for professional use. It
features unlimited audio tracks and buses, non-destructive, non-linear
editing with unlimited undo, and anything-to-anywhere signal routing. It
supports standard file formats, such as BWF, WAV, WAV64, AIFF and CAF,
and it can use LADSPA, LV2, VST and AudioUnit plugin formats.
with and ok ajacoutot@
2012-08-17 15:33:32 +00:00
|
|
|
post-extract:
|
|
|
|
cp ${FILESDIR}/sndio_midiport.h ${WRKSRC}/libs/midi++2/midi++/
|
|
|
|
cp ${FILESDIR}/sndio_midiport.cc ${WRKSRC}/libs/midi++2/
|
|
|
|
|
2015-09-25 14:12:16 +00:00
|
|
|
pre-configure:
|
2015-12-17 23:14:16 +00:00
|
|
|
${SUBST_CMD} ${WRKSRC}/SConstruct
|
2015-12-16 08:52:22 +00:00
|
|
|
sed -i "s,/usr/local,${LOCALBASE},g" \
|
|
|
|
${WRKSRC}/libs/vamp-sdk/src/vamp-hostsdk/PluginHostAdapter.cpp
|
2015-09-25 14:12:16 +00:00
|
|
|
|
Import ardour-2.8.14, with added support for sndio midi.
Ardour is a full-featured, free and open-source hard disk recorder and
digital audio workstation program suitable for professional use. It
features unlimited audio tracks and buses, non-destructive, non-linear
editing with unlimited undo, and anything-to-anywhere signal routing. It
supports standard file formats, such as BWF, WAV, WAV64, AIFF and CAF,
and it can use LADSPA, LV2, VST and AudioUnit plugin formats.
with and ok ajacoutot@
2012-08-17 15:33:32 +00:00
|
|
|
post-install:
|
|
|
|
mv ${WRKINST}/etc/ardour2 ${PREFIX}/share/examples/
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|