1 # Maintainer: Maxime Gauduin <alucryd@archlinux.org>
6 pkgdesc='Sony PlayStation 2 core'
8 url=https://github.com/libretro/pcsx2
32 _commit=373fca4dc5fbcb71970f0fa4a7f4c5501eeb83ee
33 source=(libretro-pcsx2::git+https://github.com/libretro/pcsx2.git#commit=${_commit})
39 git rev-list --count HEAD
43 sed '/set(CMAKE_C_COMPILER_LAUNCHER ccache)/d; /set(CMAKE_CXX_COMPILER_LAUNCHER ccache)/d' -i libretro-pcsx2/CMakeLists.txt
47 #export LDFLAGS+=' -lgio-2.0'
48 cmake -S libretro-pcsx2 -B build -G Ninja \
49 -DCMAKE_BUILD_TYPE=Release \
50 -DCMAKE_INSTALL_PREFIX=/usr \
51 -DDISABLE_ADVANCE_SIMD=ON \
52 -DDISABLE_BUILD_DATE=ON \
64 install -Dm 644 build/pcsx2/pcsx2_libretro.so -t "${pkgdir}"/usr/lib/libretro/