Package Details: pcsx2-git 2.3.240.r2.g23c495b939-1

Git Clone URL: https://aur.archlinux.org/pcsx2-git.git (read-only, click to copy)
Package Base: pcsx2-git
Description: PlayStation 2 emulator
Upstream URL: https://github.com/PCSX2/pcsx2
Licenses: GPL-3.0-or-later
Conflicts: pcsx2
Provides: pcsx2
Submitter: alucryd
Maintainer: weirdbeard (xiota)
Last Packager: weirdbeard
Votes: 131
Popularity: 0.29
First Submitted: 2014-03-26 14:17 (UTC)
Last Updated: 2025-03-25 20:47 (UTC)

Pinned Comments

weirdbeard commented on 2024-08-17 03:40 (UTC)

https://github.com/PCSX2/pcsx2/pull/11632

This package now enables Cmake Package mode proper. PCSX2 will here on, be installed in the package standard folders /usr/bin, /usr/share, /usr/lib. Following the XDG standard pcsx2's config files remain in .config/PCSX2

In order to ensure a proper and clean upgrade. Uninstall this package COMPLETELY and clear cache before reinstalling.

Latest Comments

« First ‹ Previous 1 .. 18 19 20 21 22 23 24 25 26 27 28 .. 70 Next › Last »

Neko-san commented on 2022-10-03 22:23 (UTC) (edited on 2022-10-03 22:27 (UTC) by Neko-san)

@Dreamkey You can define AR in /etc/makepkg.conf like so:

AR="$(which ar)"

or:

AR="$(which llvm-ar)"

if you use clang instead of gcc.

Dreamkey commented on 2022-10-03 21:59 (UTC)

Hello, I can't compile the package anymore because it can't find "ar" anymore, even if binutils is installed on my system:

[1/527] Linking C static library 3rdparty/rcheevos/librcheevos.a
FAILED: 3rdparty/rcheevos/librcheevos.a 
: && /usr/bin/cmake -E rm -f 3rdparty/rcheevos/librcheevos.a && "CMAKE_C_COMPILER_AR-NOTFOUND" cr 3rdparty/rcheevos/librcheevos.a [...]
/bin/sh: line 1: CMAKE_C_COMPILER_AR-NOTFOUND: command not found
[2/527] Linking CXX static library 3rdparty/discord-rpc/libdiscord-rpc.a
FAILED: 3rdparty/discord-rpc/libdiscord-rpc.a 
: && /usr/bin/cmake -E rm -f 3rdparty/discord-rpc/libdiscord-rpc.a && "CMAKE_CXX_COMPILER_AR-NOTFOUND" cr 3rdparty/discord-rpc/libdiscord-rpc.a [...]
/bin/sh: line 1: CMAKE_CXX_COMPILER_AR-NOTFOUND: command not found
ninja: build stopped: subcommand failed.

weirdbeard commented on 2022-10-02 14:43 (UTC)

Just tested with the official zstd. Seems like they did add the missing CMake headers

rafaelff commented on 2022-10-02 09:15 (UTC)

zstd in official repos now have CMake files, maybe it is worth trying to build PCSX2 without zstd-cmake?

weirdbeard commented on 2022-10-01 22:48 (UTC)

I just pushed an update to the package that has switched it to using patch files. recursive submodule cloning and the proper version string. It's fixed

tuxsavvy commented on 2022-10-01 13:06 (UTC)

Hi, thanks for maintaining the package.

Since approximately 1.7.3333 fast_float (via rapidyaml) has been changed to be pulled externally;

# rapidyaml includes fast_float as a submodule, saves us pulling it in directly.
# Normally, we'd just pull in the cmake project, and link to it, but... it seems to enable
# permissive mode, which breaks other parts of PCSX2. So, we'll just create a target here
# for now.
#add_subdirectory(3rdparty/rapidyaml/rapidyaml/ext/c4core/src/c4/ext/fast_float EXCLUDE_FROM_ALL)
add_library(fast_float INTERFACE)
target_include_directories(fast_float INTERFACE 3rdparty/rapidyaml/rapidyaml/ext/c4core/src/c4/ext/fast_float/include)

This leads to compilation errors which cannot be reproduced upstream, as they are pulling the submodules recursively. The link there is a little old, considering that a new version was being compiled via GitHub actions as of writing, but the point remains true otherwise.

As such, I have generated a diff of a more simplified approach that should be working,

--- a/PKGBUILD  
+++ b/PKGBUILD  
@@ -60,37 +60,14 @@

 conflicts=(pcsx2)

-source=(
-git+https://github.com/kenshen112/pcsx2.git#branch=packages
-git+https://github.com/rtissera/libchdr.git
-git+https://github.com/google/googletest.git
-git+https://github.com/mozilla/cubeb.git
-git+https://github.com/KhronosGroup/glslang.git
-git+https://github.com/KhronosGroup/Vulkan-Headers.git
-git+https://github.com/fmtlib/fmt.git
-)
+source=('git+https://github.com/kenshen112/pcsx2.git#branch=packages')

-sha256sums=(
-SKIP
-SKIP
-SKIP
-SKIP
-SKIP
-SKIP
-SKIP
-)
+sha256sums=('SKIP')

 prepare()
 {
   cd $srcdir/pcsx2
-  git submodule init
-  git config submodule.3rdparty/libchdr/libchdr.url $srcdir/libchdr
-  git config submodule.3rdparty/gtest.url $srcdir/googletest
-  git config submodule.3rdparty/cubeb/cubeb.url $srcdir/cubeb
-  git config submodule.3rdparty/glslang/glslang.url $srcdir/glslang
-  git config submodule.3rdparty/vulkan-headers.url $srcdir/Vulkan-Headers
-  git config submodule.3rdparty/fmt/fmt.url $srcdir/fmt
-  git submodule update 3rdparty/libchdr/libchdr 3rdparty/gtest 3rdparty/cubeb/cubeb 3rdparty/glslang/glslang 3rdparty/vulkan-headers 3rdparty/fmt/fmt
+  git submodule update --init --recursive
 }

 pkgver()

Please incorporate these changes, as more submodules has been moved in-tree, e.g. cubeb.

weirdbeard commented on 2022-10-01 03:08 (UTC)

@Neko-san yeah it is. It's a bit confusing because the package names are odd but pcsx2 uses zstd but it needs the package to have the CMake headers. Unfortunately the main repo package lacks that and so I have to use zstd-cmake

weirdbeard commented on 2022-10-01 03:06 (UTC)

To everyone posting in here improvements and issues. Thanks so much! I'm a bit indisposed at the moment so I can't do anything but I promise I'll address it all soon

Neko-san commented on 2022-09-30 06:17 (UTC) (edited on 2022-10-01 03:13 (UTC) by Neko-san)

Is zstd-cmake really supposed to be a depends instead of replacing cmake as the makedepends?

These to conflict with each other and, while I know that can be solved with just having zstd-cmake installed, having them in two separate categories just seems odd?

sukanka commented on 2022-09-29 13:15 (UTC)

please remove the leading v in version number by using

git describe --long | sed 's/\([^-]*-g\)/r\1/;s/-/./g;s/^v//'

As said in Archwiki

If tag contains a prefix, like v or project name then it should be cut off: