1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-20 00:21:35 +00:00

games/ivan: update to 0.59

This commit is contained in:
Dmitry Marakasov 2021-12-24 15:52:56 +03:00
parent 3c0b7495a7
commit f053f19c55
3 changed files with 4 additions and 28 deletions

View File

@ -1,5 +1,5 @@
PORTNAME= ivan
PORTVERSION= 0.58
PORTVERSION= 0.59
CATEGORIES= games
MAINTAINER= amdmi3@FreeBSD.org
@ -17,9 +17,6 @@ USE_GITHUB= yes
GH_ACCOUNT= Attnam
GH_TAGNAME= v${PORTVERSION:C/\.//}
CFLAGS+= -DNOSOUND=1
CXXFLAGS+= -DNOSOUND=1
PLIST_FILES= bin/ivan
PORTSCOUT= skipv:0.301,0.310,0.311,0.401,0.410,0.420,0.430

View File

@ -1,3 +1,3 @@
TIMESTAMP = 1622830286
SHA256 (Attnam-ivan-0.58-v058_GH0.tar.gz) = ee2e7a4ec26f8a08fceddebbcbb03af1f42ec95be69f54a84b72e5ea4595cb59
SIZE (Attnam-ivan-0.58-v058_GH0.tar.gz) = 30393481
TIMESTAMP = 1640347591
SHA256 (Attnam-ivan-0.59-v059_GH0.tar.gz) = 993e7e2254f4fa3ec732f1c424a250c19ebd49c5e08755a6ab4badb60ee4a4e6
SIZE (Attnam-ivan-0.59-v059_GH0.tar.gz) = 30881798

View File

@ -1,21 +0,0 @@
--- audio/CMakeLists.txt.orig 2020-03-16 02:04:05 UTC
+++ audio/CMakeLists.txt
@@ -10,9 +10,10 @@ if(WIN32)
endif()
# Add RtMidi dependencies on Linux
-if(UNIX AND NOT APPLE)
+if(CMAKE_SYSTEM_NAME MATCHES "Linux")
add_definitions(-D__LINUX_ALSA__)
find_package(ALSA)
+ set(RTMIDI_INCLUDES ${ALSA_INCLUDE_DIRS})
set(RTMIDI_DEPENDENCIES ${ALSA_LIBRARY} pthread)
endif()
@@ -30,5 +31,5 @@ target_link_libraries(FeAudio ${RTMIDI_DEPENDENCIES})
find_package(SDL2 REQUIRED)
-target_include_directories(FeAudio SYSTEM PUBLIC ${SDL2_mixer_INCLUDE_DIR})
+target_include_directories(FeAudio SYSTEM PUBLIC ${SDL2_mixer_INCLUDE_DIR} ${RTMIDI_INCLUDES})
target_link_libraries(FeAudio ${SDL2_mixer_LIBRARY})