pkgsrc-WIP-changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
din: enbale coreaudio on Darwin
Module Name: pkgsrc-wip
Committed By: Manuel Kuklinski <mk%asdfghasdfgh.de@localhost>
Pushed By: mk
Date: Mon Nov 6 19:04:33 2023 +0000
Changeset: 89b9626912d582f6ecc4d2bd4a0a3bd8a33f40e7
Modified Files:
din/Makefile
din/options.mk
sdl12-compat/Makefile
Log Message:
din: enbale coreaudio on Darwin
To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=89b9626912d582f6ecc4d2bd4a0a3bd8a33f40e7
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
diffstat:
din/Makefile | 2 +-
din/options.mk | 10 +++++++++-
sdl12-compat/Makefile | 4 ++--
3 files changed, 12 insertions(+), 4 deletions(-)
diffs:
diff --git a/din/Makefile b/din/Makefile
index 7175b79a3a..138cd40030 100644
--- a/din/Makefile
+++ b/din/Makefile
@@ -27,7 +27,7 @@ LIBS+= -ltcl -lSDL -lGl -lpthread
.include "../../devel/boost-libs/buildlink3.mk"
.include "../../lang/tcl/buildlink3.mk"
-.include "../../devel/SDL/buildlink3.mk"
+.include "../../wip/sdl12-compat/buildlink3.mk"
.include "../../graphics/MesaLib/buildlink3.mk"
.include "../../graphics/hicolor-icon-theme/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
diff --git a/din/options.mk b/din/options.mk
index 0c6be13fd7..b4bd64c295 100644
--- a/din/options.mk
+++ b/din/options.mk
@@ -2,7 +2,7 @@
PKG_OPTIONS_VAR= PKG_OPTIONS.din
PKG_OPTIONS_OPTIONAL_GROUPS= backend
-PKG_OPTIONS_GROUP.backend= alsa jack
+PKG_OPTIONS_GROUP.backend= alsa jack coreaudio
PKG_SUGGESTED_OPTIONS= jack
.include "../../mk/bsd.options.mk"
@@ -24,3 +24,11 @@ CXXFLAGS+= -D__UNIX_JACK__
LIBS+= -ljack
.include "../../audio/jack/buildlink3.mk"
.endif
+
+###
+### Support CoreAudio
+###
+.if !empty(PKG_OPTIONS:Mcoreaudio)
+CXXFLAGS+= -D__MACOSX_CORE__
+LIBS+= -framework CoreMIDI -framework CoreAudio -framework CoreFoundation
+.endif
diff --git a/sdl12-compat/Makefile b/sdl12-compat/Makefile
index a380c12f36..9a11c459b7 100644
--- a/sdl12-compat/Makefile
+++ b/sdl12-compat/Makefile
@@ -17,8 +17,8 @@ CONFLICTS+= SDL-[0-9]*
PKGCONFIG_OVERRIDE+= sdl12_compat.pc.in
-post-install:
- ${RM} ${DESTDIR}${PREFIX}/include/SDL/*.orig
+#post-install:
+# ${RM} ${DESTDIR}${PREFIX}/include/SDL/*.orig
.include "../../devel/SDL2/buildlink3.mk"
.include "../../mk/bsd.prefs.mk"
Home |
Main Index |
Thread Index |
Old Index