[arch-commits] Commit in libretro-mednafen-psx/trunk (PKGBUILD)

Maxime Gauduin alucryd at archlinux.org
Sun Feb 5 14:38:47 UTC 2017


    Date: Sunday, February 5, 2017 @ 14:38:46
  Author: alucryd
Revision: 209995

upgpkg: libretro-mednafen-psx 1430-1

Modified:
  libretro-mednafen-psx/trunk/PKGBUILD

----------+
 PKGBUILD |   29 ++++++++++++++++++++++-------
 1 file changed, 22 insertions(+), 7 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2017-02-05 14:29:07 UTC (rev 209994)
+++ PKGBUILD	2017-02-05 14:38:46 UTC (rev 209995)
@@ -1,8 +1,9 @@
 # $Id$
 # Maintainer: Maxime Gauduin <alucryd at archlinux.org>
 
-pkgname=libretro-mednafen-psx
-pkgver=1250
+pkgbase=libretro-mednafen-psx
+pkgname=('libretro-mednafen-psx' 'libretro-mednafen-psx-hw')
+pkgver=1430
 pkgrel=1
 pkgdesc='Sony PlayStation core'
 arch=('i686' 'x86_64')
@@ -10,11 +11,14 @@
 license=('GPL2')
 groups=('libretro')
 depends=('gcc-libs' 'glibc')
-makedepends=('git')
-source=('libretro-mednafen-psx::git+https://github.com/libretro/beetle-psx-libretro.git'
-        'https://raw.githubusercontent.com/libretro/libretro-super/master/dist/info/mednafen_psx_libretro.info')
+makedepends=('git' 'libgl' 'mesa' 'vulkan-icd-loader')
+_commit='e3aae3d47a830cb7ce3f6ee604d1dd75d4ac1be9'
+source=("libretro-mednafen-psx::git+https://github.com/libretro/beetle-psx-libretro.git#commit=${_commit}"
+        'https://raw.githubusercontent.com/libretro/libretro-super/master/dist/info/mednafen_psx_libretro.info'
+        'https://raw.githubusercontent.com/libretro/libretro-super/master/dist/info/mednafen_psx_hw_libretro.info')
 sha256sums=('SKIP'
-            '8517d3ddd709d6ffec1b41b2d05d91d0f60ba434ac2b029d834db405960e0a7d')
+            '62a5cc23016b0de899e3a5014540d39d912f08c34b20ed6e10ddae8c11f1ba5d'
+            '0eacb7ea75df0bb6f458754290ed7ab21e197e170fe3e80579b8161782963df1')
 
 pkgver() {
   cd libretro-mednafen-psx
@@ -26,9 +30,10 @@
   cd libretro-mednafen-psx
 
   make
+  make HAVE_HW=1
 }
 
-package() {
+package_libretro-mednafen-psx() {
   cd libretro-mednafen-psx
 
   install -dm 755 "${pkgdir}"/usr/{lib/libretro,share/libretro/info}
@@ -36,4 +41,14 @@
   install -m 644 ../mednafen_psx_libretro.info "${pkgdir}"/usr/share/libretro/info/
 }
 
+package_libretro-mednafen-psx-hw() {
+  depends+=('libgl')
+
+  cd libretro-mednafen-psx
+
+  install -dm 755 "${pkgdir}"/usr/{lib/libretro,share/libretro/info}
+  install -m 644 mednafen_psx_hw_libretro.so "${pkgdir}"/usr/lib/libretro/
+  install -m 644 ../mednafen_psx_hw_libretro.info "${pkgdir}"/usr/share/libretro/info/
+}
+
 # vim: ts=2 sw=2 et:



More information about the arch-commits mailing list