[arch-commits] Commit in (3 files)

Maxime Gauduin alucryd at archlinux.org
Wed Jan 29 17:57:52 UTC 2020


    Date: Wednesday, January 29, 2020 @ 17:57:50
  Author: alucryd
Revision: 559135

add libretro-dolphin

Added:
  libretro-dolphin/
  libretro-dolphin/trunk/
  libretro-dolphin/trunk/PKGBUILD

----------+
 PKGBUILD |   55 +++++++++++++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 55 insertions(+)

Added: libretro-dolphin/trunk/PKGBUILD
===================================================================
--- libretro-dolphin/trunk/PKGBUILD	                        (rev 0)
+++ libretro-dolphin/trunk/PKGBUILD	2020-01-29 17:57:50 UTC (rev 559135)
@@ -0,0 +1,55 @@
+# Maintainer: Maxime Gauduin <alucryd at archlinux.org>
+
+pkgname=libretro-dolphin
+pkgver=29758
+pkgrel=1
+pkgdesc='Nintendo GC/Wii core'
+arch=(x86_64)
+url=https://github.com/libretro/dolphin
+license=(GPL2)
+groups=(libretro)
+depends=(
+  bluez-libs
+  hidapi
+  libretro-core-info
+  libudev.so
+  libx11
+  libxi
+  libxrandr
+  mbedtls
+  lzo
+  sfml
+  systemd-libs
+  zlib
+)
+makedepends=(
+  cmake
+  git
+  mesa
+  python
+)
+provides=(libretro-dolphin)
+conflicts=(libretro-dolphin)
+source=(libretro-dolphin::git+https://github.com/libretro/dolphin.git#commit=1fbd59911d1b718c142d6448dee3ede98152e395)
+sha256sums=(SKIP)
+
+pkgver() {
+  cd libretro-dolphin
+
+  git rev-list --count HEAD
+}
+
+build() {
+  cmake -S libretro-dolphin -B build \
+    -DCMAKE_BUILD_TYPE=None \
+    -DCMAKE_INSTALL_PREFIX=/usr \
+    -DLIBRETRO=ON \
+    -DLIBRETRO_STATIC=1
+  make -C build
+}
+
+package() {
+  install -Dm 644 build/dolphin_libretro.so -t "${pkgdir}"/usr/lib/libretro/
+}
+
+# vim: ts=2 sw=2 et:



More information about the arch-commits mailing list