summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGanael LAPLANCHE <martymac@FreeBSD.org>2024-12-04 08:44:00 +0100
committerGanael LAPLANCHE <martymac@FreeBSD.org>2024-12-04 08:44:00 +0100
commitc2d6cbb076ade911ef923ff95d90ec979abbc937 (patch)
tree00b19cbb10c45935066f5d01248d16889c8fc999
parentcomms/cyclonedds: update 0.10.4 → 0.10.5 (diff)
emulators/duckstation: Rename to fbsd-duckstation
Follow developer's will (expressed in private) to emphasize our port includes local patches and does not reflect the exact version of the original software.
-rw-r--r--MOVED1
-rw-r--r--emulators/Makefile2
-rw-r--r--emulators/fbsd-duckstation/Makefile (renamed from emulators/duckstation/Makefile)8
-rw-r--r--emulators/fbsd-duckstation/distinfo (renamed from emulators/duckstation/distinfo)0
-rw-r--r--emulators/fbsd-duckstation/files/fbsd-duckstation.desktop (renamed from emulators/duckstation/files/duckstation.desktop)2
-rw-r--r--emulators/fbsd-duckstation/files/patch-dep-cubeb-CMakeLists.txt (renamed from emulators/duckstation/files/patch-dep-cubeb-CMakeLists.txt)0
-rw-r--r--emulators/fbsd-duckstation/files/patch-dep-discord-rpc-CMakeLists.txt (renamed from emulators/duckstation/files/patch-dep-discord-rpc-CMakeLists.txt)0
-rw-r--r--emulators/fbsd-duckstation/files/patch-relocate-resources.txt (renamed from emulators/duckstation/files/patch-relocate-resources.txt)0
-rw-r--r--emulators/fbsd-duckstation/files/patch-src-common-byte_stream.cpp (renamed from emulators/duckstation/files/patch-src-common-byte_stream.cpp)0
-rw-r--r--emulators/fbsd-duckstation/files/patch-src-util-CMakeLists.txt (renamed from emulators/duckstation/files/patch-src-util-CMakeLists.txt)0
-rw-r--r--emulators/fbsd-duckstation/files/patch-src-util-platform_misc_unix.cpp (renamed from emulators/duckstation/files/patch-src-util-platform_misc_unix.cpp)0
-rw-r--r--emulators/fbsd-duckstation/pkg-descr (renamed from emulators/duckstation/pkg-descr)3
-rw-r--r--emulators/fbsd-duckstation/pkg-plist (renamed from emulators/duckstation/pkg-plist)4
13 files changed, 13 insertions, 7 deletions
diff --git a/MOVED b/MOVED
index e6218aaa96a2..61604ee8523a 100644
--- a/MOVED
+++ b/MOVED
@@ -3747,3 +3747,4 @@ misc/gnuls||2024-11-30|Has expired: Outdated, consider using sysutils/coreutils
science/grib_api|science/eccodes|2024-11-30|Has expired: Deprecated by upstream. Use science/eccodes instead
www/kohana||2024-12-01|Has expired: Supports only PHP5, abandoned upstream
devel/py-simple-term-menu|devel/py-simple_term_menu|2024-12-02|Upstream renamed
+emulators/duckstation|emulators/fbsd-duckstation|2024-12-03|Developer asked to emphasize the port includes local patches
diff --git a/emulators/Makefile b/emulators/Makefile
index ce6f6bb811a4..473fd6fa5292 100644
--- a/emulators/Makefile
+++ b/emulators/Makefile
@@ -26,7 +26,6 @@
SUBDIR += dosbox-staging
SUBDIR += dosbox-x
SUBDIR += dps8m
- SUBDIR += duckstation
SUBDIR += dynamips-community
SUBDIR += edumips64
SUBDIR += elliott-803
@@ -34,6 +33,7 @@
SUBDIR += emulationstation
SUBDIR += es-de
SUBDIR += fbneo
+ SUBDIR += fbsd-duckstation
SUBDIR += fceux
SUBDIR += flexemu
SUBDIR += flycast
diff --git a/emulators/duckstation/Makefile b/emulators/fbsd-duckstation/Makefile
index f756def26126..1d2cfa7724c3 100644
--- a/emulators/duckstation/Makefile
+++ b/emulators/fbsd-duckstation/Makefile
@@ -1,4 +1,4 @@
-PORTNAME= duckstation
+PORTNAME= fbsd-duckstation
PORTVERSION= 20240614
DISTVERSIONPREFIX= v
PORTREVISION= 2
@@ -33,6 +33,7 @@ USES= cmake compiler:c++20-lang gl jpeg kde:5 pkgconfig qt:6 sdl xorg
USE_GITHUB= yes
GH_ACCOUNT= stenzek
+GH_PROJECT= duckstation
# See: https://github.com/stenzek/duckstation/commits/latest
GH_TAGNAME= v0.1-6937
@@ -56,9 +57,10 @@ do-install:
${COPYTREE_SHARE} resources/ ${STAGEDIR}${DATADIR}/ && \
${COPYTREE_SHARE} translations/ ${STAGEDIR}${DATADIR}/
${INSTALL_PROGRAM} \
- ${CONFIGURE_WRKSRC}/bin/duckstation-qt ${STAGEDIR}${PREFIX}/bin/
+ ${CONFIGURE_WRKSRC}/bin/duckstation-qt \
+ ${STAGEDIR}${PREFIX}/bin/fbsd-duckstation-qt
${INSTALL_DATA} ${CONFIGURE_WRKSRC}/bin/resources/images/duck.png \
${STAGEDIR}${PREFIX}/share/pixmaps/duckstation.png
- ${INSTALL_DATA} ${FILESDIR}/duckstation.desktop ${STAGEDIR}${DESKTOPDIR}
+ ${INSTALL_DATA} ${FILESDIR}/fbsd-duckstation.desktop ${STAGEDIR}${DESKTOPDIR}
.include <bsd.port.mk>
diff --git a/emulators/duckstation/distinfo b/emulators/fbsd-duckstation/distinfo
index d95a853d7969..d95a853d7969 100644
--- a/emulators/duckstation/distinfo
+++ b/emulators/fbsd-duckstation/distinfo
diff --git a/emulators/duckstation/files/duckstation.desktop b/emulators/fbsd-duckstation/files/fbsd-duckstation.desktop
index 8e79b154fcec..1ed1da9b1d50 100644
--- a/emulators/duckstation/files/duckstation.desktop
+++ b/emulators/fbsd-duckstation/files/fbsd-duckstation.desktop
@@ -6,7 +6,7 @@ Name=Duckstation
StartupWMClass=Duckstation
GenericName=PlayStation Emulator
Comment=Sony PlayStation emulator
-Exec=duckstation-qt
+Exec=fbsd-duckstation-qt
Icon=duckstation
Keywords=game;emulator;
Categories=Game;Emulator;
diff --git a/emulators/duckstation/files/patch-dep-cubeb-CMakeLists.txt b/emulators/fbsd-duckstation/files/patch-dep-cubeb-CMakeLists.txt
index 1dd09f688586..1dd09f688586 100644
--- a/emulators/duckstation/files/patch-dep-cubeb-CMakeLists.txt
+++ b/emulators/fbsd-duckstation/files/patch-dep-cubeb-CMakeLists.txt
diff --git a/emulators/duckstation/files/patch-dep-discord-rpc-CMakeLists.txt b/emulators/fbsd-duckstation/files/patch-dep-discord-rpc-CMakeLists.txt
index 983c74832dbc..983c74832dbc 100644
--- a/emulators/duckstation/files/patch-dep-discord-rpc-CMakeLists.txt
+++ b/emulators/fbsd-duckstation/files/patch-dep-discord-rpc-CMakeLists.txt
diff --git a/emulators/duckstation/files/patch-relocate-resources.txt b/emulators/fbsd-duckstation/files/patch-relocate-resources.txt
index 9288b4e70807..9288b4e70807 100644
--- a/emulators/duckstation/files/patch-relocate-resources.txt
+++ b/emulators/fbsd-duckstation/files/patch-relocate-resources.txt
diff --git a/emulators/duckstation/files/patch-src-common-byte_stream.cpp b/emulators/fbsd-duckstation/files/patch-src-common-byte_stream.cpp
index 4b56b7c460b6..4b56b7c460b6 100644
--- a/emulators/duckstation/files/patch-src-common-byte_stream.cpp
+++ b/emulators/fbsd-duckstation/files/patch-src-common-byte_stream.cpp
diff --git a/emulators/duckstation/files/patch-src-util-CMakeLists.txt b/emulators/fbsd-duckstation/files/patch-src-util-CMakeLists.txt
index 003ca38b6151..003ca38b6151 100644
--- a/emulators/duckstation/files/patch-src-util-CMakeLists.txt
+++ b/emulators/fbsd-duckstation/files/patch-src-util-CMakeLists.txt
diff --git a/emulators/duckstation/files/patch-src-util-platform_misc_unix.cpp b/emulators/fbsd-duckstation/files/patch-src-util-platform_misc_unix.cpp
index 68e543b0fdaa..68e543b0fdaa 100644
--- a/emulators/duckstation/files/patch-src-util-platform_misc_unix.cpp
+++ b/emulators/fbsd-duckstation/files/patch-src-util-platform_misc_unix.cpp
diff --git a/emulators/duckstation/pkg-descr b/emulators/fbsd-duckstation/pkg-descr
index b8425b6dab50..150bcf0a0fbf 100644
--- a/emulators/duckstation/pkg-descr
+++ b/emulators/fbsd-duckstation/pkg-descr
@@ -4,3 +4,6 @@ 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.
+
+That version of DuckStation includes local (FreeBSD-only) patches, mostly used
+to fix build and relocate resources to common paths.
diff --git a/emulators/duckstation/pkg-plist b/emulators/fbsd-duckstation/pkg-plist
index fe2f56ae1d59..1afb21bf3728 100644
--- a/emulators/duckstation/pkg-plist
+++ b/emulators/fbsd-duckstation/pkg-plist
@@ -1,5 +1,5 @@
-bin/duckstation-qt
-share/applications/duckstation.desktop
+bin/fbsd-duckstation-qt
+share/applications/fbsd-duckstation.desktop
share/pixmaps/duckstation.png
%%DATADIR%%/resources/chtdb.txt
%%DATADIR%%/resources/discdb.yaml