# Template file for 'pcsxr'
pkgname=pcsxr
version=1.9.94
revision=1
wrksrc="${pkgname}"
build_style=gnu-configure
configure_args="--enable-libcdio --enable-opengl"
hostmakedepends="pkg-config automake libtool intltool glib-devel gettext-devel nasm"
makedepends="libXv-devel libXtst-devel libcdio-devel SDL-devel gtk+3-devel"
depends="desktop-file-utils"
short_desc="Sony PlayStation (PSX) emulator based on the PCSX-df project"
maintainer="Orphaned <orphan@voidlinux.org>"
license="GPL-2.0-or-later"
homepage="http://pcsxr.codeplex.com/"
distfiles="http://deb.debian.org/debian/pool/main/p/pcsxr/pcsxr_${version}.orig.tar.xz"
checksum=8a366b68a7c236443aa75b422bea84b5115f8d8c23e5a78fd6951e643e90f660
lib32disabled=yes

CFLAGS="-fcommon"

pre_configure() {
	autoreconf -fi
	intltoolize -f
}
