pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/emulators/yabause



Module Name:    pkgsrc
Committed By:   wiz
Date:           Tue Aug 19 10:24:00 UTC 2025

Modified Files:
        pkgsrc/emulators/yabause: Makefile distinfo
Added Files:
        pkgsrc/emulators/yabause/patches: patch-CMakeLists.txt
            patch-src_CMakeLists.txt patch-src_c68k_CMakeLists.txt
            patch-src_musashi_CMakeLists.txt

Log Message:
yabause: fix build with cmake 4

convert to cmake/build.mk


To generate a diff of this commit:
cvs rdiff -u -r1.98 -r1.99 pkgsrc/emulators/yabause/Makefile
cvs rdiff -u -r1.14 -r1.15 pkgsrc/emulators/yabause/distinfo
cvs rdiff -u -r0 -r1.3 pkgsrc/emulators/yabause/patches/patch-CMakeLists.txt \
    pkgsrc/emulators/yabause/patches/patch-src_CMakeLists.txt
cvs rdiff -u -r0 -r1.1 \
    pkgsrc/emulators/yabause/patches/patch-src_c68k_CMakeLists.txt \
    pkgsrc/emulators/yabause/patches/patch-src_musashi_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/emulators/yabause/Makefile
diff -u pkgsrc/emulators/yabause/Makefile:1.98 pkgsrc/emulators/yabause/Makefile:1.99
--- pkgsrc/emulators/yabause/Makefile:1.98      Sun May 18 10:35:36 2025
+++ pkgsrc/emulators/yabause/Makefile   Tue Aug 19 10:24:00 2025
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.98 2025/05/18 10:35:36 zafer Exp $
+# $NetBSD: Makefile,v 1.99 2025/08/19 10:24:00 wiz Exp $
 
 DISTNAME=      yabause-0.9.15
 PKGREVISION=   46
@@ -10,7 +10,6 @@ HOMEPAGE=     http://yabause.org/
 COMMENT=       Sega Saturn system emulator
 LICENSE=       gnu-gpl-v2
 
-USE_CMAKE=     yes
 USE_TOOLS+=    pkg-config
 USE_LANGUAGES+=        c c++
 
@@ -18,6 +17,7 @@ CONFIGURE_ENV+=       PKGMANDIR=${PKGMANDIR:Q}
 
 .include "options.mk"
 
+.include "../../devel/cmake/build.mk"
 .include "../../sysutils/desktop-file-utils/desktopdb.mk"
 .include "../../mk/pthread.buildlink3.mk"
 .include "../../mk/bsd.pkg.mk"

Index: pkgsrc/emulators/yabause/distinfo
diff -u pkgsrc/emulators/yabause/distinfo:1.14 pkgsrc/emulators/yabause/distinfo:1.15
--- pkgsrc/emulators/yabause/distinfo:1.14      Tue Oct 26 10:24:17 2021
+++ pkgsrc/emulators/yabause/distinfo   Tue Aug 19 10:24:00 2025
@@ -1,8 +1,12 @@
-$NetBSD: distinfo,v 1.14 2021/10/26 10:24:17 nia Exp $
+$NetBSD: distinfo,v 1.15 2025/08/19 10:24:00 wiz Exp $
 
 BLAKE2s (yabause-0.9.15.tar.gz) = 1cb2669571b5115f1bdf6ebe8549d1fb105f7e891ff7cf18b729013824c8b0e1
 SHA512 (yabause-0.9.15.tar.gz) = f7e992e3326e68aca1c0ce6dd0d382eea00cd3e47492c045d17526909356198448c533b00568af3ab311307e6b3d47a28708a8c0ff74e5b6c98d62da8c01a3c7
 Size (yabause-0.9.15.tar.gz) = 2481650 bytes
+SHA1 (patch-CMakeLists.txt) = 62011269b69f0ccf6a53d40e4779b4ab0aa9b807
+SHA1 (patch-src_CMakeLists.txt) = 157ba84fb0c0925222886d7478074cb5c70f9414
+SHA1 (patch-src_c68k_CMakeLists.txt) = d067bf51565509aaba85899eab703426b1629830
+SHA1 (patch-src_musashi_CMakeLists.txt) = 10db0e33125d939ddf01536ea18230537a18c7e0
 SHA1 (patch-src_qt_ui_UICheatRaw.cpp) = 1656ffbf04f3c92f7ac8b065dc6db4902c683aad
 SHA1 (patch-src_qt_ui_UICheatRaw.h) = e93ddcbff583c53e06bec1a1d9d33b7d1b638df8
 SHA1 (patch-src_qt_ui_UICheats.cpp) = 48df9bd8e06d3c1d0d5752d0be4dc5c7f9d9e740

Added files:

Index: pkgsrc/emulators/yabause/patches/patch-CMakeLists.txt
diff -u /dev/null pkgsrc/emulators/yabause/patches/patch-CMakeLists.txt:1.3
--- /dev/null   Tue Aug 19 10:24:00 2025
+++ pkgsrc/emulators/yabause/patches/patch-CMakeLists.txt       Tue Aug 19 10:24:00 2025
@@ -0,0 +1,14 @@
+$NetBSD: patch-CMakeLists.txt,v 1.3 2025/08/19 10:24:00 wiz Exp $
+
+Fix build with cmake 4.
+
+--- CMakeLists.txt.orig        2025-08-19 10:20:59.542239494 +0000
++++ CMakeLists.txt
+@@ -1,6 +1,6 @@
+ project(yabause)
+ 
+-cmake_minimum_required(VERSION 2.8)
++cmake_minimum_required(VERSION 3.5)
+ 
+ set(YAB_PACKAGE yabause)
+ set(YAB_VERSION_MAJOR 0)
Index: pkgsrc/emulators/yabause/patches/patch-src_CMakeLists.txt
diff -u /dev/null pkgsrc/emulators/yabause/patches/patch-src_CMakeLists.txt:1.3
--- /dev/null   Tue Aug 19 10:24:00 2025
+++ pkgsrc/emulators/yabause/patches/patch-src_CMakeLists.txt   Tue Aug 19 10:24:00 2025
@@ -0,0 +1,15 @@
+$NetBSD: patch-src_CMakeLists.txt,v 1.3 2025/08/19 10:24:00 wiz Exp $
+
+Fix build with cmake 4.
+
+--- src/CMakeLists.txt.orig    2016-08-24 19:37:03.000000000 +0000
++++ src/CMakeLists.txt
+@@ -4,7 +4,7 @@ include (CheckCSourceCompiles)
+ include(CheckFunctionExists)
+ include(CheckIncludeFile)
+ 
+-cmake_minimum_required(VERSION 2.8)
++cmake_minimum_required(VERSION 3.5)
+ 
+ set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} ${CMAKE_SOURCE_DIR}/CMakeTests)
+ 

Index: pkgsrc/emulators/yabause/patches/patch-src_c68k_CMakeLists.txt
diff -u /dev/null pkgsrc/emulators/yabause/patches/patch-src_c68k_CMakeLists.txt:1.1
--- /dev/null   Tue Aug 19 10:24:00 2025
+++ pkgsrc/emulators/yabause/patches/patch-src_c68k_CMakeLists.txt      Tue Aug 19 10:24:00 2025
@@ -0,0 +1,14 @@
+$NetBSD: patch-src_c68k_CMakeLists.txt,v 1.1 2025/08/19 10:24:00 wiz Exp $
+
+Fix build with cmake 4.
+
+--- src/c68k/CMakeLists.txt.orig       2016-08-19 15:31:13.000000000 +0000
++++ src/c68k/CMakeLists.txt
+@@ -1,6 +1,6 @@
+ project(gen68k)
+ 
+-cmake_minimum_required(VERSION 2.6)
++cmake_minimum_required(VERSION 3.5)
+ 
+ include(CheckCSourceCompiles)
+ 
Index: pkgsrc/emulators/yabause/patches/patch-src_musashi_CMakeLists.txt
diff -u /dev/null pkgsrc/emulators/yabause/patches/patch-src_musashi_CMakeLists.txt:1.1
--- /dev/null   Tue Aug 19 10:24:00 2025
+++ pkgsrc/emulators/yabause/patches/patch-src_musashi_CMakeLists.txt   Tue Aug 19 10:24:00 2025
@@ -0,0 +1,14 @@
+$NetBSD: patch-src_musashi_CMakeLists.txt,v 1.1 2025/08/19 10:24:00 wiz Exp $
+
+Fix build with cmake 4.
+
+--- src/musashi/CMakeLists.txt.orig    2016-08-19 15:31:13.000000000 +0000
++++ src/musashi/CMakeLists.txt
+@@ -1,6 +1,6 @@
+ project(m68kmake)
+ 
+-cmake_minimum_required(VERSION 2.6)
++cmake_minimum_required(VERSION 3.5)
+ 
+ add_executable(m68kmake m68kmake.c)
+ 



Home | Main Index | Thread Index | Old Index