vp-build/srcpkgs/pcsx2/template

28 lines
1.1 KiB
Bash

# Template file for 'pcsx2'
archs="i686*"
lib32mode="full"
nopie=yes
pkgname=pcsx2
version=1.6.0
revision=2
build_style=cmake
# 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
libpcap-devel glib-devel"
depends="desktop-file-utils"
short_desc="Sony PlayStation 2 emulator"
maintainer="Selfsigned <selfsigned@protonmail.ch>"
license="GPL-3.0-or-later, GPL-2.0-or-later, LGPL-2.1-or-later, LGPL-3.0-or-later"
homepage="http://www.pcsx2.net"
distfiles="https://github.com/PCSX2/pcsx2/archive/v${version}.tar.gz"
checksum=c09914020e494640f187f46d017f9d142ce2004af763b9a6c5c3a9ea09e5281c