summaryrefslogtreecommitdiff
path: root/community/yabause-qt/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/yabause-qt/PKGBUILD')
-rwxr-xr-xcommunity/yabause-qt/PKGBUILD24
1 files changed, 13 insertions, 11 deletions
diff --git a/community/yabause-qt/PKGBUILD b/community/yabause-qt/PKGBUILD
index d8d2092f1..881f959e2 100755
--- a/community/yabause-qt/PKGBUILD
+++ b/community/yabause-qt/PKGBUILD
@@ -1,4 +1,4 @@
-# $Id: PKGBUILD 86075 2013-03-11 21:47:54Z alucryd $
+# $Id: PKGBUILD 102822 2013-12-21 05:06:07Z alucryd $
# Maintainer: Maxime Gauduin <alucryd@gmail.com>
# Contributor: Harley Laue <losinggeneration@gmail.com>
# Contributor: Hyacinthe Cartiaux <hyacinthe.cartiaux@free.fr>
@@ -7,7 +7,7 @@
# Contributor: robb_force <robb_force@holybuffalo.net>
pkgname=yabause-qt
-pkgver=0.9.12
+pkgver=0.9.13
pkgrel=1
pkgdesc='A Sega Saturn emulator'
arch=('i686' 'x86_64')
@@ -17,28 +17,30 @@ depends=('freeglut' 'mesa' 'openal' 'qt4' 'sdl')
makedepends=('cmake' 'glu')
conflicts=('yabause-gtk')
source=("http://downloads.sourceforge.net/${pkgname%-*}/${pkgname%-*}-${pkgver}.tar.gz" 'rwx.patch')
-sha256sums=('f45c9649c379e1e790856f8dfa37d93be5638e8f697319b241951316f817bfb1'
+sha256sums=('3913f9c57bb65912eb22a339ec6f9413e0c00c11105baeae6a165b84ad4d32fb'
'd29997d3249683081a2687f31e777f917093101d56815d22103aaaf22ac786b1')
-build() {
- cd "${srcdir}"/${pkgname%-*}-${pkgver}
+prepare() {
+ cd ${pkgname%-*}-${pkgver}
-# Patch
- patch -Np1 -i "${srcdir}"/rwx.patch
+ patch -Np1 -i ../rwx.patch
+}
+
+build() {
+ cd ${pkgname%-*}-${pkgver}
-# Build
if [[ -d build ]]; then
rm -rf build
fi
mkdir build && cd build
- cmake .. -DCMAKE_INSTALL_PREFIX=/usr -DYAB_PORTS=qt -DYAB_NETWORK=ON -DYAB_OPTIMIZED_DMA=on -DYAB_PERKEYNAME=ON
+
+ cmake .. -DCMAKE_INSTALL_PREFIX='/usr' -DCMAKE_BUILD_TYPE='Release' -DYAB_{PORTS='qt',{NETWORK,OPTIMIZED_DMA}='ON'}
make
}
package() {
- cd "${srcdir}"/${pkgname%-*}-${pkgver}/build
+ cd ${pkgname%-*}-${pkgver}/build
-# Install
make DESTDIR="${pkgdir}" install
}