summaryrefslogtreecommitdiff
path: root/community/yabause-gtk
diff options
context:
space:
mode:
authorNicolás Reynolds <fauno@endefensadelsl.org>2013-12-27 23:55:53 +0000
committerNicolás Reynolds <fauno@endefensadelsl.org>2013-12-27 23:55:53 +0000
commit65eeff79fff8a1bfdf67ca51d147384f46f4d5c0 (patch)
treefbfdff322b28d9a3c37e6e31c94caf1d8e48dac1 /community/yabause-gtk
parentd53c44f055929b18d7d1b25f8367ee5836c435fc (diff)
Fri Dec 27 23:54:04 UTC 2013
Diffstat (limited to 'community/yabause-gtk')
-rwxr-xr-xcommunity/yabause-gtk/PKGBUILD25
1 files changed, 14 insertions, 11 deletions
diff --git a/community/yabause-gtk/PKGBUILD b/community/yabause-gtk/PKGBUILD
index 64e3e1852..55d4c6681 100755
--- a/community/yabause-gtk/PKGBUILD
+++ b/community/yabause-gtk/PKGBUILD
@@ -1,4 +1,4 @@
-# $Id: PKGBUILD 86073 2013-03-11 21:44:40Z alucryd $
+# $Id: PKGBUILD 102820 2013-12-21 04:37:57Z alucryd $
# Maintainer: Maxime Gauduin <alucryd@gmail.com>
# Contributor: Harley Laue <losinggeneration@gmail.com>
# Contributor: Hyacinthe Cartiaux <hyacinthe.cartiaux@free.fr>
@@ -7,8 +7,8 @@
# Contributor: robb_force <robb_force@holybuffalo.net>
pkgname=yabause-gtk
-pkgver=0.9.12
-pkgrel=2
+pkgver=0.9.13
+pkgrel=1
pkgdesc='A Sega Saturn emulator'
arch=('i686' 'x86_64')
url="http://yabause.org/"
@@ -17,26 +17,29 @@ depends=('freeglut' 'gtkglext' 'openal' 'sdl')
makedepends=('cmake' 'mesa')
conflicts=('yabause-qt')
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=gtk -DYAB_NETWORK=ON -DYAB_OPTIMIZED_DMA=on -DYAB_PERKEYNAME=ON
+
+ cmake .. -DCMAKE_INSTALL_PREFIX='/usr' -DCMAKE_BUILD_TYPE='Release' -DYAB_{PORTS='gtk',{NETWORK,OPTIMIZED_DMA}='ON'}
make
}
package() {
- cd "${srcdir}"/${pkgname%-*}-${pkgver}/build
+ cd ${pkgname%-*}-${pkgver}/build
# Install
make DESTDIR="${pkgdir}" install