Replace local patch with improved and upstreamed one

This commit is contained in:
kn 2022-07-09 13:41:39 +00:00
parent d5e98f7c35
commit 4d84cc5bd0
3 changed files with 8 additions and 24 deletions

View File

@ -7,6 +7,12 @@ GH_PROJECT = Bonzomatic
GH_TAGNAME = 2022-07-08
PKGNAME = bonzomatic-${GH_TAGNAME:S/-//g}
MASTER_SITES0 = https://github.com/Gargaj/Bonzomatic/pull/
# merged into master, remove on next release
PATCHFILES += bonzomatic-no-alsa-{}168.patch:0
PATCH_DIST_STRIP = -p1
CATEGORIES = graphics
MAINTAINER = Klemens Nanni <kn@openbsd.org>

View File

@ -1,2 +1,4 @@
SHA256 (Bonzomatic-2022-07-08.tar.gz) = A5q3zSP4s60JWYE8/4EDBUQRJf2fyaXigzrHXAQtAKQ=
SHA256 (bonzomatic-no-alsa-168.patch) = JTPNeB8sqFbCPMMA7vpfMgkbvWPzAzdlv18sfhrFCr4=
SIZE (Bonzomatic-2022-07-08.tar.gz) = 7666174
SIZE (bonzomatic-no-alsa-168.patch) = 2154

View File

@ -1,24 +0,0 @@
Use dummy MIDI implementation instead of ALSA specific one.
Do not link against asound (ALSA).
Index: CMakeLists.txt
--- CMakeLists.txt.orig
+++ CMakeLists.txt
@@ -98,7 +98,7 @@ else ()
set(BZC_PROJECT_LIBS ${BZC_PROJECT_LIBS} Threads::Threads)
endif ()
- set(PLATFORM_LIBS GL asound fontconfig)
+ set(PLATFORM_LIBS GL fontconfig)
endif ()
##############################################################################
@@ -332,7 +332,7 @@ elseif (UNIX)
set(BZC_PLATFORM_SRCS
${CMAKE_SOURCE_DIR}/src/platform_glfw/Renderer.cpp
${CMAKE_SOURCE_DIR}/src/platform_common/FFT.cpp
- ${CMAKE_SOURCE_DIR}/src/platform_x11/MIDI.cpp
+ ${CMAKE_SOURCE_DIR}/src/platform_common/MIDIDummy.cpp
${CMAKE_SOURCE_DIR}/src/platform_x11/Misc.cpp
${CMAKE_SOURCE_DIR}/src/platform_x11/SetupDialog.cpp
${CMAKE_SOURCE_DIR}/src/platform_x11/Timer.cpp