Package Details: pcsx2-git 2.3.10.r0.g5441c7ed59-1

Git Clone URL: https://aur.archlinux.org/pcsx2-git.git (read-only, click to copy)
Package Base: pcsx2-git
Description: A Sony PlayStation 2 emulator
Upstream URL: https://github.com/PCSX2/pcsx2
Licenses: GPL-3.0+
Conflicts: pcsx2
Provides: pcsx2
Submitter: alucryd
Maintainer: weirdbeard (xiota)
Last Packager: weirdbeard
Votes: 130
Popularity: 0.35
First Submitted: 2014-03-26 14:17 (UTC)
Last Updated: 2024-11-08 23:36 (UTC)

Dependencies (32)

Required by (3)

Sources (8)

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 .. 14 15 16 17 18 19 20 21 22 23 24 .. 66 Next › Last »

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:

Neko-san commented on 2022-09-29 08:59 (UTC)

Fails to compile due to missing headers for the fast_float submodule

weirdbeard commented on 2022-08-27 20:32 (UTC)

@E3LDDfrK, sorta. It's because the current DESKTOP file for pcsx2 is still hardcoded to pcsx2 wx https://github.com/PCSX2/pcsx2/blob/master/linux_various/PCSX2.desktop.in instead of qt. The included sed command in the pkg build is an attempt to correct the executable.

As for zstd, I understand it's an annoyance but pcsx2 uses some of the CMake exports that the stable package doesn't have from zstd which kinda leaves us in a rock and a hard place here. If you can't get it uninstalled normally, I'd use one of the force uninstall commands from pacman then try pcsx2 / zstd-cmake again

weirdbeard commented on 2022-08-27 20:26 (UTC) (edited on 2022-08-28 16:24 (UTC) by weirdbeard)

@Dreamkey, you have to uninstall and reinstall the package for that to take effect. I just fixed it