pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/audio/ardour



Module Name:    pkgsrc
Committed By:   kamil
Date:           Mon Jun 20 08:17:43 UTC 2016

Added Files:
        pkgsrc/audio/ardour: DESCR MESSAGE Makefile PLIST distinfo options.mk
        pkgsrc/audio/ardour/patches: patch-gtk2__ardour_ardour.sh.in
            patch-gtk2__ardour_wscript patch-libs_ardour_session__state.cc
            patch-libs_ardouralsautil_wscript
            patch-libs_backends_alsa_zita-alsa-pcmi.cc
            patch-libs_backends_jack_wscript patch-libs_fst_wscript
            patch-libs_pbd_fpu.cc patch-libs_pbd_mountpoint.cc
            patch-libs_pbd_wscript patch-libs_vfork_wscript patch-wscript

Log Message:
Import Ardour-4.7 (ardour4) as audio/ardour

Ardour is a multi-channel digital audio workstation, allowing users to record,
edit, mix and master audio and MIDI projects. It is targeted at audio
engineers, musicians, soundtrack editors and composers.

Originally packaged in pkgsrc-wip by:
- myself,
- <coypu>,
- Thomas Klausner.


To generate a diff of this commit:
cvs rdiff -u -r0 -r1.1 pkgsrc/audio/ardour/DESCR pkgsrc/audio/ardour/MESSAGE \
    pkgsrc/audio/ardour/Makefile pkgsrc/audio/ardour/PLIST \
    pkgsrc/audio/ardour/distinfo pkgsrc/audio/ardour/options.mk
cvs rdiff -u -r0 -r1.1 \
    pkgsrc/audio/ardour/patches/patch-gtk2__ardour_ardour.sh.in \
    pkgsrc/audio/ardour/patches/patch-gtk2__ardour_wscript \
    pkgsrc/audio/ardour/patches/patch-libs_ardour_session__state.cc \
    pkgsrc/audio/ardour/patches/patch-libs_ardouralsautil_wscript \
    pkgsrc/audio/ardour/patches/patch-libs_backends_alsa_zita-alsa-pcmi.cc \
    pkgsrc/audio/ardour/patches/patch-libs_backends_jack_wscript \
    pkgsrc/audio/ardour/patches/patch-libs_fst_wscript \
    pkgsrc/audio/ardour/patches/patch-libs_pbd_fpu.cc \
    pkgsrc/audio/ardour/patches/patch-libs_pbd_mountpoint.cc \
    pkgsrc/audio/ardour/patches/patch-libs_pbd_wscript \
    pkgsrc/audio/ardour/patches/patch-libs_vfork_wscript \
    pkgsrc/audio/ardour/patches/patch-wscript

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Added files:

Index: pkgsrc/audio/ardour/DESCR
diff -u /dev/null pkgsrc/audio/ardour/DESCR:1.1
--- /dev/null   Mon Jun 20 08:17:43 2016
+++ pkgsrc/audio/ardour/DESCR   Mon Jun 20 08:17:42 2016
@@ -0,0 +1,3 @@
+Ardour is a multi-channel digital audio workstation, allowing users to record,
+edit, mix and master audio and MIDI projects. It is targeted at audio
+engineers, musicians, soundtrack editors and composers.
Index: pkgsrc/audio/ardour/MESSAGE
diff -u /dev/null pkgsrc/audio/ardour/MESSAGE:1.1
--- /dev/null   Mon Jun 20 08:17:43 2016
+++ pkgsrc/audio/ardour/MESSAGE Mon Jun 20 08:17:42 2016
@@ -0,0 +1,11 @@
+===========================================================================
+$NetBSD: MESSAGE,v 1.1 2016/06/20 08:17:42 kamil Exp $
+
+In order to get additional features available in Ardour, video-timeline and
+video-monitor for soundtracks you need to install:
+
+1) audio/xjadeo       - X JAck viDEo mOnitor
+
+2) multimedia/harvid  - HTTP Ardour Video Daemon
+
+===========================================================================
Index: pkgsrc/audio/ardour/Makefile
diff -u /dev/null pkgsrc/audio/ardour/Makefile:1.1
--- /dev/null   Mon Jun 20 08:17:43 2016
+++ pkgsrc/audio/ardour/Makefile        Mon Jun 20 08:17:42 2016
@@ -0,0 +1,203 @@
+# $NetBSD: Makefile,v 1.1 2016/06/20 08:17:42 kamil Exp $
+
+DISTNAME=      ardour-4.7
+CATEGORIES=    audio
+MASTER_SITES=  ${MASTER_SITE_GITHUB:=Ardour/}
+GITHUB_TAG=    ${PKGVERSION_NOREV}
+
+MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE=      http://ardour.org/
+COMMENT=       Digital Audio Workstation
+LICENSE=       gnu-gpl-v2
+
+EXTRACT_USING= bsdtar
+USE_TOOLS+=    bsdtar pkg-config perl bash
+USE_LANGUAGES= c c++
+
+REPLACE_PYTHON+=       export/wscript
+REPLACE_PYTHON+=       libs/pbd/pbd/signals.py
+REPLACE_PYTHON+=       mcp/wscript
+REPLACE_PYTHON+=       midi_maps/wscript
+REPLACE_PYTHON+=       patchfiles/wscript
+REPLACE_PYTHON+=       templates/wscript
+REPLACE_PYTHON+=       tools/bug_tool/ardour_bugs
+REPLACE_PYTHON+=       tools/cstyle.py
+REPLACE_PYTHON+=       tools/session_exchange.py
+
+REPLACE_PYTHON+=       cfgtool/wscript
+REPLACE_PYTHON+=       gtk2_ardour/wscript
+REPLACE_PYTHON+=       headless/wscript
+REPLACE_PYTHON+=       libs/appleutility/wscript
+REPLACE_PYTHON+=       libs/ardour/wscript
+REPLACE_PYTHON+=       libs/ardouralsautil/wscript
+REPLACE_PYTHON+=       libs/audiographer/wscript
+REPLACE_PYTHON+=       libs/backends/alsa/wscript
+REPLACE_PYTHON+=       libs/backends/asio/wscript
+REPLACE_PYTHON+=       libs/backends/coreaudio/wscript
+REPLACE_PYTHON+=       libs/backends/dummy/wscript
+REPLACE_PYTHON+=       libs/backends/jack/wscript
+REPLACE_PYTHON+=       libs/backends/portaudio/wscript
+REPLACE_PYTHON+=       libs/backends/wavesaudio/wscript
+REPLACE_PYTHON+=       libs/backends/wscript
+REPLACE_PYTHON+=       libs/canvas/wscript
+REPLACE_PYTHON+=       libs/clearlooks-newer/wscript
+REPLACE_PYTHON+=       libs/evoral/wscript
+REPLACE_PYTHON+=       libs/fst/wscript
+REPLACE_PYTHON+=       libs/gtkmm2ext/wscript
+REPLACE_PYTHON+=       libs/libltc/wscript
+REPLACE_PYTHON+=       libs/midi++2/wscript
+REPLACE_PYTHON+=       libs/panners/1in2out/wscript
+REPLACE_PYTHON+=       libs/panners/2in2out/wscript
+REPLACE_PYTHON+=       libs/panners/stereobalance/wscript
+REPLACE_PYTHON+=       libs/panners/vbap/wscript
+REPLACE_PYTHON+=       libs/panners/wscript
+REPLACE_PYTHON+=       libs/pbd/wscript
+REPLACE_PYTHON+=       libs/plugins/reasonablesynth.lv2/wscript
+REPLACE_PYTHON+=       libs/ptformat/wscript
+REPLACE_PYTHON+=       libs/qm-dsp/wscript
+REPLACE_PYTHON+=       libs/surfaces/control_protocol/wscript
+REPLACE_PYTHON+=       libs/surfaces/frontier/wscript
+REPLACE_PYTHON+=       libs/surfaces/generic_midi/wscript
+REPLACE_PYTHON+=       libs/surfaces/mackie/wscript
+REPLACE_PYTHON+=       libs/surfaces/osc/wscript
+REPLACE_PYTHON+=       libs/surfaces/tranzport/wscript
+REPLACE_PYTHON+=       libs/surfaces/wiimote/wscript
+REPLACE_PYTHON+=       libs/surfaces/wscript
+REPLACE_PYTHON+=       libs/timecode/wscript
+REPLACE_PYTHON+=       libs/vamp-plugins/wscript
+REPLACE_PYTHON+=       libs/vfork/wscript
+REPLACE_PYTHON+=       tools/autowaf.py
+REPLACE_PYTHON+=       tools/gccabicheck/wscript
+REPLACE_PYTHON+=       tools/sanity_check/wscript
+REPLACE_PYTHON+=       wscript
+REPLACE_PYTHON+=       waf
+
+REPLACE_PERL+=         tools/fmt-bindings
+REPLACE_PERL+=         tools/resample_session.pl
+REPLACE_PERL+=         tools/synthesize_sources.pl
+
+REPLACE_BASH+= gtk2_ardour/icons/export_icons.sh
+REPLACE_BASH+= libs/ardour/run-profiling.sh
+REPLACE_BASH+= libs/ardour/run-session-tests.sh
+REPLACE_BASH+= libs/ardour/run-tests.sh
+REPLACE_BASH+= libs/canvas/build-and-run-benchmark.sh
+REPLACE_BASH+= libs/canvas/build-and-run-manual-test.sh
+REPLACE_BASH+= libs/canvas/build-and-run-tests.sh
+REPLACE_BASH+= libs/canvas/run-manual-test.sh
+REPLACE_BASH+= libs/canvas/run-tests.sh
+REPLACE_BASH+= libs/pbd/run-tests.sh
+REPLACE_BASH+= tools/linux_packaging/build
+REPLACE_BASH+= tools/linux_packaging/package
+REPLACE_BASH+= tools/osx_packaging/osx_build
+REPLACE_BASH+= tools/windows_packaging/clean.sh
+REPLACE_BASH+= tools/windows_packaging/configure-debug.sh
+REPLACE_BASH+= tools/windows_packaging/configure-distcc-debug.sh
+REPLACE_BASH+= tools/windows_packaging/configure-distcc-release.sh
+REPLACE_BASH+= tools/windows_packaging/configure-release.sh
+REPLACE_BASH+= tools/windows_packaging/copydll-fedora.sh
+REPLACE_BASH+= tools/windows_packaging/copydll-waves.sh
+REPLACE_BASH+= tools/windows_packaging/cptovmshare.sh
+REPLACE_BASH+= tools/windows_packaging/make-installer.sh
+REPLACE_BASH+= tools/windows_packaging/mingw-env.sh
+REPLACE_BASH+= tools/windows_packaging/package-f19.sh
+REPLACE_BASH+= tools/windows_packaging/package-f20.sh
+REPLACE_BASH+= tools/windows_packaging/package.sh
+REPLACE_BASH+= tools/windows_packaging/package_win32.sh
+REPLACE_BASH+= tools/windows_packaging/waf.sh
+REPLACE_BASH+= tools/windows_packaging/win32-env.sh
+REPLACE_BASH+= tools/windows_packaging/wine-ardour-tests.sh
+REPLACE_BASH+= tools/windows_packaging/wine-ardour.sh
+REPLACE_BASH+= tools/windows_packaging/wine-env.sh
+REPLACE_BASH+= tools/windows_packaging/wine-evoral-tests.sh
+REPLACE_BASH+= tools/windows_packaging/wine-pbd-tests.sh
+REPLACE_BASH+= tools/x-win/compile.sh
+REPLACE_BASH+= tools/x-win/package.sh
+
+PKGCONFIG_OVERRIDE+=   libs/gtkmm2ext/libgtkmm2ext.pc.in
+PKGCONFIG_OVERRIDE+=   libs/midi++2/libmidi++.pc.in
+PKGCONFIG_OVERRIDE+=   libs/pbd/libpbd.pc.in
+
+BUILD_DEFS+=           PKG_SYSCONFBASE
+
+EGDIR=                 ${PREFIX}/share/examples/ardour4
+PKG_SYSCONFSUBDIR=     ardour4
+
+OWN_DIRS=              ${PKG_SYSCONFDIR}
+OWN_DIRS=              ${PKG_SYSCONFDIR}/export
+
+CONF_FILES+=           ${EGDIR}/ardour.menus ${PKG_SYSCONFDIR}/ardour.menus
+CONF_FILES+=           ${EGDIR}/clearlooks.rc ${PKG_SYSCONFDIR}/clearlooks.rc
+CONF_FILES+=           ${EGDIR}/dark.colors ${PKG_SYSCONFDIR}/dark.colors
+CONF_FILES+=           ${EGDIR}/default_ui_config ${PKG_SYSCONFDIR}/default_ui_config
+CONF_FILES+=           ${EGDIR}/export/CD.format ${PKG_SYSCONFDIR}/export/CD.format
+CONF_FILES+=           ${EGDIR}/mixer.bindings ${PKG_SYSCONFDIR}/mixer.bindings
+CONF_FILES+=           ${EGDIR}/mnemonic-us.bindings ${PKG_SYSCONFDIR}/mnemonic-us.bindings
+CONF_FILES+=           ${EGDIR}/step_editing.bindings ${PKG_SYSCONFDIR}/step_editing.bindings
+CONF_FILES+=           ${EGDIR}/system_config ${PKG_SYSCONFDIR}/system_config
+CONF_FILES+=           ${EGDIR}/trx.menus ${PKG_SYSCONFDIR}/trx.menus
+
+# As of NetBSD-7.99.21 pkgsrc's checks cannot open file with rare unicode characters
+CHECK_PORTABILITY_SKIP+=       libs/pbd/test/i18n_test/*.tst
+
+PYTHON_VERSIONS_INCOMPATIBLE=  33 34 35 35 # as of 4.4
+
+.include "../../mk/bsd.prefs.mk"
+
+.if ${OPSYS} != "Linux"
+BUILDLINK_TRANSFORM+=   rm:-ldl
+.endif
+
+LDFLAGS+=      ${COMPILER_RPATH_FLAG}${PREFIX}/lib/ardour4/LV2/reasonablesynth.lv2
+LDFLAGS+=      ${COMPILER_RPATH_FLAG}${PREFIX}/lib/ardour4
+LDFLAGS+=      ${COMPILER_RPATH_FLAG}${PREFIX}/lib/ardour4/backends
+LDFLAGS+=      ${COMPILER_RPATH_FLAG}${PREFIX}/lib/ardour4/engines
+LDFLAGS+=      ${COMPILER_RPATH_FLAG}${PREFIX}/lib/ardour4/panners
+LDFLAGS+=      ${COMPILER_RPATH_FLAG}${PREFIX}/lib/ardour4/surfaces
+LDFLAGS+=      ${COMPILER_RPATH_FLAG}${PREFIX}/lib/ardour4/utils
+LDFLAGS+=      ${COMPILER_RPATH_FLAG}${PREFIX}/lib/ardour4/vamp
+
+pre-configure:
+       ${SED} -e 's!REVISION!${PKGVERSION_NOREV}!' \
+               ${FILESDIR}/revision.cc > ${WRKSRC}/libs/ardour/revision.cc
+
+WAF_ARGS+=     --prefix=${PREFIX}
+WAF_ARGS+=     --configdir=${PKG_SYSCONFBASE}
+# Use dlopen(3) for the JACK library
+WAF_ARGS+=     --libjack=weak
+WAF_ARGS+=     --optimize
+# Required to build on NetBSD
+WAF_ARGS+=     --cxx11
+
+# Sources are patched to install configuration into EGDIR instead of CONFDIR
+WAF_ENV+=      EGDIR=${EGDIR}
+
+WAF_REPLACE_EXECUTABLE=        no
+
+# ./waf i18n
+
+.include "options.mk"
+
+.include "../../devel/waf/waf.mk"
+.include "../../x11/gtkmm/buildlink3.mk"
+.include "../../audio/lilv/buildlink3.mk"
+.include "../../converters/sratom/buildlink3.mk"
+.include "../../textproc/sord/buildlink3.mk"
+.include "../../textproc/serd/buildlink3.mk"
+.include "../../audio/lv2/buildlink3.mk"
+.include "../../textproc/liblrdf/buildlink3.mk"
+.include "../../devel/cppunit/buildlink3.mk"
+.include "../../textproc/libxml2/buildlink3.mk"
+.include "../../audio/aubio/buildlink3.mk"
+.include "../../math/fftwf/buildlink3.mk"
+.include "../../audio/rubberband/buildlink3.mk"
+.include "../../audio/vamp-plugin-sdk/buildlink3.mk"
+.include "../../audio/taglib/buildlink3.mk"
+.include "../../audio/liblo/buildlink3.mk"
+.include "../../www/curl/buildlink3.mk"
+.include "../../audio/libsndfile/buildlink3.mk"
+.include "../../devel/glibmm/buildlink3.mk"
+.include "../../devel/glib2/buildlink3.mk"
+.include "../../devel/boost-libs/buildlink3.mk"
+.include "../../mk/dlopen.buildlink3.mk"
+.include "../../lang/python/application.mk"
+.include "../../mk/bsd.pkg.mk"
Index: pkgsrc/audio/ardour/PLIST
diff -u /dev/null pkgsrc/audio/ardour/PLIST:1.1
--- /dev/null   Mon Jun 20 08:17:43 2016
+++ pkgsrc/audio/ardour/PLIST   Mon Jun 20 08:17:42 2016
@@ -0,0 +1,419 @@
+@comment $NetBSD: PLIST,v 1.1 2016/06/20 08:17:42 kamil Exp $
+bin/ardour4
+${PLIST.dummy}bin/ardour4-export
+lib/ardour4/LV2/reasonablesynth.lv2/manifest.ttl
+lib/ardour4/LV2/reasonablesynth.lv2/reasonablesynth.so
+lib/ardour4/LV2/reasonablesynth.lv2/reasonablesynth.ttl
+lib/ardour4/${PKGNAME}.0
+lib/ardour4/ardour-exec-wrapper
+lib/ardour4/ardour-vst-scanner
+${PLIST.alsa}lib/ardour4/backends/libalsa_audiobackend.so
+${PLIST.dummy}lib/ardour4/backends/libdummy_audiobackend.so
+${PLIST.jack}lib/ardour4/backends/libjack_audiobackend.so
+lib/ardour4/engines/libclearlooks.so
+lib/ardour4/h${PKGNAME}.0
+lib/ardour4/libardour.so
+lib/ardour4/libardour.so.3
+lib/ardour4/libardour.so.3.0.0
+${PLIST.alsa}lib/ardour4/libardouralsautil.so
+${PLIST.alsa}lib/ardour4/libardouralsautil.so.0
+${PLIST.alsa}lib/ardour4/libardouralsautil.so.0.0.1
+lib/ardour4/libardourcp.so
+lib/ardour4/libaudiographer.so
+lib/ardour4/libaudiographer.so.0
+lib/ardour4/libaudiographer.so.0.0.0
+lib/ardour4/libcanvas.so
+lib/ardour4/libcanvas.so.0
+lib/ardour4/libcanvas.so.0.0.0
+lib/ardour4/libevoral.so
+lib/ardour4/libevoral.so.0
+lib/ardour4/libevoral.so.0.0.0
+lib/ardour4/libgtkmm2ext.so
+lib/ardour4/libgtkmm2ext.so.0
+lib/ardour4/libgtkmm2ext.so.0.8.3
+lib/ardour4/libmidipp.so
+lib/ardour4/libmidipp.so.4
+lib/ardour4/libmidipp.so.4.1.0
+lib/ardour4/libpbd.so
+lib/ardour4/libpbd.so.4
+lib/ardour4/libpbd.so.4.1.0
+lib/ardour4/libptformat.so
+lib/ardour4/libptformat.so.0
+lib/ardour4/libptformat.so.0.0.0
+lib/ardour4/libqmdsp.so
+lib/ardour4/libqmdsp.so.0
+lib/ardour4/libqmdsp.so.0.0.0
+lib/ardour4/libtimecode.so
+lib/ardour4/panners/libpan1in2out.so
+lib/ardour4/panners/libpan2in2out.so
+lib/ardour4/panners/libpanbalance.so
+lib/ardour4/panners/libpanvbap.so
+lib/ardour4/sanityCheck
+lib/ardour4/surfaces/libardour_faderport.so
+lib/ardour4/surfaces/libardour_generic_midi.so
+lib/ardour4/surfaces/libardour_mcp.so
+lib/ardour4/surfaces/libardour_osc.so
+${PLIST.dummy}lib/ardour4/utils/ardour-util.sh
+${PLIST.dummy}lib/ardour4/utils/ardour4-export
+lib/ardour4/vamp/libardourvampplugins.so
+lib/ardour4/vamp/libardourvampplugins.so.0
+lib/ardour4/vamp/libardourvampplugins.so.0.0.0
+share/ardour4/ArdourMono.ttf
+share/ardour4/export/CD (Red Book).format
+share/ardour4/export/CD + DVD-A.preset
+share/ardour4/export/CD + FLAC (tagged).preset
+share/ardour4/export/CD + FLAC.preset
+share/ardour4/export/CD + Ogg_Vorbis (tagged).preset
+share/ardour4/export/CD + Ogg_Vorbis + FLAC (tagged).preset
+share/ardour4/export/CD + Ogg_Vorbis.preset
+share/ardour4/export/CD only.preset
+share/ardour4/export/DVD-A only.preset
+share/ardour4/export/DVD-A.format
+share/ardour4/export/FLAC (tagged).preset
+share/ardour4/export/FLAC 24 bit (tagged).format
+share/ardour4/export/FLAC 24 bit .format
+share/ardour4/export/FLAC.preset
+share/ardour4/export/Ogg_Vorbis (tagged).format
+share/ardour4/export/Ogg_Vorbis (tagged).preset
+share/ardour4/export/Ogg_Vorbis + FLAC (tagged).preset
+share/ardour4/export/Ogg_Vorbis + FLAC.preset
+share/ardour4/export/Ogg_Vorbis .preset
+share/ardour4/export/Ogg_Vorbis.format
+share/ardour4/export/Ring Tone.format
+share/ardour4/icons/act-disabled.png
+share/ardour4/icons/add.png
+share/ardour4/icons/anchored_trim_left_cursor.png
+share/ardour4/icons/anchored_trim_right_cursor.png
+share/ardour4/icons/application-x-ardour_16px.png
+share/ardour4/icons/application-x-ardour_22px.png
+share/ardour4/icons/application-x-ardour_32px.png
+share/ardour4/icons/application-x-ardour_48px.png
+share/ardour4/icons/ardour-app-icon_osx.png
+share/ardour4/icons/ardour-app-icon_osx_mask.png
+share/ardour4/icons/ardour_icon_16px.png
+share/ardour4/icons/ardour_icon_22px.png
+share/ardour4/icons/ardour_icon_256px.png
+share/ardour4/icons/ardour_icon_32px.png
+share/ardour4/icons/ardour_icon_48px.png
+share/ardour4/icons/ardour_icon_512px.png
+share/ardour4/icons/chord.png
+share/ardour4/icons/close.png
+share/ardour4/icons/computer_keyboard.png
+share/ardour4/icons/computer_keyboard_active.png
+share/ardour4/icons/eighthnote.png
+share/ardour4/icons/expand_left_right_cursor.png
+share/ardour4/icons/expand_up_down_cursor.png
+share/ardour4/icons/fade_in_cursor.png
+share/ardour4/icons/fade_out_cursor.png
+share/ardour4/icons/fadein-S1.png
+share/ardour4/icons/fadein-S2.png
+share/ardour4/icons/fadein-constant-power.png
+share/ardour4/icons/fadein-fast-cut.png
+share/ardour4/icons/fadein-linear.png
+share/ardour4/icons/fadein-long-cut.png
+share/ardour4/icons/fadein-short-cut.png
+share/ardour4/icons/fadein-slow-cut.png
+share/ardour4/icons/fadein-symmetric.png
+share/ardour4/icons/fadeout-S1.png
+share/ardour4/icons/fadeout-S2.png
+share/ardour4/icons/fadeout-constant-power.png
+share/ardour4/icons/fadeout-fast-cut.png
+share/ardour4/icons/fadeout-linear.png
+share/ardour4/icons/fadeout-long-cut.png
+share/ardour4/icons/fadeout-short-cut.png
+share/ardour4/icons/fadeout-slow-cut.png
+share/ardour4/icons/fadeout-symmetric.png
+share/ardour4/icons/fader_belt.png
+share/ardour4/icons/fader_belt_desensitised.png
+share/ardour4/icons/fader_belt_h.png
+share/ardour4/icons/fader_belt_h_desensitised.png
+share/ardour4/icons/fader_belt_h_medium.png
+share/ardour4/icons/fader_belt_h_medium_desensitised.png
+share/ardour4/icons/fader_belt_h_thin.png
+share/ardour4/icons/fader_belt_h_thin_desensitised.png
+share/ardour4/icons/faderport-small.png
+share/ardour4/icons/ferret_02.png
+share/ardour4/icons/forte.png
+share/ardour4/icons/fortissimo.png
+share/ardour4/icons/fortississimo.png
+share/ardour4/icons/grabber.png
+share/ardour4/icons/grabber_edit_point.png
+share/ardour4/icons/grabber_note.png
+share/ardour4/icons/halfnote.png
+share/ardour4/icons/hide.png
+share/ardour4/icons/i_beam_cursor.png
+share/ardour4/icons/join_tools.png
+share/ardour4/icons/knob.png
+share/ardour4/icons/metronome.png
+share/ardour4/icons/mezzforte.png
+share/ardour4/icons/mezzoforte.png
+share/ardour4/icons/mezzopiano.png
+share/ardour4/icons/midi-input-active.png
+share/ardour4/icons/midi-input-inactive.png
+share/ardour4/icons/midi_panic.png
+share/ardour4/icons/midi_socket_small.png
+share/ardour4/icons/midi_sound_notes.png
+share/ardour4/icons/midi_tool_erase.png
+share/ardour4/icons/midi_tool_pencil.png
+share/ardour4/icons/midi_tool_select.png
+share/ardour4/icons/move_cursor.png
+share/ardour4/icons/mute-disabled.png
+share/ardour4/icons/mute-enabled.png
+share/ardour4/icons/muted-by-others.png
+share/ardour4/icons/nudge_left.png
+share/ardour4/icons/nudge_right.png
+share/ardour4/icons/padlock_closed.png
+share/ardour4/icons/padlock_open.png
+share/ardour4/icons/pianissimo.png
+share/ardour4/icons/pianississimo.png
+share/ardour4/icons/piano.png
+share/ardour4/icons/quarternote.png
+share/ardour4/icons/rec-enabled.png
+share/ardour4/icons/rec-in-progress.png
+share/ardour4/icons/record-normal-disabled.png
+share/ardour4/icons/record-normal-enabled.png
+share/ardour4/icons/record-normal-in-progress.png
+share/ardour4/icons/record-step.png
+share/ardour4/icons/record_disabled_grey.png
+share/ardour4/icons/record_normal_red.png
+share/ardour4/icons/record_tape_red.png
+share/ardour4/icons/resize_bottom_cursor.png
+share/ardour4/icons/resize_bottom_left_cursor.png
+share/ardour4/icons/resize_bottom_right_cursor.png
+share/ardour4/icons/resize_left_cursor.png
+share/ardour4/icons/resize_right_cursor.png
+share/ardour4/icons/resize_top_cursor.png
+share/ardour4/icons/resize_top_left_cursor.png
+share/ardour4/icons/resize_top_right_cursor.png
+share/ardour4/icons/sae.png
+share/ardour4/icons/scissors.png
+share/ardour4/icons/sixteenthnote.png
+share/ardour4/icons/sixtyfourthnote.png
+share/ardour4/icons/solo-disabled.png
+share/ardour4/icons/solo-enabled.png
+share/ardour4/icons/solo-isolate-disabled.png
+share/ardour4/icons/solo-isolate-enabled.png
+share/ardour4/icons/solo-isolated.png
+share/ardour4/icons/solo-safe-disabled.png
+share/ardour4/icons/solo-safe-enabled.png
+share/ardour4/icons/solo-safe-icon.png
+share/ardour4/icons/soloed-by-others.png
+share/ardour4/icons/soundcloud.png
+share/ardour4/icons/step-editing.png
+share/ardour4/icons/strip_width.png
+share/ardour4/icons/tav_exp.png
+share/ardour4/icons/tav_shrink.png
+share/ardour4/icons/thirtysecondnote.png
+share/ardour4/icons/time_exp.png
+share/ardour4/icons/tool_audition.png
+share/ardour4/icons/tool_content.png
+share/ardour4/icons/tool_cut.png
+share/ardour4/icons/tool_gain.png
+share/ardour4/icons/tool_note.png
+share/ardour4/icons/tool_object.png
+share/ardour4/icons/tool_object_range.png
+share/ardour4/icons/tool_range.png
+share/ardour4/icons/tool_stretch.png
+share/ardour4/icons/tool_zoom.png
+share/ardour4/icons/transport_end.png
+share/ardour4/icons/transport_loop.png
+share/ardour4/icons/transport_play.png
+share/ardour4/icons/transport_range.png
+share/ardour4/icons/transport_record.png
+share/ardour4/icons/transport_start.png
+share/ardour4/icons/transport_stop.png
+share/ardour4/icons/trim_bottom_cursor.png
+share/ardour4/icons/trim_left_cursor.png
+share/ardour4/icons/trim_left_cursor_5.png
+share/ardour4/icons/trim_left_cursor_right_only.png
+share/ardour4/icons/trim_right_cursor.png
+share/ardour4/icons/trim_right_cursor_5.png
+share/ardour4/icons/trim_right_cursor_left_only.png
+share/ardour4/icons/trim_top_cursor.png
+share/ardour4/icons/wholenote.png
+share/ardour4/icons/zoom_full.png
+share/ardour4/icons/zoom_in.png
+share/ardour4/icons/zoom_in_cursor.png
+share/ardour4/icons/zoom_out.png
+share/ardour4/icons/zoom_out_cursor.png
+share/ardour4/mcp/SSL Nucleus Ardour.profile
+share/ardour4/mcp/bcf2000.device
+share/ardour4/mcp/cmc.device
+share/ardour4/mcp/mc+xt+xt.device
+share/ardour4/mcp/mc+xt.device
+share/ardour4/mcp/mc.device
+share/ardour4/mcp/mcpro.device
+share/ardour4/mcp/mcproxt.device
+share/ardour4/mcp/midikbd.device
+share/ardour4/mcp/nucleus-platform-midi.device
+share/ardour4/mcp/nucleus.device
+share/ardour4/mcp/qcon.device
+share/ardour4/mcp/user.profile
+share/ardour4/mcp/x-touch-compact.device
+share/ardour4/mcp/x-touch.device
+share/ardour4/mcp/xt+mc+xt.device
+share/ardour4/mcp/xt+mc.device
+share/ardour4/mcp/xt+xt+mc.device
+share/ardour4/midi_maps/AKAI_MPK61.map
+share/ardour4/midi_maps/AKAI_MPKmini.map
+share/ardour4/midi_maps/DDX3216.map
+share/ardour4/midi_maps/Korg_nanoKONTROL.map
+share/ardour4/midi_maps/Korg_nanoKONTROL2.map
+share/ardour4/midi_maps/Korg_nanoKONTROL2_With_Master.map
+share/ardour4/midi_maps/Korg_nanoKONTROL_Master.map
+share/ardour4/midi_maps/Korg_taktile.map
+share/ardour4/midi_maps/M-Audio_Axiom25.map
+share/ardour4/midi_maps/M-Audio_Axiom61.map
+share/ardour4/midi_maps/M-Audio_Oxygen49.map
+share/ardour4/midi_maps/Novation Impulse 49.map
+share/ardour4/midi_maps/Novation_Impulse61.map
+share/ardour4/midi_maps/Novation_LaunchControl_XL.map
+share/ardour4/midi_maps/Novation_LaunchKey25.map
+share/ardour4/midi_maps/Roland_SI-24.map
+share/ardour4/midi_maps/Roland_V_Studio_20.map
+share/ardour4/midi_maps/Yamaha_KX25.map
+share/ardour4/midi_maps/bcf2000.map
+share/ardour4/midi_maps/bcf2000_mackie.map
+share/ardour4/midi_maps/m-audio_oxygen25.map
+share/ardour4/midi_maps/m-audio_oxygen8v2.map
+share/ardour4/midi_maps/midikb_wiimote.map
+share/ardour4/midi_maps/xboard-61.map
+share/ardour4/patchfiles/Alesis_DM5.midnam
+share/ardour4/patchfiles/Alesis_NanoBass.midnam
+share/ardour4/patchfiles/Alesis_NanoPiano.midnam
+share/ardour4/patchfiles/Alesis_QS78.midnam
+share/ardour4/patchfiles/Casio_CZ-1.midnam
+share/ardour4/patchfiles/Clavia_Nord_Lead_II.midnam
+share/ardour4/patchfiles/DSI_Evolver.midnam
+share/ardour4/patchfiles/DSI_Mopho.midnam
+share/ardour4/patchfiles/DSI_Tetra.midnam
+share/ardour4/patchfiles/Digidesign_MP1.midnam
+share/ardour4/patchfiles/Dynacord_DRP-20X.midnam
+share/ardour4/patchfiles/E-mu_Mo_Phatt.midnam
+share/ardour4/patchfiles/E-mu_Orbit-3.midnam
+share/ardour4/patchfiles/E-mu_Proteus_2000.midnam
+share/ardour4/patchfiles/E-mu_XL-1.midnam
+share/ardour4/patchfiles/Eventide_Eclipse.midnam
+share/ardour4/patchfiles/Gotharmoon_deMoon.midnam
+share/ardour4/patchfiles/Jomox_MBase_11.midnam
+share/ardour4/patchfiles/Korg_ER-1.midnam
+share/ardour4/patchfiles/Korg_Karma.midnam
+share/ardour4/patchfiles/Korg_MS2000R.midnam
+share/ardour4/patchfiles/Korg_MicroKORG.midnam
+share/ardour4/patchfiles/Korg_NX5R.midnam
+share/ardour4/patchfiles/Korg_Radias.midnam
+share/ardour4/patchfiles/Korg_TR_Workstation.midnam
+share/ardour4/patchfiles/Korg_Trinity_Track.midnam
+share/ardour4/patchfiles/Korg_Triton.midnam
+share/ardour4/patchfiles/Korg_Triton_Rack.midnam
+share/ardour4/patchfiles/Korg_Volca_Bass.midnam
+share/ardour4/patchfiles/Korg_Volca_Beats.midnam
+share/ardour4/patchfiles/Korg_Volca_Keys.midnam
+share/ardour4/patchfiles/Kurzweil_Mark-12-152.midnam
+share/ardour4/patchfiles/Kurzweil_PX_Plus.midnam
+share/ardour4/patchfiles/Kurzweil_SP88x.midnam
+share/ardour4/patchfiles/Lexicon_MX300.midnam
+share/ardour4/patchfiles/Line_6_EchoPro.midnam
+share/ardour4/patchfiles/Line_6_FilterPro.midnam
+share/ardour4/patchfiles/Line_6_ModPro.midnam
+share/ardour4/patchfiles/Line_6_POD.midnam
+share/ardour4/patchfiles/MFB_503.midnam
+share/ardour4/patchfiles/MIDI.midnam
+share/ardour4/patchfiles/Moog_MF-104M_Analog_Delay.midnam
+share/ardour4/patchfiles/Moog_MF-108M_Cluster_Flux.midnam
+share/ardour4/patchfiles/Moog_Minitaur.midnam
+share/ardour4/patchfiles/Nord_Modular.midnam
+share/ardour4/patchfiles/Novation_A-Station.midnam
+share/ardour4/patchfiles/Novation_DrumStation.midnam
+share/ardour4/patchfiles/Novation_Nova.midnam
+share/ardour4/patchfiles/Novation_Super_BassStation.midnam
+share/ardour4/patchfiles/Peavey_DPM-V3.midnam
+share/ardour4/patchfiles/Roland_Fantom-Xa.midnam
+share/ardour4/patchfiles/Roland_Fantom.midnam
+share/ardour4/patchfiles/Roland_FantomX8.midnam
+share/ardour4/patchfiles/Roland_FantomXR.midnam
+share/ardour4/patchfiles/Roland_GR-1.midnam
+share/ardour4/patchfiles/Roland_GR-33.midnam
+share/ardour4/patchfiles/Roland_JP-8080.midnam
+share/ardour4/patchfiles/Roland_JV-1010.midnam
+share/ardour4/patchfiles/Roland_JV-1080.midnam
+share/ardour4/patchfiles/Roland_JV-2080.midnam
+share/ardour4/patchfiles/Roland_Juno-106.midnam
+share/ardour4/patchfiles/Roland_M-BD1.midnam
+share/ardour4/patchfiles/Roland_RD-250s.midnam
+share/ardour4/patchfiles/Roland_RD-600.midnam
+share/ardour4/patchfiles/Roland_RD-700sx.midnam
+share/ardour4/patchfiles/Roland_RS-9.midnam
+share/ardour4/patchfiles/Roland_SC-88_Pro.midnam
+share/ardour4/patchfiles/Roland_SH-32.midnam
+share/ardour4/patchfiles/Roland_V-Synth-GT.midnam
+share/ardour4/patchfiles/Roland_XV-2020.midnam
+share/ardour4/patchfiles/Roland_XV-3080.midnam
+share/ardour4/patchfiles/Roland_XV-5080.midnam
+share/ardour4/patchfiles/Roland_XV-88.midnam
+share/ardour4/patchfiles/Sequential_Circuits_Prophet_600.midnam
+share/ardour4/patchfiles/TC_Electronic_M3000.midnam
+share/ardour4/patchfiles/Waldorf_Blofeld.midnam
+share/ardour4/patchfiles/Waldorf_Micro_Q.midnam
+share/ardour4/patchfiles/Yamaha_DX-7.midnam
+share/ardour4/patchfiles/Yamaha_EX-5.midnam
+share/ardour4/patchfiles/Yamaha_MM6.midnam
+share/ardour4/patchfiles/Yamaha_MOTIF-RACK_ES.midnam
+share/ardour4/patchfiles/Yamaha_MOTIF_XS.midnam
+share/ardour4/patchfiles/Yamaha_MU10XG.midnam
+share/ardour4/patchfiles/Yamaha_PSR-275.midnam
+share/ardour4/patchfiles/Yamaha_PSR-S900.midnam
+share/ardour4/patchfiles/Yamaha_PSR540.midnam
+share/ardour4/patchfiles/Yamaha_S90.midnam
+share/ardour4/patchfiles/Yamaha_Tyros2.midnam
+share/ardour4/pixmaps/forwardblarrow.xpm
+share/ardour4/pixmaps/h_meter_strip.xpm
+share/ardour4/pixmaps/hiin.xpm
+share/ardour4/pixmaps/hiout.xpm
+share/ardour4/pixmaps/hslider00.xpm
+share/ardour4/pixmaps/hslider01.xpm
+share/ardour4/pixmaps/left_arrow.xpm
+share/ardour4/pixmaps/linin.xpm
+share/ardour4/pixmaps/linout.xpm
+share/ardour4/pixmaps/loin.xpm
+share/ardour4/pixmaps/loop.xpm
+share/ardour4/pixmaps/loout.xpm
+share/ardour4/pixmaps/lr.xpm
+share/ardour4/pixmaps/regin.xpm
+share/ardour4/pixmaps/regin2.xpm
+share/ardour4/pixmaps/regout.xpm
+share/ardour4/pixmaps/regout2.xpm
+share/ardour4/pixmaps/revdblarrow.xpm
+share/ardour4/pixmaps/right_arrow.xpm
+share/ardour4/pixmaps/set-next-button.xpm
+share/ardour4/pixmaps/small-round-button-01.xpm
+share/ardour4/pixmaps/small_x.xpm
+share/ardour4/pixmaps/toggle-button-00.xpm
+share/ardour4/pixmaps/toggle-button-01.xpm
+share/ardour4/pixmaps/tool_audition.xpm
+share/ardour4/pixmaps/tool_gain.xpm
+share/ardour4/pixmaps/tool_object.xpm
+share/ardour4/pixmaps/tool_range.xpm
+share/ardour4/pixmaps/tool_stretch.xpm
+share/ardour4/pixmaps/tool_zoom.xpm
+share/ardour4/pixmaps/v_meter_strip.xpm
+share/ardour4/pixmaps/vslider00.xpm
+share/ardour4/pixmaps/vslider01.xpm
+share/ardour4/pixmaps/vslider02_rail.xpm
+share/ardour4/pixmaps/vslider02_slider.xpm
+share/ardour4/pixmaps/vslider_slider_16wide.xpm
+share/ardour4/pixmaps/zoom_full.xpm
+share/ardour4/pixmaps/zoom_in.xpm
+share/ardour4/pixmaps/zoom_out.xpm
+share/ardour4/small-splash.png
+share/ardour4/splash.png
+share/examples/ardour4/ardour.menus
+share/examples/ardour4/clearlooks.rc
+share/examples/ardour4/dark.colors
+share/examples/ardour4/default_ui_config
+share/examples/ardour4/export/CD.format
+share/examples/ardour4/mixer.bindings
+share/examples/ardour4/mnemonic-us.bindings
+share/examples/ardour4/step_editing.bindings
+share/examples/ardour4/system_config
+share/examples/ardour4/trx.menus
Index: pkgsrc/audio/ardour/distinfo
diff -u /dev/null pkgsrc/audio/ardour/distinfo:1.1
--- /dev/null   Mon Jun 20 08:17:43 2016
+++ pkgsrc/audio/ardour/distinfo        Mon Jun 20 08:17:42 2016
@@ -0,0 +1,18 @@
+$NetBSD: distinfo,v 1.1 2016/06/20 08:17:42 kamil Exp $
+
+SHA1 (ardour-4.7.tar.gz) = 95047ccb3fc599ce11c473a0fd7f1eb012c3e440
+RMD160 (ardour-4.7.tar.gz) = 366f7057fab9878ac425dd70a751899984abc030
+SHA512 (ardour-4.7.tar.gz) = 5daff563ec0b2dc38ec6ca55bb12526ef54da9d8d5a29a9fd6d869f54b83e6fe5ff3c28ef654e6700455110b4a46ce42a33902eb66d96330c6c0948eb3cd3096
+Size (ardour-4.7.tar.gz) = 9863149 bytes
+SHA1 (patch-gtk2__ardour_ardour.sh.in) = 4949797546a2644604aa70e24742b529512d3ad6
+SHA1 (patch-gtk2__ardour_wscript) = ab2e95282d82ba08aad83b59f8d2acf9fe45e3c6
+SHA1 (patch-libs_ardour_session__state.cc) = 168f67f4af32181d2e3d85d2759383f9acfcbf29
+SHA1 (patch-libs_ardouralsautil_wscript) = 7867f29bc2590219ad0cca387bae27bc503374f4
+SHA1 (patch-libs_backends_alsa_zita-alsa-pcmi.cc) = bb9efc33e62e840ba253031b60d4de323b7c3e21
+SHA1 (patch-libs_backends_jack_wscript) = a048453911b72c9005a5821a5227443e9f78c2e6
+SHA1 (patch-libs_fst_wscript) = b94e18a903fe3fc0bc71edefa1fd690adc17ee6d
+SHA1 (patch-libs_pbd_fpu.cc) = ebdb6d345bf2e3db0402165412978cb1c9043950
+SHA1 (patch-libs_pbd_mountpoint.cc) = 001b8112c08086d32989c82ab699335ecb92ede6
+SHA1 (patch-libs_pbd_wscript) = 0caa774358b511d9790e146e92454a0c34a8d5ef
+SHA1 (patch-libs_vfork_wscript) = 1d357b3bed8a2006cdc50fcdfa387ebca8c699c7
+SHA1 (patch-wscript) = e3f64b19c9bf92784139feb0640c3cee39233af8
Index: pkgsrc/audio/ardour/options.mk
diff -u /dev/null pkgsrc/audio/ardour/options.mk:1.1
--- /dev/null   Mon Jun 20 08:17:43 2016
+++ pkgsrc/audio/ardour/options.mk      Mon Jun 20 08:17:42 2016
@@ -0,0 +1,38 @@
+# $NetBSD: options.mk,v 1.1 2016/06/20 08:17:42 kamil Exp $
+
+PKG_OPTIONS_VAR=       PKG_OPTIONS.ardour
+
+PKG_SUPPORTED_OPTIONS= alsa jack dummy
+PKG_SUGGESTED_OPTIONS= alsa jack
+
+PLIST_VARS=            alsa jack dummy
+
+.include "../../mk/bsd.options.mk"
+
+.if ${OPSYS} == "Linux" || ${OPSYS} == "NetBSD"
+.  if empty(PKG_OPTIONS:Malsa)
+.    error ALSA is required on this platform
+.  endif
+.endif
+
+.if !empty(PKG_OPTIONS:Malsa)
+.include "../../audio/alsa-lib/buildlink3.mk"
+ARDOUR_BACKENDS_ALSA=  yes
+PLIST.alsa=    yes
+.endif
+
+.if !empty(PKG_OPTIONS:Mjack)
+.include "../../audio/jack/buildlink3.mk"
+ARDOUR_BACKENDS_JACK=  yes
+PLIST.jack=    yes
+.endif
+
+# Useful for developers
+.if !empty(PKG_OPTIONS:Mdummy)
+ARDOUR_BACKENDS_DUMMY= yes
+PLIST.dummy=   yes
+.endif
+
+ARDOUR_BACKENDS=       ${ARDOUR_BACKENDS_ALSA:Dalsa},${ARDOUR_BACKENDS_JACK:Djack},${ARDOUR_BACKENDS_DUMMY:Ddummy}
+
+WAF_ARGS+=      --with-backends=${ARDOUR_BACKENDS:C/,+$//}

Index: pkgsrc/audio/ardour/patches/patch-gtk2__ardour_ardour.sh.in
diff -u /dev/null pkgsrc/audio/ardour/patches/patch-gtk2__ardour_ardour.sh.in:1.1
--- /dev/null   Mon Jun 20 08:17:43 2016
+++ pkgsrc/audio/ardour/patches/patch-gtk2__ardour_ardour.sh.in Mon Jun 20 08:17:43 2016
@@ -0,0 +1,35 @@
+$NetBSD: patch-gtk2__ardour_ardour.sh.in,v 1.1 2016/06/20 08:17:43 kamil Exp $
+
+Fix ldd(1) parsing on NetBSD:
+
+ * NetBSD
+
+$ ldd /bin/cat
+/bin/cat:
+        -lc.12 => /lib/libc.so.12
+
+ * Linux
+
+$ ldd /usr/bin/cat
+       linux-vdso.so.1 =>  (0x0000726abb373000)
+       libc.so.6 => /lib64/libc.so.6 (0x0000726abafa7000)
+       /lib64/ld-linux-x86-64.so.2 (0x0000726abb374000)
+
+
+--- gtk2_ardour/ardour.sh.in.orig      2016-02-19 01:28:56.000000000 +0000
++++ gtk2_ardour/ardour.sh.in
+@@ -23,7 +23,7 @@ fi
+ 
+ ## Glib atomic test
+ 
+-GLIB=$(ldd @LIBDIR@/ardour-@VERSION@ 2> /dev/null | grep glib-2.0 | sed 's/.*=> \([^ ]*\) .*/\1/')
++GLIB=$(ldd @LIBDIR@/ardour-@VERSION@ 2> /dev/null | grep glib-2.0 | sed 's/.*=> \([^ ]*\)/\1/;s/ .*//')
+ 
+ if [ "$GLIB" = "" ]; then
+       echo "WARNING: Could not check your glib-2.0 for mutex locking atomic operations."
+@@ -66,5 +66,3 @@ if [ $# -gt 0 ] ; then
+ fi
+ 
+ exec $GDB @LIBDIR@/ardour-@VERSION@ "$@"
+-
+-
Index: pkgsrc/audio/ardour/patches/patch-gtk2__ardour_wscript
diff -u /dev/null pkgsrc/audio/ardour/patches/patch-gtk2__ardour_wscript:1.1
--- /dev/null   Mon Jun 20 08:17:43 2016
+++ pkgsrc/audio/ardour/patches/patch-gtk2__ardour_wscript      Mon Jun 20 08:17:43 2016
@@ -0,0 +1,64 @@
+$NetBSD: patch-gtk2__ardour_wscript,v 1.1 2016/06/20 08:17:43 kamil Exp $
+
+Install configuration into a custom EGDIR.
+
+--- gtk2_ardour/wscript.orig   2016-02-19 01:28:56.000000000 +0000
++++ gtk2_ardour/wscript
+@@ -651,13 +651,13 @@ def build(bld):
+     obj              = bld(features = 'subst')
+     obj.source       = [ 'clearlooks.rc.in' ]
+     obj.target       = 'clearlooks.rc'
+-    obj.install_path = bld.env['CONFDIR']
++    obj.install_path = os.environ['EGDIR']
+     set_subst_dict(obj, font_subst_dict)
+ 
+     obj              = bld(features = 'subst')
+     obj.source       = [ 'default_ui_config.in' ]
+     obj.target       = 'default_ui_config'
+-    obj.install_path = bld.env['CONFDIR']
++    obj.install_path = os.environ['EGDIR']
+     set_subst_dict(obj, font_subst_dict)
+ 
+     # Menus
+@@ -681,7 +681,7 @@ def build(bld):
+         obj.dep_vars = ['PTFORMAT', 'GTKOSX', 'WINDOWS']
+         obj.stdin = program + '.menus.in'
+         obj.stdout = program + '.menus'
+-        bld.install_files (bld.env['CONFDIR'], program + '.menus')
++        bld.install_files (os.environ['EGDIR'], program + '.menus')
+ 
+     # Freedesktop
+     freedesktop_subst_dict = {
+@@ -728,12 +728,12 @@ def build(bld):
+             source = b + '.bindings.in',
+             rule = a_rule
+             )
+-        obj.install_path = bld.env['CONFDIR']
++        obj.install_path = os.environ['EGDIR']
+ 
+     # not modified at present
+-    bld.install_files(bld.env['CONFDIR'], 'dark.colors')
+-    bld.install_files(bld.env['CONFDIR'], 'step_editing.bindings')
+-    bld.install_files(bld.env['CONFDIR'], 'mixer.bindings')
++    bld.install_files(os.environ['EGDIR'], 'dark.colors')
++    bld.install_files(os.environ['EGDIR'], 'step_editing.bindings')
++    bld.install_files(os.environ['EGDIR'], 'mixer.bindings')
+ 
+     # Icons/Images
+     bld.install_files(os.path.join (bld.env['DATADIR'], 'icons'), bld.path.ant_glob('icons/*.png'))
+@@ -749,12 +749,12 @@ def build(bld):
+         bld.install_files(os.path.join (bld.env['DATADIR'], 'icons'), 'icons/cursor_square/hotspots')
+ 
+     # Default UI configuration
+-    bld.install_files(bld.env['CONFDIR'], 'default_ui_config')
++    bld.install_files(os.environ['EGDIR'], 'default_ui_config')
+     # Color Themes
+-    bld.install_files(bld.env['CONFDIR'], 'dark.colors')
++    bld.install_files(os.environ['EGDIR'], 'dark.colors')
+ 
+     # Default export stuff
+-    bld.install_files(os.path.join(bld.env['CONFDIR'], 'export'), bld.path.ant_glob('export/*.format'))
++    bld.install_files(os.path.join(os.environ['EGDIR'], 'export'), bld.path.ant_glob('export/*.format'))
+ 
+     # i18n
+     if bld.is_defined('ENABLE_NLS'):
Index: pkgsrc/audio/ardour/patches/patch-libs_ardour_session__state.cc
diff -u /dev/null pkgsrc/audio/ardour/patches/patch-libs_ardour_session__state.cc:1.1
--- /dev/null   Mon Jun 20 08:17:43 2016
+++ pkgsrc/audio/ardour/patches/patch-libs_ardour_session__state.cc     Mon Jun 20 08:17:43 2016
@@ -0,0 +1,32 @@
+$NetBSD: patch-libs_ardour_session__state.cc,v 1.1 2016/06/20 08:17:43 kamil Exp $
+
+Detect free space on NetBSD.
+
+--- libs/ardour/session_state.cc.orig  2016-02-19 01:28:56.000000000 +0000
++++ libs/ardour/session_state.cc
+@@ -2180,7 +2180,7 @@ Session::save_template (string template_
+ void
+ Session::refresh_disk_space ()
+ {
+-#if __APPLE__ || (HAVE_SYS_VFS_H && HAVE_SYS_STATVFS_H)
++#if __APPLE__ || (HAVE_SYS_VFS_H && HAVE_SYS_STATVFS_H) || defined(__NetBSD__)
+ 
+       Glib::Threads::Mutex::Lock lm (space_lock);
+ 
+@@ -2190,10 +2190,15 @@ Session::refresh_disk_space ()
+       _total_free_4k_blocks_uncertain = false;
+ 
+       for (vector<space_and_path>::iterator i = session_dirs.begin(); i != session_dirs.end(); ++i) {
++#if defined(__NetBSD__)
++              struct statvfs statfsbuf;
+ 
++              statvfs (i->path.c_str(), &statfsbuf);
++#else
+               struct statfs statfsbuf;
+-              statfs (i->path.c_str(), &statfsbuf);
+ 
++              statfs (i->path.c_str(), &statfsbuf);
++#endif
+               double const scale = statfsbuf.f_bsize / 4096.0;
+ 
+               /* See if this filesystem is read-only */
Index: pkgsrc/audio/ardour/patches/patch-libs_ardouralsautil_wscript
diff -u /dev/null pkgsrc/audio/ardour/patches/patch-libs_ardouralsautil_wscript:1.1
--- /dev/null   Mon Jun 20 08:17:43 2016
+++ pkgsrc/audio/ardour/patches/patch-libs_ardouralsautil_wscript       Mon Jun 20 08:17:43 2016
@@ -0,0 +1,29 @@
+$NetBSD: patch-libs_ardouralsautil_wscript,v 1.1 2016/06/20 08:17:43 kamil Exp $
+
+Add support for NetBSD.
+
+--- libs/ardouralsautil/wscript.orig   2016-02-19 01:28:56.000000000 +0000
++++ libs/ardouralsautil/wscript
+@@ -17,12 +17,12 @@ def options(opt):
+ 
+ def configure(conf):
+     autowaf.configure(conf)
+-    if re.search ("linux", sys.platform) != None and Options.options.dist_target != 'mingw':
++    if (re.search ("linux", sys.platform) != None or sys.platform.startswith('netbsd')) and Options.options.dist_target != 'mingw':
+         autowaf.check_pkg(conf, 'alsa', uselib_store='ALSA')
+         autowaf.check_pkg(conf, 'dbus-1', uselib_store='DBUS', mandatory = False)
+ 
+ def build(bld):
+-    if re.search ("linux", sys.platform) != None:
++    if re.search ("linux", sys.platform) != None or sys.platform.startswith('netbsd'):
+         if bld.is_defined('HAVE_ALSA'):
+             obj = bld(features = 'cxx cxxshlib')
+             obj.source = [
+@@ -51,6 +51,7 @@ def build(bld):
+             obj.defines = [
+                     '_POSIX_SOURCE',
+                     '_XOPEN_SOURCE=500',
++                    '_NETBSD_SOURCE',
+                     'ARD_PROG_NAME="ardour-request-device"',
+                     'ARD_APPL_NAME="Ardour ALSA Backend"',
+             ]
Index: pkgsrc/audio/ardour/patches/patch-libs_backends_alsa_zita-alsa-pcmi.cc
diff -u /dev/null pkgsrc/audio/ardour/patches/patch-libs_backends_alsa_zita-alsa-pcmi.cc:1.1
--- /dev/null   Mon Jun 20 08:17:43 2016
+++ pkgsrc/audio/ardour/patches/patch-libs_backends_alsa_zita-alsa-pcmi.cc      Mon Jun 20 08:17:43 2016
@@ -0,0 +1,32 @@
+$NetBSD: patch-libs_backends_alsa_zita-alsa-pcmi.cc,v 1.1 2016/06/20 08:17:43 kamil Exp $
+
+Add support for NetBSD:
+- ppoll() on Linux is close to pollts(2) on NetBSD
+- NetBSD ships with <sys/endian.h>, not <endian.h>
+
+--- libs/backends/alsa/zita-alsa-pcmi.cc.orig  2016-02-19 01:28:56.000000000 +0000
++++ libs/backends/alsa/zita-alsa-pcmi.cc
+@@ -18,7 +18,11 @@
+ // ----------------------------------------------------------------------------
+ 
+ 
++#if defined(__NetBSD__)
++#include <sys/endian.h>
++#else
+ #include <endian.h>
++#endif
+ #include <sys/time.h>
+ #include "zita-alsa-pcmi.h"
+ 
+@@ -175,7 +179,11 @@ snd_pcm_sframes_t Alsa_pcmi::pcm_wait (v
+               timespec timeout;
+               timeout.tv_sec = 1;
+               timeout.tv_nsec = 0;
++#if defined(__NetBSD__)
++              r = pollts (_poll_fd, n2, &timeout, NULL);
++#else
+               r = ppoll (_poll_fd, n2, &timeout, NULL);
++#endif
+ 
+               if (r < 0)
+               {
Index: pkgsrc/audio/ardour/patches/patch-libs_backends_jack_wscript
diff -u /dev/null pkgsrc/audio/ardour/patches/patch-libs_backends_jack_wscript:1.1
--- /dev/null   Mon Jun 20 08:17:43 2016
+++ pkgsrc/audio/ardour/patches/patch-libs_backends_jack_wscript        Mon Jun 20 08:17:43 2016
@@ -0,0 +1,18 @@
+$NetBSD: patch-libs_backends_jack_wscript,v 1.1 2016/06/20 08:17:43 kamil Exp $
+
+ALSA is supported on NetBSD
+
+--- libs/backends/jack/wscript.orig    2016-02-19 01:28:56.000000000 +0000
++++ libs/backends/jack/wscript
+@@ -110,9 +110,8 @@ def build(bld):
+ 
+     #
+     # device discovery code in the jack backend needs ALSA
+-    # on Linux.
++    # on Linux/NetBSD.
+     #
+ 
+-    if re.search ("linux", sys.platform) != None:
++    if re.search ("linux", sys.platform) != None or sys.platform.startswith('netbsd'):
+        obj.uselib += [ 'ALSA' ]
+-
Index: pkgsrc/audio/ardour/patches/patch-libs_fst_wscript
diff -u /dev/null pkgsrc/audio/ardour/patches/patch-libs_fst_wscript:1.1
--- /dev/null   Mon Jun 20 08:17:43 2016
+++ pkgsrc/audio/ardour/patches/patch-libs_fst_wscript  Mon Jun 20 08:17:43 2016
@@ -0,0 +1,15 @@
+$NetBSD: patch-libs_fst_wscript,v 1.1 2016/06/20 08:17:43 kamil Exp $
+
+There are problems with C++11 heavy code on NetBSD when building against _POSIX_SOURCE.
+Fix it by using _NETBSD_SOURCE.
+
+--- libs/fst/wscript.orig      2016-02-19 01:28:56.000000000 +0000
++++ libs/fst/wscript
+@@ -83,6 +83,7 @@ def build(bld):
+     obj.includes  = [ '../pbd/', '../ardour/', '.' ]
+     obj.defines = [
+         '_POSIX_SOURCE',
++        '_NETBSD_SOURCE',
+         'USE_WS_PREFIX',
+         'VST_SCANNER_APP',
+         'PACKAGE="' + I18N_PACKAGE + str(bld.env['MAJOR']) + '"',
Index: pkgsrc/audio/ardour/patches/patch-libs_pbd_fpu.cc
diff -u /dev/null pkgsrc/audio/ardour/patches/patch-libs_pbd_fpu.cc:1.1
--- /dev/null   Mon Jun 20 08:17:43 2016
+++ pkgsrc/audio/ardour/patches/patch-libs_pbd_fpu.cc   Mon Jun 20 08:17:43 2016
@@ -0,0 +1,16 @@
+$NetBSD: patch-libs_pbd_fpu.cc,v 1.1 2016/06/20 08:17:43 kamil Exp $
+
+There are problems with C++11 heavy code on NetBSD when building against _XOPEN_SOURCE.
+
+--- libs/pbd/fpu.cc.orig       2016-02-19 01:28:56.000000000 +0000
++++ libs/pbd/fpu.cc
+@@ -19,7 +19,9 @@
+ 
+ #include "libpbd-config.h"
+ 
++#ifndef __NetBSD__
+ #define _XOPEN_SOURCE 600
++#endif
+ #include <cstring> // for memset
+ #include <cstdlib>
+ #include <stdint.h>
Index: pkgsrc/audio/ardour/patches/patch-libs_pbd_mountpoint.cc
diff -u /dev/null pkgsrc/audio/ardour/patches/patch-libs_pbd_mountpoint.cc:1.1
--- /dev/null   Mon Jun 20 08:17:43 2016
+++ pkgsrc/audio/ardour/patches/patch-libs_pbd_mountpoint.cc    Mon Jun 20 08:17:43 2016
@@ -0,0 +1,18 @@
+$NetBSD: patch-libs_pbd_mountpoint.cc,v 1.1 2016/06/20 08:17:43 kamil Exp $
+
+NetBSD uses statvfs for the functionality of statfs on Linux.
+
+--- libs/pbd/mountpoint.cc.orig        2016-02-19 01:28:56.000000000 +0000
++++ libs/pbd/mountpoint.cc
+@@ -116,7 +116,11 @@ mountpoint (string path)
+ string
+ mountpoint (string path)
+ {
++#if defined(__NetBSD__)
++      struct statvfs *mntbufp = 0;
++#else
+       struct statfs *mntbufp = 0;
++#endif
+       int count;
+       unsigned int maxmatch = 0;
+       unsigned int matchlen;
Index: pkgsrc/audio/ardour/patches/patch-libs_pbd_wscript
diff -u /dev/null pkgsrc/audio/ardour/patches/patch-libs_pbd_wscript:1.1
--- /dev/null   Mon Jun 20 08:17:43 2016
+++ pkgsrc/audio/ardour/patches/patch-libs_pbd_wscript  Mon Jun 20 08:17:43 2016
@@ -0,0 +1,26 @@
+$NetBSD: patch-libs_pbd_wscript,v 1.1 2016/06/20 08:17:43 kamil Exp $
+
+There are problems with C++11 heavy code on NetBSD when building against _XOPEN_SOURCE.
+Fix it by using _NETBSD_SOURCE.
+
+--- libs/pbd/wscript.orig      2016-02-19 01:28:56.000000000 +0000
++++ libs/pbd/wscript
+@@ -97,7 +97,7 @@ def configure(conf):
+     conf.check(header_name='execinfo.h', define_name='HAVE_EXECINFO',mandatory=False)
+     conf.check(header_name='unistd.h', define_name='HAVE_UNISTD',mandatory=False)
+     if not Options.options.ppc:
+-        conf.check_cc(function_name='posix_memalign', header_name='stdlib.h', cflags='-D_XOPEN_SOURCE=600', define_name='HAVE_POSIX_MEMALIGN', mandatory=False)
++        conf.check_cc(function_name='posix_memalign', header_name='stdlib.h', cflags='-D_XOPEN_SOURCE=600 -D_NETBSD_SOURCE', define_name='HAVE_POSIX_MEMALIGN', mandatory=False)
+     conf.check(function_name='localtime_r', header_name='time.h', define_name='HAVE_LOCALTIME_R',mandatory=False)
+ 
+     conf.write_config_header('libpbd-config.h', remove=False)
+@@ -143,6 +143,9 @@ def build(bld):
+     obj.install_path = bld.env['LIBDIR']
+     obj.defines     += [ 'PACKAGE="' + I18N_PACKAGE + '"' ]
+ 
++    if sys.platform.startswith('netbsd'):
++        obj.linkflags = '-lexecinfo'
++
+     if bld.env['build_target'] == 'x86_64':
+         obj.defines += [ 'USE_X86_64_ASM' ]
+     if bld.env['build_target'] == 'mingw':
Index: pkgsrc/audio/ardour/patches/patch-libs_vfork_wscript
diff -u /dev/null pkgsrc/audio/ardour/patches/patch-libs_vfork_wscript:1.1
--- /dev/null   Mon Jun 20 08:17:43 2016
+++ pkgsrc/audio/ardour/patches/patch-libs_vfork_wscript        Mon Jun 20 08:17:43 2016
@@ -0,0 +1,13 @@
+$NetBSD: patch-libs_vfork_wscript,v 1.1 2016/06/20 08:17:43 kamil Exp $
+
+There are problems with C++11 heavy code on NetBSD when building against
+_POSIX_SOURCE and _XOPEN_SOURCE. Fix it by using _NETBSD_SOURCE.
+
+--- libs/vfork/wscript.orig    2016-02-19 01:28:56.000000000 +0000
++++ libs/vfork/wscript
+@@ -25,4 +25,5 @@ def build(bld):
+     obj.defines = [
+             '_POSIX_SOURCE',
+             '_XOPEN_SOURCE=500',
++            '_NETBSD_SOURCE',
+     ]
Index: pkgsrc/audio/ardour/patches/patch-wscript
diff -u /dev/null pkgsrc/audio/ardour/patches/patch-wscript:1.1
--- /dev/null   Mon Jun 20 08:17:43 2016
+++ pkgsrc/audio/ardour/patches/patch-wscript   Mon Jun 20 08:17:43 2016
@@ -0,0 +1,45 @@
+$NetBSD: patch-wscript,v 1.1 2016/06/20 08:17:43 kamil Exp $
+
+ALSA and PortAudio are supported on NetBSD.
+
+--- wscript.orig       2016-02-19 01:28:56.000000000 +0000
++++ wscript
+@@ -924,7 +924,7 @@ def configure(conf):
+                   okmsg = 'ok',
+                   errmsg = 'too old\nPlease install boost version 1.39 or higher.')
+ 
+-    if re.search ("linux", sys.platform) != None and Options.options.dist_target != 'mingw':
++    if (re.search ("linux", sys.platform) != None or sys.platform.startswith('netbsd')) and Options.options.dist_target != 'mingw':
+         autowaf.check_pkg(conf, 'alsa', uselib_store='ALSA')
+ 
+     autowaf.check_pkg(conf, 'glib-2.0', uselib_store='GLIB', atleast_version='2.28', mandatory=True)
+@@ -1093,16 +1093,16 @@ int main () { return 0; }
+     conf.env['BUILD_PABACKEND'] = any('portaudio' in b for b in backends)
+     conf.env['BUILD_CORECRAPPITA'] = any('coreaudio' in b for b in backends)
+ 
+-    if re.search ("linux", sys.platform) != None and Options.options.dist_target != 'mingw' and conf.env['BUILD_PABACKEND']:
+-        print("PortAudio Backend is not for Linux")
++    if (re.search ("linux", sys.platform) != None or sys.platform.startswith('netbsd')) and Options.options.dist_target != 'mingw' and conf.env['BUILD_PABACKEND']:
++        print("PortAudio Backend is not for Linux/NetBSD")
+         sys.exit(1)
+ 
+     if sys.platform != 'darwin' and conf.env['BUILD_CORECRAPPITA']:
+         print("Coreaudio backend is only available for OSX")
+         sys.exit(1)
+ 
+-    if re.search ("linux", sys.platform) == None and conf.env['BUILD_ALSABACKEND']:
+-        print("ALSA Backend is only available on Linux")
++    if re.search ("linux", sys.platform) == None and not sys.platform.startswith('netbsd') and conf.env['BUILD_ALSABACKEND']:
++        print("ALSA Backend is only available on Linux/NetBSD")
+         sys.exit(1)
+ 
+     set_compiler_flags (conf, Options.options)
+@@ -1241,7 +1241,7 @@ def build(bld):
+     for i in children:
+         bld.recurse(i)
+ 
+-    bld.install_files (bld.env['CONFDIR'], 'system_config')
++    bld.install_files (os.environ['EGDIR'], 'system_config')
+ 
+     if bld.env['RUN_TESTS']:
+         bld.add_post_fun(test)



Home | Main Index | Thread Index | Old Index