From eb69bdf6bd2a44303f6e0c3d75d4b72a8b274fcd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=89rico=20Rolim?= Date: Sat, 26 Dec 2020 23:54:51 -0300 Subject: [PATCH] pcsx2: put data files in /usr/lib$wordsize. This allows it to access its data files in multilib setups. Also clean up and organize the rest of the configure_args; SDL2_API was being set twice. --- srcpkgs/pcsx2/template | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/srcpkgs/pcsx2/template b/srcpkgs/pcsx2/template index 50a4b0c1cc..59f8dfcdce 100644 --- a/srcpkgs/pcsx2/template +++ b/srcpkgs/pcsx2/template @@ -5,11 +5,15 @@ nopie=yes pkgname=pcsx2 version=1.6.0 -revision=1 +revision=2 build_style=cmake -configure_args="-DGLSL_API=1 -DSDL2_API=0 -DPACKAGE_MODE=1 -DREBUILD_SHADER=1 -DXDG_STD=1 - -DPLUGIN_DIR=/usr/lib32/pcsx2 -DGAMEINDEX_DIR=/usr/share/pcsx2 -DDISABLE_ADVANCE_SIMD=1 - -DSDL2_API=TRUE" +# store all data that pcsx2 has to access into /usr/lib, so it can be accessed +# on multilib setups. when/if pcsx2 supports 64-bit builds, GAMEINDEX_DIR should +# be moved to /usr/share/pcsx2 +configure_args="-DGLSL_API=1 -DSDL2_API=TRUE -DPACKAGE_MODE=1 -DREBUILD_SHADER=1 + -DXDG_STD=1 -DDISABLE_ADVANCE_SIMD=1 + -DPLUGIN_DIR=/usr/lib${XBPS_TARGET_WORDSIZE}/pcsx2 + -DGAMEINDEX_DIR=/usr/lib${XBPS_TARGET_WORDSIZE}/pcsx2" hostmakedepends="pkg-config sparsehash perl" makedepends="alsa-lib-devel SDL2-devel glu-devel glew-devel libaio-devel libcanberra-devel libjpeg-turbo-devel wxWidgets-devel portaudio-devel soundtouch-devel