No, because it wouldn't apply to pcsx2. It has to be directly applied to pcsx2 itself
Search Criteria
Package Details: pcsx2-git 2.3.10.r0.g5441c7ed59-1
Package Actions
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)
- alsa-lib
- ffmpeg (ffmpeg-nvcodec-11-1-gitAUR, ffmpeg-ffplayoutAUR, ffmpeg-amd-full-gitAUR, ffmpeg-cudaAUR, ffmpeg-full-gitAUR, ffmpeg-gitAUR, ffmpeg-libfdk_aacAUR, ffmpeg-fullAUR, ffmpeg-decklinkAUR, ffmpeg-headlessAUR, ffmpeg-obsAUR, ffmpeg-amd-fullAUR)
- hicolor-icon-theme (hicolor-icon-theme-gitAUR)
- libaio (libaio-gitAUR)
- libglvnd (libglvnd-gitAUR)
- libpcap (libpcap-gitAUR)
- libpng (libpng-gitAUR, libpng-apngAUR)
- libxrandr (libxrandr-gitAUR)
- lld (llvm-rocm-gitAUR, llvm-gitAUR)
- qt6-base (qt6-base-headlessAUR, qt6-base-gitAUR)
- qt6-svg
- sdl2 (sdl2-gitAUR, sdl2-compat-gitAUR)
- soundtouch (soundtouch-gitAUR)
- wayland (wayland-gitAUR, wayland-asan-gitAUR, wayland-chromiumAUR)
- xcb-util-cursor (xcb-util-cursor-gitAUR)
- ccache (ccache-gitAUR) (make)
- clang (llvm-rocm-gitAUR, llvm-gitAUR, clang-minimal-gitAUR, clang17-binAUR) (make)
- cmake (cmake-gitAUR) (make)
- extra-cmake-modules (extra-cmake-modules-gitAUR) (make)
- git (git-gitAUR, git-glAUR) (make)
- libjpeg-turbo (mozjpeg-gitAUR, libjpeg-turbo-gitAUR, mozjpegAUR) (make)
- libpipewire (libpipewire-gitAUR, libpipewire-full-gitAUR) (make)
- libpulse (pulseaudio-dummyAUR, libpulse-gitAUR) (make)
- lld (llvm-rocm-gitAUR, llvm-gitAUR) (make)
- llvm (llvm-rocm-gitAUR, llvm-gitAUR, llvm-minimal-gitAUR) (make)
- ninja (ninja-kitwareAUR, ninja-memAUR, ninja-fuchsia-gitAUR, ninja-gitAUR, ninja-jobserverAUR) (make)
- p7zip (p7zip-natspecAUR, p7zip-full-binAUR, 7-zip-fullAUR) (make)
- qt6-tools (make)
- qt6-wayland (make)
- libpipewire (libpipewire-gitAUR, libpipewire-full-gitAUR) (optional) – Pipewire support
- libpulse (pulseaudio-dummyAUR, libpulse-gitAUR) (optional) – Pulseaudio support
- qt6-wayland (optional) – Wayland support
Required by (3)
- libretro-pcsx2-launcher (requires pcsx2)
- libretro-pcsx2-launcher-git (requires pcsx2)
- pcsx2-plugin-usbqemu-wheel (requires pcsx2)
Sources (8)
- git+https://github.com/google/shaderc.git#tag=v2024.1
- git+https://github.com/ianlancetaylor/libbacktrace.git#commit=ad106d5fdd5d960bd33fae1c48a351af567fd075
- git+https://github.com/KhronosGroup/glslang.git#commit=142052fa30f9eca191aa9dcf65359fcaed09eeec
- git+https://github.com/KhronosGroup/SPIRV-Headers.git#commit=5e3ad389ee56fca27c9705d093ae5387ce404df4
- git+https://github.com/KhronosGroup/SPIRV-Tools.git#commit=dd4b663e13c07fea4fbb3f70c1c91c86731099f7
- git+https://github.com/PCSX2/pcsx2.git
- git+https://github.com/PCSX2/pcsx2_patches.git
- ShaderName.patch
Latest Comments
« First ‹ Previous 1 2 3 4 5 6 7 8 9 10 .. 66 Next › Last »
weirdbeard commented on 2024-06-07 04:46 (UTC)
weirdbeard commented on 2024-06-07 04:20 (UTC) (edited on 2024-06-07 05:30 (UTC) by weirdbeard)
Unfortunately, setcap is 110% necessary and cannot be disabled. It enables online functionality that AppImage cannot do by linking pcap to pcsx2. (Appimage has no capacity for pcap and as far as I'm aware neither does flatpak.) It has something to do with their inability to find the lib location. Manually extracting pcsx2 from that environment and running the setcap command enables that functionality.
patlefort commented on 2024-06-07 01:43 (UTC)
It's not in the NEEDED section because it is loaded dynamically at runtime with dlopen.
man dlopen
state: (ELF only) If the calling object contains a DT_RUNPATH tag, then the directories listed in that tag are searched.
.
I don't know how would that not work for @xiota. Here a test program: https://pastebin.com/g6HMN0ba
Compile and run it with gcc -Wl,-rpath=/opt/pcsx2 -ldl test_dlopen.c && ./a.out
and tell us what you get. It should print /opt/pcsx2
.
weirdbeard commented on 2024-06-07 01:36 (UTC)
Sounds good. Let me know when or if you want :)
xmusjackson commented on 2024-06-07 01:17 (UTC) (edited on 2024-06-07 01:23 (UTC) by xmusjackson)
@xiota the man page for ld.so(8) apparently says that DT_RUNPATH is only used for dependencies located in the DT_NEEDED section, but this build doesn't put libshaderc_shared.so.1 there for some reason. I don't know what the harm in forcing that dependecy would be though. This goes back to PCSX2 is built in a strange way, but mitigating that is part of this process, I guess. Looking into the appimage, it's not in that section either, but runpath is indeed set to '$ORIGIN/../lib'.
weirdbeard commented on 2024-06-07 01:14 (UTC)
Btw @xiota, do you want to be a co-maintainer on this package?
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.