head 1.2; access; symbols pkgsrc-2026Q1:1.2.0.4 pkgsrc-2026Q1-base:1.2 pkgsrc-2025Q4:1.2.0.2 pkgsrc-2025Q4-base:1.2 pkgsrc-2025Q3:1.1.0.16 pkgsrc-2025Q3-base:1.1 pkgsrc-2025Q2:1.1.0.14 pkgsrc-2025Q2-base:1.1 pkgsrc-2025Q1:1.1.0.12 pkgsrc-2025Q1-base:1.1 pkgsrc-2024Q4:1.1.0.10 pkgsrc-2024Q4-base:1.1 pkgsrc-2024Q3:1.1.0.8 pkgsrc-2024Q3-base:1.1 pkgsrc-2024Q2:1.1.0.6 pkgsrc-2024Q2-base:1.1 pkgsrc-2024Q1:1.1.0.4 pkgsrc-2024Q1-base:1.1 pkgsrc-2023Q4:1.1.0.2 pkgsrc-2023Q4-base:1.1; locks; strict; comment @# @; 1.2 date 2025.11.24.07.44.28; author wiz; state Exp; branches; next 1.1; commitid eh6Pr8rgXGFgkMjG; 1.1 date 2023.11.14.17.57.41; author nia; state Exp; branches; next ; commitid 6j4nJUj41nclxBME; desc @@ 1.2 log @duckstation-qt: fix build with qt6 6.10 @ text @$NetBSD: patch-CMakeLists.txt,v 1.1 2023/11/14 17:57:41 nia Exp $ NetBSD (and more POSIX platforms) support. --- CMakeLists.txt.orig 2023-08-12 04:46:09.000000000 +0000 +++ CMakeLists.txt @@@@ -22,6 +22,10 @@@@ elseif(${CMAKE_SYSTEM_NAME} STREQUAL "Fr set(SUPPORTS_X11 TRUE) endif() +if(UNIX AND NOT APPLE) + set(SUPPORTS_X11 TRUE) +endif() + # Set minimum OS version for macOS. 10.14 should work. set(CMAKE_OSX_DEPLOYMENT_TARGET "10.14.0" CACHE STRING "") @@@@ -46,10 +50,10 @@@@ endif() if(SUPPORTS_WAYLAND) option(USE_WAYLAND "Support Wayland window system" ON) endif() -if((LINUX OR FREEBSD) OR ANDROID) +if((UNIX AND NOT APPLE) OR ANDROID) option(USE_EGL "Support EGL OpenGL context creation" ON) endif() -if((LINUX OR FREEBSD) AND NOT ANDROID) +if(UNIX AND NOT APPLE AND NOT ANDROID) option(USE_DRMKMS "Support DRM/KMS OpenGL contexts" OFF) option(USE_FBDEV "Support FBDev OpenGL contexts" OFF) option(USE_EVDEV "Support EVDev controller interface" OFF) @@@@ -106,7 +110,7 @@@@ if(NOT ANDROID) find_package(CURL REQUIRED) endif() if(BUILD_QT_FRONTEND) - find_package(Qt6 COMPONENTS Core Gui Widgets Network LinguistTools REQUIRED) + find_package(Qt6 COMPONENTS Core Gui GuiPrivate Widgets Network LinguistTools REQUIRED) endif() endif() @ 1.1 log @Import emulators/duckstation-qt DuckStation is an simulator/emulator of the Sony PlayStation(TM) console, focusing on playability, speed, and long-term maintainability. The goal is to be as accurate as possible while maintaining performance suitable for low-end devices. A "BIOS" ROM image is required to to start the emulator and to play games. You can use an image from any hardware version or region, although mismatching game regions and BIOS regions may have compatibility issues. @ text @d1 1 a1 1 $NetBSD$ d31 9 @