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.
This commit is contained in:
Érico Rolim 2020-12-26 23:54:51 -03:00 committed by Érico Nogueira Rolim
parent 0fb1f78b1f
commit eb69bdf6bd

View file

@ -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