pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/games/LostPixels
Module Name: pkgsrc
Committed By: wiz
Date: Tue Aug 19 10:34:32 UTC 2025
Modified Files:
pkgsrc/games/LostPixels: Makefile distinfo
Added Files:
pkgsrc/games/LostPixels/patches: patch-CMakeLists.txt
Log Message:
LostPixels: fix build with cmake 4
To generate a diff of this commit:
cvs rdiff -u -r1.19 -r1.20 pkgsrc/games/LostPixels/Makefile
cvs rdiff -u -r1.4 -r1.5 pkgsrc/games/LostPixels/distinfo
cvs rdiff -u -r0 -r1.1 pkgsrc/games/LostPixels/patches/patch-CMakeLists.txt
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/games/LostPixels/Makefile
diff -u pkgsrc/games/LostPixels/Makefile:1.19 pkgsrc/games/LostPixels/Makefile:1.20
--- pkgsrc/games/LostPixels/Makefile:1.19 Mon Jan 6 21:49:08 2025
+++ pkgsrc/games/LostPixels/Makefile Tue Aug 19 10:34:32 2025
@@ -1,5 +1,4 @@
-# $NetBSD: Makefile,v 1.19 2025/01/06 21:49:08 ktnb Exp $
-#
+# $NetBSD: Makefile,v 1.20 2025/08/19 10:34:32 wiz Exp $
DISTNAME= LostPixels-0.5.3-source
PKGNAME= ${DISTNAME:S/-source//}
@@ -12,14 +11,16 @@ MAINTAINER= pkgsrc-users%NetBSD.org@localhost
COMMENT= Blinken Sisters - Hunt for the Lost Pixels (80s-style Jump'n'Run)
WRKSRC= ${WRKDIR}/blinkensisters/lostpixels/game/software
-USE_CMAKE= yes
USE_LANGUAGES= c c++
ALL_ENV+= SDLDIR=${BUILDLINK_PREFIX.SDL}/include/SDL
+CMAKE_CONFIGURE_ARGS+= -DCMAKE_POLICY_VERSION_MINIMUM=3.5
+
# Fails with C++14 default language.
FORCE_CXX_STD= c++03
+.include "../../devel/cmake/build.mk"
.include "../../audio/SDL_mixer/buildlink3.mk"
.include "../../audio/libvorbis/buildlink3.mk"
.include "../../devel/SDL/buildlink3.mk"
Index: pkgsrc/games/LostPixels/distinfo
diff -u pkgsrc/games/LostPixels/distinfo:1.4 pkgsrc/games/LostPixels/distinfo:1.5
--- pkgsrc/games/LostPixels/distinfo:1.4 Tue Oct 26 10:43:44 2021
+++ pkgsrc/games/LostPixels/distinfo Tue Aug 19 10:34:32 2025
@@ -1,5 +1,6 @@
-$NetBSD: distinfo,v 1.4 2021/10/26 10:43:44 nia Exp $
+$NetBSD: distinfo,v 1.5 2025/08/19 10:34:32 wiz Exp $
BLAKE2s (LostPixels-0.5.3-source.tar.gz) = 8505495ef5b3c503f64e1cd6e22d872cad28f54ea8faed56d6cd145d3530982e
SHA512 (LostPixels-0.5.3-source.tar.gz) = f45a4573d4bdc30996bbeec52c39dc54b2201f6348db404b7de583a956a313a288813d0e3698c877b5058529aa8c70995d3c352fe5178f21f1d834e834f328a5
Size (LostPixels-0.5.3-source.tar.gz) = 85366669 bytes
+SHA1 (patch-CMakeLists.txt) = 167d2ec94725818ab44d46468833eddc76f77bee
Added files:
Index: pkgsrc/games/LostPixels/patches/patch-CMakeLists.txt
diff -u /dev/null pkgsrc/games/LostPixels/patches/patch-CMakeLists.txt:1.1
--- /dev/null Tue Aug 19 10:34:32 2025
+++ pkgsrc/games/LostPixels/patches/patch-CMakeLists.txt Tue Aug 19 10:34:32 2025
@@ -0,0 +1,22 @@
+$NetBSD: patch-CMakeLists.txt,v 1.1 2025/08/19 10:34:32 wiz Exp $
+
+Fix build with cmake 4.
+
+--- CMakeLists.txt.orig 2008-12-06 20:51:54.000000000 +0000
++++ CMakeLists.txt
+@@ -158,13 +158,11 @@ IF(THEORA_FOUND)
+ TARGET_LINK_LIBRARIES(LostPixels ${THEORA_LIBRARY})
+ ENDIF(THEORA_FOUND)
+
+-GET_TARGET_PROPERTY(BMFCOMPRESS_EXE bmfcompress LOCATION)
+-
+ # Does not work with cmake 2.4.2: /bin/sh: ./bmfcompress: No such file or directory
+ # Dont know why the correct Path is not used. Require at least 2.4.3...
+ ADD_CUSTOM_COMMAND(OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/basedata.bmf
+- COMMAND ${BMFCOMPRESS_EXE} META config ${CMAKE_CURRENT_BINARY_DIR}/basedata.bmf
+- DEPENDS ${BMFCOMPRESS_EXE}
++ COMMAND bmfcompress META config ${CMAKE_CURRENT_BINARY_DIR}/basedata.bmf
++ DEPENDS bmfcompress
+ WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}/BASEDATA
+ COMMENT "Building basedata.bmf"
+ )
Home |
Main Index |
Thread Index |
Old Index