git: c2d6cbb076ad - main - emulators/duckstation: Rename to fbsd-duckstation
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 04 Dec 2024 07:49:35 UTC
The branch main has been updated by martymac:
URL: https://cgit.FreeBSD.org/ports/commit/?id=c2d6cbb076ade911ef923ff95d90ec979abbc937
commit c2d6cbb076ade911ef923ff95d90ec979abbc937
Author: Ganael LAPLANCHE <martymac@FreeBSD.org>
AuthorDate: 2024-12-04 07:44:00 +0000
Commit: Ganael LAPLANCHE <martymac@FreeBSD.org>
CommitDate: 2024-12-04 07:44:00 +0000
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.
---
MOVED | 1 +
emulators/Makefile | 2 +-
emulators/{duckstation => fbsd-duckstation}/Makefile | 8 +++++---
emulators/{duckstation => fbsd-duckstation}/distinfo | 0
.../files/fbsd-duckstation.desktop} | 2 +-
.../files/patch-dep-cubeb-CMakeLists.txt | 0
.../files/patch-dep-discord-rpc-CMakeLists.txt | 0
.../files/patch-relocate-resources.txt | 0
.../files/patch-src-common-byte_stream.cpp | 0
.../files/patch-src-util-CMakeLists.txt | 0
.../files/patch-src-util-platform_misc_unix.cpp | 0
emulators/{duckstation => fbsd-duckstation}/pkg-descr | 3 +++
emulators/{duckstation => fbsd-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
similarity index 89%
rename from emulators/duckstation/Makefile
rename to 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
similarity index 100%
rename from emulators/duckstation/distinfo
rename to emulators/fbsd-duckstation/distinfo
diff --git a/emulators/duckstation/files/duckstation.desktop b/emulators/fbsd-duckstation/files/fbsd-duckstation.desktop
similarity index 90%
rename from emulators/duckstation/files/duckstation.desktop
rename to 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
similarity index 100%
rename from emulators/duckstation/files/patch-dep-cubeb-CMakeLists.txt
rename to 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
similarity index 100%
rename from emulators/duckstation/files/patch-dep-discord-rpc-CMakeLists.txt
rename to 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
similarity index 100%
rename from emulators/duckstation/files/patch-relocate-resources.txt
rename to 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
similarity index 100%
rename from emulators/duckstation/files/patch-src-common-byte_stream.cpp
rename to 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
similarity index 100%
rename from emulators/duckstation/files/patch-src-util-CMakeLists.txt
rename to 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
similarity index 100%
rename from emulators/duckstation/files/patch-src-util-platform_misc_unix.cpp
rename to emulators/fbsd-duckstation/files/patch-src-util-platform_misc_unix.cpp
diff --git a/emulators/duckstation/pkg-descr b/emulators/fbsd-duckstation/pkg-descr
similarity index 68%
rename from emulators/duckstation/pkg-descr
rename to 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
similarity index 99%
rename from emulators/duckstation/pkg-plist
rename to 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