[arch-commits] Commit in libretro-citra (3 files)

Maxime Gauduin alucryd at archlinux.org
Sun Dec 31 14:59:09 UTC 2017


    Date: Sunday, December 31, 2017 @ 14:59:08
  Author: alucryd
Revision: 277594

archrelease: copy trunk to community-x86_64

Added:
  libretro-citra/repos/
  libretro-citra/repos/community-x86_64/
  libretro-citra/repos/community-x86_64/PKGBUILD
    (from rev 277593, libretro-citra/trunk/PKGBUILD)

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

Copied: libretro-citra/repos/community-x86_64/PKGBUILD (from rev 277593, libretro-citra/trunk/PKGBUILD)
===================================================================
--- repos/community-x86_64/PKGBUILD	                        (rev 0)
+++ repos/community-x86_64/PKGBUILD	2017-12-31 14:59:08 UTC (rev 277594)
@@ -0,0 +1,85 @@
+# $Id$
+# Maintainer: Maxime Gauduin <alucryd at archlinux.org>
+
+pkgname=libretro-citra
+pkgver=5621
+pkgrel=1
+pkgdesc='Nintendo 3DS core'
+arch=('x86_64')
+url='https://github.com/libretro/citra'
+license=('GPL2')
+groups=('libretro')
+depends=('curl' 'gcc-libs' 'glibc' 'libretro-core-info')
+makedepends=('cmake' 'git')
+source=('libretro-citra::git+https://github.com/libretro/citra.git'
+        'citra-boost::git+https://github.com/citra-emu/ext-boost'
+        'git+https://github.com/philsquared/Catch'
+        'git+https://github.com/whoshuu/cpr'
+        'git+https://github.com/weidai11/cryptopp'
+        'git+https://github.com/MerryMage/dynarmic'
+        'git+https://github.com/lsalzman/enet'
+        'git+https://github.com/fmtlib/fmt'
+        'git+https://github.com/svn2github/inih'
+        'git+https://github.com/neobrain/nihstro'
+        'citra-soundtouch::git+https://github.com/citra-emu/ext-soundtouch'
+        'git+https://github.com/herumi/xbyak')
+sha256sums=('SKIP'
+            'SKIP'
+            'SKIP'
+            'SKIP'
+            'SKIP'
+            'SKIP'
+            'SKIP'
+            'SKIP'
+            'SKIP'
+            'SKIP'
+            'SKIP'
+            'SKIP')
+
+pkgver() {
+  cd libretro-citra
+
+  git rev-list --count HEAD
+}
+
+prepare() {
+  cd libretro-citra
+
+  if [[ -d build ]]; then
+    rm -rf build
+  fi
+  mkdir build
+
+  for submodule in externals/{catch,cpr,cryptopp/cryptopp,dynarmic,enet,fmt,inih/inih,nihstro,xbyak}; do
+    git submodule init ${submodule}
+    git config submodule.${submodule}.url ../${submodule##*/}
+    git submodule update
+  done
+  for submodule in externals/{boost,soundtouch}; do
+    git submodule init ${submodule}
+    git config submodule.${submodule}.url ../citra-${submodule##*/}
+    git submodule update
+  done
+}
+
+build() {
+  cd libretro-citra/build
+
+  cmake .. \
+    -DCMAKE_BUILD_TYPE='Release' \
+    -DDISABLE_LIBPNG='ON' \
+    -DENABLE_LIBRETRO='ON' \
+    -DENABLE_QT='OFF' \
+    -DENABLE_SDL2='OFF' \
+    -DENABLE_WEB_SERVICE='OFF' \
+    -DUSE_SYSTEM_CURL='ON'
+  make
+}
+
+package() {
+  cd libretro-citra/build
+
+  install -Dm 644 src/citra_libretro/citra_libretro.so -t "${pkgdir}"/usr/lib/libretro/
+}
+
+# vim: ts=2 sw=2 et:



More information about the arch-commits mailing list