pkgsrc-WIP-changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
ardour: Use waf and include part of missing dependencies
Module Name: pkgsrc-wip
Committed By: Kamil Rytarowski <n54%gmx.com@localhost>
Pushed By: kamil
Date: Fri Dec 4 04:41:13 2015 +0100
Changeset: 6ec78be79e9f2d4454aebb28bd886b27ef2274ad
Modified Files:
ardour/Makefile
Log Message:
ardour: Use waf and include part of missing dependencies
To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=6ec78be79e9f2d4454aebb28bd886b27ef2274ad
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
diffstat:
ardour/Makefile | 40 ++++++++++++++++++++++++++++++++++++++++
1 file changed, 40 insertions(+)
diffs:
diff --git a/ardour/Makefile b/ardour/Makefile
index e7eb08e..d6ec9df 100644
--- a/ardour/Makefile
+++ b/ardour/Makefile
@@ -21,4 +21,44 @@ PKGCONFIG_OVERRIDE+= libs/pbd/libpbd.pc.in
# 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
+.include "../../mk/bsd.prefs.mk"
+
+.if ${OPSYS} != "Linux"
+BUILDLINK_TRANSFORM+= rm:-ldl
+.endif
+
+post-extract:
+ ${SED} -e 's!REVISION!${PKGVERSION_NOREV}!' \
+ ${FILESDIR}/revision.cc > ${WRKSRC}/libs/ardour/revision.cc
+
+#./waf configure --strict --prefix=/usr --configdir=/etc --libjack=weak --ptformat --with-backends=jack,alsa,dummy
+do-configure:
+ ${RUN} cd ${WRKSRC} && \
+ ${SETENV} ${CONFIGURE_ENV} ${PYTHONBIN} ./waf configure \
+ --prefix=${PREFIX} \
+ --configdir=${PKG_SYSCONFDIR} \
+ --destdir=${DESTDIR} \
+ --mandir=${PKGMANDIR} \
+ --strict \
+ --with-backends=dummy
+
+# ./waf
+# ./waf i18n
+do-build:
+ ${RUN} cd ${WRKSRC} && \
+ ${SETENV} ${MAKE_ENV} ${PYTHONBIN} ./waf build
+
+do-install:
+ ${RUN} cd ${WRKSRC} && \
+ ${SETENV} ${INSTALL_ENV} ${PYTHONBIN} ./waf install
+
+.include "../../audio/taglib/buildlink3.mk"
+.include "../../wip/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"
Home |
Main Index |
Thread Index |
Old Index