diff options
-rw-r--r-- | pcr/yabause/PKGBUILD | 30 |
1 files changed, 22 insertions, 8 deletions
diff --git a/pcr/yabause/PKGBUILD b/pcr/yabause/PKGBUILD index 255dee266..0b80f72f9 100644 --- a/pcr/yabause/PKGBUILD +++ b/pcr/yabause/PKGBUILD @@ -1,26 +1,40 @@ -# Maintainer: Anton Shestakov <engored*ya.ru> +# Maintainer : Harley Laue <losinggeneration@gmail.com> +# Contributor: Hyacinthe Cartiaux <hyacinthe.cartiaux@free.fr> +# Contributor: Anton Shestakov <engored*ya.ru> # Contributor: Tiago Camargo <tcamargo@gmail.com> # Contributor: robb_force <robb_force@holybuffalo.net> pkgname=yabause -pkgver=0.9.11.1 +pkgver=0.9.12 pkgrel=1 pkgdesc='A Sega Saturn emulator.' url='http://yabause.org/' license=('GPL') arch=('i686' 'x86_64') -depends=('gtkglext' 'sdl' 'freeglut' 'glu') -makedepends=('mesa') +makedepends=('cmake' 'mesa' 'glu') +depends=('sdl' 'qt' 'openal' 'freeglut') source=("http://downloads.sourceforge.net/${pkgname}/${pkgname}-${pkgver}.tar.gz") -md5sums=('86c728fe3efda655a28c645714e4b8f4') +md5sums=('c7876c04489f8a1b59b3166598084cb8') build() { cd "${srcdir}/${pkgname}-${pkgver}" - ./autogen.sh - ./configure --prefix=/usr LIBS="-lm" + + [ -e build ] && rm -rf build + mkdir build + cd build + cmake \ + -DCMAKE_BUILD_TYPE=RelWithDebInfo \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DYAB_PORTS=qt \ + -DYAB_MULTIBUILD=OFF \ + -DYAB_NETWORK=ON \ + -DYAB_OPTIMIZED_DMA=on \ + -DYAB_PERKEYNAME=ON \ + .. + make } package() { - cd "${srcdir}/${pkgname}-${pkgver}" + cd "${srcdir}/${pkgname}-${pkgver}/build" make DESTDIR="${pkgdir}" install } |