# Template file for 'pcsx2'
only_for_archs="i686"
lib32mode="full"

pkgname=pcsx2
version=1.2.2
revision=1
build_style=cmake
configure_args="-DGLSL_API=1 -DPACKAGE_MODE=1 -DREBUILD_SHADER=1 -DXDG_STD=1
 -DPLUGIN_DIR=/usr/lib32/pcsx2 -DGAMEINDEX_DIR=/usr/share/pcsx2"
hostmakedepends="cmake pkg-config sparsehash"
makedepends="alsa-lib-devel SDL-devel glu-devel glew-devel libaio-devel
 libcanberra-devel libjpeg-turbo-devel wxGTK-devel soundtouch-devel desktop-file-utils"
depends="desktop-file-utils"
short_desc="A Sony PlayStation 2 emulator"
maintainer="Juan RP <xtraeme@gmail.com>"
license="GPL-2, GPL-3, LGPL-2.1, LGPL-3"
homepage="http://www.pcsx2.net"
distfiles="https://github.com/PCSX2/pcsx2/archive/v${version}.tar.gz"
checksum=4fccef58098d099ffe955fadd5ceee78ed063ab585b8772f4242fd6dc5fd2d23
