initial incomplete revision
authorPHO <pho@cielonegro.org>
Wed, 27 Jan 2010 05:44:47 +0000 (14:44 +0900)
committerPHO <pho@cielonegro.org>
Wed, 27 Jan 2010 05:44:47 +0000 (14:44 +0900)
DESCR [new file with mode: 0644]
Makefile [new file with mode: 0644]
PLIST [new file with mode: 0644]
distinfo [new file with mode: 0644]
patches/patch-aa [new file with mode: 0644]
patches/patch-ab [new file with mode: 0644]
patches/patch-ac [new file with mode: 0644]

diff --git a/DESCR b/DESCR
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/Makefile b/Makefile
new file mode 100644 (file)
index 0000000..1af92dc
--- /dev/null
+++ b/Makefile
@@ -0,0 +1,61 @@
+# $NetBSD$
+#
+
+DISTNAME=      ardour-2.8.6
+CATEGORIES=    audio
+
+EXTRACT_SUFX= .tar.bz2
+
+MAINTAINER=    pho@cielonegro.org
+COMMENT=       Digital Audio Workstation
+LICENSE=       gnu-gpl-v2
+
+FETCH_MESSAGE+=        " The file ${DISTNAME}${EXTRACT_SUFX} containing ${PKGNAME}"
+FETCH_MESSAGE+=        ""
+FETCH_MESSAGE+=        " must be fetched into:"
+FETCH_MESSAGE+=        "       ${DISTDIR}/${DISTNAME}${EXTRACT_SUFX}"
+FETCH_MESSAGE+=        " from:"
+FETCH_MESSAGE+=        "       http://ardour.org/download"
+FETCH_MESSAGE+=        ""
+FETCH_MESSAGE+= " Choose \`source code for all platforms' then click \`Continue'."
+
+NO_CONFIGURE=  yes
+USE_LIBTOOL=   yes
+USE_LANGUAGES= c c++
+USE_TOOLS+=            pkg-config
+
+PKG_DESTDIR_SUPPORT= user-destdir
+
+SCONS_ENV=     ${CONFIGURE_ENV} ${MAKE_ENV}
+SCONS_ARGS=    PREFIX=${PREFIX:Q}
+
+.if defined(DESTDIR)
+SCONS_ARGS+=   DESTDIR=${DESTDIR:Q}
+.endif
+
+do-build:
+       ${RUN} cd ${WRKSRC} && \
+               ${SETENV} ${SCONS_ENV} scons ${SCONS_ARGS}
+
+do-install:
+       ${RUN} cd ${WRKSRC} && \
+               ${SETENV} ${SCONS_ENV} scons ${SCONS_ARGS} install
+
+BUILD_DEPENDS+=        scons>=0.96:../../devel/scons
+.include "../../audio/alsa-lib/buildlink3.mk"
+.include "../../audio/jack/buildlink3.mk"
+.include "../../wip/liblo/buildlink3.mk"
+.include "../../audio/libsamplerate/buildlink3.mk"
+.include "../../audio/libsndfile/buildlink3.mk"
+.include "../../devel/boost-headers/buildlink3.mk"
+.include "../../devel/gettext-lib/buildlink3.mk"
+.include "../../devel/glib2/buildlink3.mk"
+.include "../../graphics/libgnomecanvas/buildlink3.mk"
+.include "../../math/fftw/buildlink3.mk"
+.include "../../math/fftwf/buildlink3.mk"
+.include "../../textproc/liblrdf/buildlink3.mk"
+.include "../../textproc/libxml2/buildlink3.mk"
+.include "../../textproc/raptor/buildlink3.mk"
+.include "../../x11/gtk2/buildlink3.mk"
+.include "../../mk/dlopen.buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/PLIST b/PLIST
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/distinfo b/distinfo
new file mode 100644 (file)
index 0000000..bb2fa0c
--- /dev/null
+++ b/distinfo
@@ -0,0 +1,8 @@
+$NetBSD$
+
+SHA1 (ardour-2.8.6.tar.bz2) = bf85e789868b5a5928dcada0623b735b582e9713
+RMD160 (ardour-2.8.6.tar.bz2) = 5bd173357603e2d01e2b6353100daee5bee71ee1
+Size (ardour-2.8.6.tar.bz2) = 3246297 bytes
+SHA1 (patch-aa) = d3cb48f54bcff31cc2640b043451e916cb101d3d
+SHA1 (patch-ab) = caab616cc4c69feddc8138fcb25dd97c6634e95e
+SHA1 (patch-ac) = 1263127dd9747ce19bb8cc176c51356eccd17ca5
diff --git a/patches/patch-aa b/patches/patch-aa
new file mode 100644 (file)
index 0000000..c5a2789
--- /dev/null
@@ -0,0 +1,9 @@
+$NetBSD$
+
+--- libs/pbd/fpu.cc.orig       2010-01-27 04:49:19.000000000 +0000
++++ libs/pbd/fpu.cc
+@@ -1,4 +1,3 @@
+-#define _XOPEN_SOURCE 600
+ #include <cstdlib>
+ #include <stdint.h>
+ #include <cstring>
diff --git a/patches/patch-ab b/patches/patch-ab
new file mode 100644 (file)
index 0000000..caf49ee
--- /dev/null
@@ -0,0 +1,16 @@
+$NetBSD$
+
+--- libs/pbd/mountpoint.cc.orig        2010-01-27 05:09:59.000000000 +0000
++++ libs/pbd/mountpoint.cc
+@@ -99,7 +99,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;
diff --git a/patches/patch-ac b/patches/patch-ac
new file mode 100644 (file)
index 0000000..4602bad
--- /dev/null
@@ -0,0 +1,14 @@
+$NetBSD$
+
+--- libs/ardour/session_state.cc.orig  2010-01-27 05:36:58.000000000 +0000
++++ libs/ardour/session_state.cc
+@@ -17,6 +17,9 @@
+     
+ */
++#define __STDC_FORMAT_MACROS
++#include <inttypes.h>
++
+ #include <algorithm>
+ #include <fstream>
+ #include <string>