Package Details: duckstation-git 0.1.r8935.g3d2085f79-1

Git Clone URL: https://aur.archlinux.org/duckstation-git.git (read-only, click to copy)
Package Base: duckstation-git
Description: A Sony PlayStation (PSX) emulator, focusing on playability, speed, and long-term maintainability (git version)
Upstream URL: https://github.com/stenzek/duckstation
Keywords: emulator game gaming psone psx
Licenses: cc-by-nc-nd-4.0
Conflicts: duckstation
Provides: duckstation
Submitter: jackdroido
Maintainer: eugene
Last Packager: eugene
Votes: 27
Popularity: 0.29
First Submitted: 2020-04-25 18:24 (UTC)
Last Updated: 2025-04-15 16:06 (UTC)

Dependencies (45)

Required by (0)

Sources (9)

Latest Comments

1 2 3 4 5 6 .. 12 Next › Last »

UlrichH commented on 2025-04-15 12:47 (UTC)

@eugene figured, thanks. It compiled with the fix provided by @Neros. I just had this message:

==> ATTENTION : Library listed in 'depends' is not required by any files: libdbus-1.so

Neros commented on 2025-04-15 10:56 (UTC)

There is a new dependence, lunasvg must be replaced by plutosvg

https://github.com/stenzek/duckstation/commit/cf7feec9c404c8978f77533f2e8c9a5e319bc9e4

CMake Error at CMakeModules/DuckStationDependencies.cmake:19 (find_package):
  By not providing "Findplutosvg.cmake" in CMAKE_MODULE_PATH this project has
  asked CMake to find a package configuration file provided by "plutosvg",
  but CMake did not find one.

  Could not find a package configuration file provided by "plutosvg"
  (requested version 0.0.6) with any of the following names:

    plutosvgConfig.cmake
    plutosvg-config.cmake

  Add the installation prefix of "plutosvg" to CMAKE_PREFIX_PATH or set
  "plutosvg_DIR" to a directory containing one of the above files.  If
  "plutosvg" provides a separate development package or SDK, be sure it has
  been installed.
Call Stack (most recent call first):
  CMakeLists.txt:32 (include)


-- Configuring incomplete, errors occurred!

eugene commented on 2025-04-13 16:42 (UTC)

@UlrichH: it seems to me you misunderstood my passage about latest version of the package. Make sure you are on the latest PKGBUILD: Look into the PKGBUILD and search for the pkgver=0.1.r8839.gb798d8f1a line. If it is the case, you are on the latest PKGBUILD. Otherwise you will have to fetch latest package version from the AUR.

patlefort commented on 2025-04-13 12:16 (UTC)

@UlrichH: You can add #commit= or #tag= at the end of the source url.

UlrichH commented on 2025-04-13 11:10 (UTC) (edited on 2025-04-13 11:16 (UTC) by UlrichH)

@eugene I goes to the Git last version, 0.1.r8928.gebf33f32f-1. How can I freeze a Aur -git package to build this specific 0.1.r8839.gb798d8f1a-1 version?

eugene commented on 2025-04-03 15:40 (UTC)

@UlrichH I've set DCMAKE_POLICY_VERSION_MINIMUM flag several versions ago. Package builds fine in the latest clean build environment. So make sure you are on the latest version of PKGBUILD, which is 0.1.r8839.gb798d8f1a-1 at the moment.

UlrichH commented on 2025-04-03 15:15 (UTC) (edited on 2025-04-03 15:21 (UTC) by UlrichH)

@Glorious7060 yes I have the same error, I don't know how to fix it.

HurricanePootis commented on 2025-03-31 19:06 (UTC)

@eugene

diff --git a/PKGBUILD b/PKGBUILD
index 40cf762..ad18ed3 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,7 +2,7 @@

 pkgname=duckstation-git
 _pkgname=duckstation
-pkgver=0.1.r8824.g54c42f9c2
+pkgver=0.1.r8839.gb798d8f1a
 pkgdesc='A Sony PlayStation (PSX) emulator, focusing on playability, speed, and long-term maintainability (git version)'
 pkgrel=1
 arch=(x86_64 aarch64)
@@ -123,6 +123,8 @@ build() {
                             -DCMAKE_EXE_LINKER_FLAGS_INIT="-fuse-ld=lld" \
                             -DCMAKE_MODULE_LINKER_FLAGS_INIT="-fuse-ld=lld" \
                             -DCMAKE_SHARED_LINKER_FLAGS_INIT="-fuse-ld=lld" \
+               -DCMAKE_C_FLAGS="$CFLAGS -flto=thin" \
+               -DCMAKE_CXX_FLAGS="$CXXFLAGS -flto=thin" \
                             -DCMAKE_POLICY_VERSION_MINIMUM=3.5 \
                             -DCMAKE_INSTALL_PREFIX=/usr \
                             $(yq -cr '[."config-opts"[] | select(. | test("_COMPILER") | not)] | join(" ")' "$flatpakdir/$dep")
@@ -140,8 +142,8 @@ build() {
         -DCMAKE_BUILD_TYPE=None \
         -DCMAKE_C_COMPILER=clang \
         -DCMAKE_CXX_COMPILER=clang++ \
-        -DCMAKE_C_FLAGS="$CFLAGS -Wno-error=format-security" \
-        -DCMAKE_CXX_FLAGS="$CXXFLAGS -Wno-error=format-security" \
+        -DCMAKE_C_FLAGS="$CFLAGS -Wno-error=format-security -flto=thin" \
+        -DCMAKE_CXX_FLAGS="$CXXFLAGS -Wno-error=format-security -flto=thin" \
         -DCMAKE_EXE_LINKER_FLAGS_INIT="-fuse-ld=lld" \
         -DCMAKE_MODULE_LINKER_FLAGS_INIT="-fuse-ld=lld" \
         -DCMAKE_SHARED_LINKER_FLAGS_INIT="-fuse-ld=lld" \

Since we are building with clang and lld, can we use thin LTO to speed up compile times?

Glorious7060 commented on 2025-03-29 21:28 (UTC)

Did anyone else had an error building discord-rpc?

-- Installing: /build/duckstation-git/src/deps/usr/lib/pkgconfig/libcpuinfo.pc Building discord-rpc... CMake Error at CMakeLists.txt:1 (cmake_minimum_required): Compatibility with CMake < 3.5 has been removed from CMake.

Update the VERSION argument <min> value. Or, use the <min>...<max> syntax to tell CMake that the project requires at least <min> but has been updated to work with policies introduced by <max> or earlier.

Or, add -DCMAKE_POLICY_VERSION_MINIMUM=3.5 to try configuring anyway.

-- Configuring incomplete, errors occurred! ==> ERROR: A failure occurred in build().

The package gives me this error.

Nikolai508 commented on 2025-01-30 16:07 (UTC)

sdl3 now available in extra. AUR package of same name still exists, however there is an outstanding request for deletion against it.