Update to bonzomatic 2021.03.07
Add config option to skip setup dialog
This commit is contained in:
parent
29d6a53c4b
commit
498bf7bbd8
@ -1,4 +1,4 @@
|
||||
# $OpenBSD: Makefile,v 1.4 2021/02/04 17:01:26 kn Exp $
|
||||
# $OpenBSD: Makefile,v 1.5 2021/03/08 21:55:36 kn Exp $
|
||||
|
||||
ONLY_FOR_ARCHS = amd64
|
||||
|
||||
@ -6,7 +6,7 @@ COMMENT = tool for live-coding pixel shaders
|
||||
|
||||
GH_ACCOUNT = Gargaj
|
||||
GH_PROJECT = Bonzomatic
|
||||
GH_TAGNAME = 2021-01-29
|
||||
GH_TAGNAME = 2021-03-07
|
||||
PKGNAME = bonzomatic-${GH_TAGNAME:S/-//g}
|
||||
|
||||
CATEGORIES = graphics
|
||||
|
@ -1,2 +1,2 @@
|
||||
SHA256 (Bonzomatic-2021-01-29.tar.gz) = qmxVBjbMGRUbAjmPe3gYDzQwoj6hCTL1vHOJ4JL1LOA=
|
||||
SIZE (Bonzomatic-2021-01-29.tar.gz) = 2721898
|
||||
SHA256 (Bonzomatic-2021-03-07.tar.gz) = 5nPQCsv54AtlM4UE63sDpSXYMhVbXOf+psPztMHtspQ=
|
||||
SIZE (Bonzomatic-2021-03-07.tar.gz) = 2721345
|
||||
|
@ -1,4 +1,4 @@
|
||||
$OpenBSD: patch-CMakeLists_txt,v 1.1 2021/02/04 17:01:26 kn Exp $
|
||||
$OpenBSD: patch-CMakeLists_txt,v 1.2 2021/03/08 21:55:36 kn Exp $
|
||||
|
||||
Use dummy MIDI implementation instead of ALSA specific one.
|
||||
Do not link against asound (ALSA).
|
||||
@ -6,7 +6,16 @@ Do not link against asound (ALSA).
|
||||
Index: CMakeLists.txt
|
||||
--- CMakeLists.txt.orig
|
||||
+++ CMakeLists.txt
|
||||
@@ -346,7 +346,7 @@ elseif (UNIX)
|
||||
@@ -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
|
||||
@ -15,12 +24,3 @@ Index: CMakeLists.txt
|
||||
${CMAKE_SOURCE_DIR}/src/platform_x11/Misc.cpp
|
||||
${CMAKE_SOURCE_DIR}/src/platform_x11/SetupDialog.cpp
|
||||
${CMAKE_SOURCE_DIR}/src/platform_x11/Timer.cpp
|
||||
@@ -443,7 +443,7 @@ if (APPLE)
|
||||
mark_as_advanced(COCOA_FRAMEWORK OPENGL_FRAMEWORK CARBON_FRAMEWORK COREAUDIO_FRAMEWORK AVFOUNDATION_FRAMEWORK)
|
||||
set(PLATFORM_LIBS ${COCOA_FRAMEWORK} ${OPENGL_FRAMEWORK} ${CARBON_FRAMEWORK} ${COREAUDIO_FRAMEWORK} ${AVFOUNDATION_FRAMEWORK})
|
||||
elseif (UNIX)
|
||||
- set(PLATFORM_LIBS GL asound fontconfig)
|
||||
+ set(PLATFORM_LIBS GL fontconfig)
|
||||
elseif (WIN32)
|
||||
if (${BONZOMATIC_WINDOWS_FLAVOR} MATCHES "DX11")
|
||||
set(PLATFORM_LIBS d3d11 d3dcompiler dxguid DXGI winmm shlwapi)
|
||||
|
15
graphics/bonzomatic/patches/patch-src_platform_x11_Misc_cpp
Normal file
15
graphics/bonzomatic/patches/patch-src_platform_x11_Misc_cpp
Normal file
@ -0,0 +1,15 @@
|
||||
$OpenBSD: patch-src_platform_x11_Misc_cpp,v 1.3 2021/03/08 21:55:36 kn Exp $
|
||||
|
||||
setlocale(3) needs <locale.h>.
|
||||
|
||||
Index: src/platform_x11/Misc.cpp
|
||||
--- src/platform_x11/Misc.cpp.orig
|
||||
+++ src/platform_x11/Misc.cpp
|
||||
@@ -7,6 +7,7 @@
|
||||
#include <stdlib.h>
|
||||
#include <unistd.h>
|
||||
#include <limits.h>
|
||||
+#include <locale.h>
|
||||
|
||||
#include <fontconfig/fontconfig.h>
|
||||
|
Loading…
Reference in New Issue
Block a user