summaryrefslogtreecommitdiff
path: root/pcr-multilib/pcsx2-git/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'pcr-multilib/pcsx2-git/PKGBUILD')
-rw-r--r--pcr-multilib/pcsx2-git/PKGBUILD28
1 files changed, 12 insertions, 16 deletions
diff --git a/pcr-multilib/pcsx2-git/PKGBUILD b/pcr-multilib/pcsx2-git/PKGBUILD
index a5ac313d1..8a2b46eec 100644
--- a/pcr-multilib/pcsx2-git/PKGBUILD
+++ b/pcr-multilib/pcsx2-git/PKGBUILD
@@ -5,43 +5,43 @@
_pkgname=pcsx2
pkgname=pcsx2-git
-pkgver=r8317.247d33a
+pkgver=r9498.a18d624bc
pkgrel=1.parabola1
pkgdesc='A Sony PlayStation 2 emulator, without nonfree nvidia-cg-toolkit support'
arch=('i686' 'x86_64')
url='http://www.pcsx2.net'
license=('GPL2' 'GPL3' 'LGPL2.1' 'LGPL3')
depends_i686=('glew' 'libaio' 'libcanberra' 'libjpeg-turbo'
- 'portaudio' 'sdl2' 'soundtouch' 'wxgtk')
+ 'portaudio' 'sdl2' 'soundtouch' 'wxgtk' 'opengl-driver')
depends_x86_64=('lib32-glew' 'lib32-libaio' 'lib32-libcanberra'
'lib32-libjpeg-turbo'
- 'lib32-portaudio' 'lib32-sdl2' 'lib32-soundtouch' 'lib32-wxgtk')
-makedepends=('cmake' 'git')
+ 'lib32-portaudio' 'lib32-sdl2' 'lib32-soundtouch'
+ 'lib32-wxgtk')
+makedepends=('cmake' 'png++' 'git')
makedepends_x86_64=('gcc-multilib')
optdepends_x86_64=('lib32-gtk-engines: GTK2 engines support'
- 'lib32-gtk-engine-murrine: Murrine GTK3 engine support'
'lib32-gtk-engine-unico: Unico GTK2 engine support')
provides=("${_pkgname}")
conflicts=("${_pkgname}" "${_pkgname}-libre")
replaces=("${_pkgname}-libre")
options=('!emptydirs')
-source=(${pkgname}-${pkgver}::git+https://github.com/PCSX2/pcsx2.git)
+source=(${_pkgname}-${pkgver}::git+https://github.com/PCSX2/${_pkgname}.git)
sha256sums=('SKIP')
pkgver() {
- cd ${pkgname}-${pkgver}
+ cd ${_pkgname}-${pkgver}
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}
prepare() {
- cd ${pkgname}-${pkgver}
- # remove zzogl and zerogs plugins (depends nonfree nvidia-cg-toolkit)
+ cd ${_pkgname}-${pkgver}
+ # Remove zzogl and zerogs plugins (depends nonfree nvidia-cg-toolkit)
rm -vr plugins/{zerogs,zzogl-pg}
- sed -i '\|# ZZOGL|,+6 d' linux_various/glsl2h.pl
+ sed -i '\|zz_res =|,+4 d' linux_various/glsl2h.pl
}
build() {
- cd ${pkgname}-${pkgver}
+ cd ${_pkgname}-${pkgver}
if [[ -d build ]]; then
rm -rf build
@@ -81,13 +81,9 @@ build() {
}
package() {
- cd ${pkgname}-${pkgver}/build
+ cd ${_pkgname}-${pkgver}/build
make DESTDIR="${pkgdir}" install
-
- # create pcsx2 binary link and copy PCSX2.1 to pcsx2.1 man page
- ln -vs PCSX2 ${pkgdir}/usr/bin/pcsx2
- cp -va ${pkgdir}/usr/share/man/man1/{PCSX,pcsx}2.1
}
# vim: ts=2 sw=2 et: