[arch-commits] Commit in libretro-beetle-psx/repos (2 files)
Felix Yan
felixonmars at gemini.archlinux.org
Sun Mar 6 16:02:00 UTC 2022
Date: Sunday, March 6, 2022 @ 16:01:59
Author: felixonmars
Revision: 1142671
archrelease: copy trunk to community-staging-x86_64
Added:
libretro-beetle-psx/repos/community-staging-x86_64/
libretro-beetle-psx/repos/community-staging-x86_64/PKGBUILD
(from rev 1142669, libretro-beetle-psx/trunk/PKGBUILD)
----------+
PKGBUILD | 63 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 63 insertions(+)
Copied: libretro-beetle-psx/repos/community-staging-x86_64/PKGBUILD (from rev 1142669, libretro-beetle-psx/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD (rev 0)
+++ community-staging-x86_64/PKGBUILD 2022-03-06 16:01:59 UTC (rev 1142671)
@@ -0,0 +1,63 @@
+# Maintainer: Maxime Gauduin <alucryd at archlinux.org>
+
+pkgbase=libretro-beetle-psx
+pkgname=(
+ libretro-beetle-psx
+ libretro-beetle-psx-hw
+)
+pkgver=2599
+pkgrel=2
+pkgdesc='Sony PlayStation core'
+arch=(x86_64)
+url=https://github.com/libretro/beetle-psx-libretro
+license=(GPL2)
+groups=(libretro)
+depends=(
+ libretro-core-info
+ zlib
+)
+makedepends=(
+ git
+ libglvnd
+ mesa
+ vulkan-icd-loader
+)
+_commit=8b853cdc4e2d08e673f9928c7a289e2cf6ed1889
+source=(libretro-beetle-psx::git+https://github.com/libretro/beetle-psx-libretro.git#commit=${_commit})
+sha256sums=(SKIP)
+
+pkgver() {
+ cd libretro-beetle-psx
+
+ git rev-list --count HEAD
+}
+
+prepare() {
+ cp -r libretro-beetle-psx{,-hw}
+}
+
+build() {
+ make \
+ HAVE_LIGHTREC=1 \
+ SYSTEM_LIBCHDR=0 \
+ SYSTEM_ZLIB=1 \
+ -C libretro-beetle-psx
+ make \
+ HAVE_HW=1 \
+ HAVE_LIGHTREC=1 \
+ SYSTEM_LIBCHDR=0 \
+ SYSTEM_ZLIB=1 \
+ -C libretro-beetle-psx-hw
+}
+
+package_libretro-beetle-psx() {
+ install -Dm 644 libretro-beetle-psx/mednafen_psx_libretro.so -t "${pkgdir}"/usr/lib/libretro/
+}
+
+package_libretro-beetle-psx-hw() {
+ depends+=(libgl)
+
+ install -Dm 644 libretro-beetle-psx-hw/mednafen_psx_hw_libretro.so -t "${pkgdir}"/usr/lib/libretro/
+}
+
+# vim: ts=2 sw=2 et:
More information about the arch-commits
mailing list