pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/audio/libwildmidi libwildmidi: Resolve conflicts on sy...
details: https://anonhg.NetBSD.org/pkgsrc/rev/1428c9e0395c
branches: trunk
changeset: 397907:1428c9e0395c
user: nia <nia%pkgsrc.org@localhost>
date: Sat Jul 06 21:05:25 2019 +0000
description:
libwildmidi: Resolve conflicts on systems with OpenAL/ALSA installed.
diffstat:
audio/libwildmidi/Makefile | 17 +++++++++++++++--
1 files changed, 15 insertions(+), 2 deletions(-)
diffs (32 lines):
diff -r 0578cca806be -r 1428c9e0395c audio/libwildmidi/Makefile
--- a/audio/libwildmidi/Makefile Sat Jul 06 19:58:00 2019 +0000
+++ b/audio/libwildmidi/Makefile Sat Jul 06 21:05:25 2019 +0000
@@ -1,7 +1,8 @@
-# $NetBSD: Makefile,v 1.5 2016/09/15 20:21:37 wiedi Exp $
+# $NetBSD: Makefile,v 1.6 2019/07/06 21:05:25 nia Exp $
DISTNAME= wildmidi-0.4.0
PKGNAME= lib${DISTNAME}
+PKGREVISION= 1
CATEGORIES= audio
MASTER_SITES= https://github.com/Mindwerks/wildmidi/archive/
@@ -21,5 +22,17 @@
SUBST_STAGE.man= post-extract
SUBST_MESSAGE.man= Fixing man page installation path.
-.include "../../mk/oss.buildlink3.mk"
+.include "../../mk/bsd.prefs.mk"
+
+CMAKE_ARGS+= -DWANT_OPENAL=OFF
+.if ${OPSYS} == "Linux"
+CMAKE_ARGS+= -DWANT_ALSA=ON
+. include "../../audio/alsa-lib/buildlink3.mk"
+.else
+. include "../../mk/oss.buildlink3.mk"
+. if ${OSS_TYPE} != "none"
+CMAKE_ARGS+= -DWANT_OSS=ON
+. endif
+.endif
+
.include "../../mk/bsd.pkg.mk"
Home |
Main Index |
Thread Index |
Old Index