[arch-commits] Commit in libretro-play/repos (2 files)

Evangelos Foutras foutrelis at archlinux.org
Sat Apr 25 17:38:34 UTC 2020


    Date: Saturday, April 25, 2020 @ 17:38:34
  Author: foutrelis
Revision: 621024

archrelease: copy trunk to community-staging-x86_64

Added:
  libretro-play/repos/community-staging-x86_64/
  libretro-play/repos/community-staging-x86_64/PKGBUILD
    (from rev 621023, libretro-play/trunk/PKGBUILD)

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

Copied: libretro-play/repos/community-staging-x86_64/PKGBUILD (from rev 621023, libretro-play/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD	                        (rev 0)
+++ community-staging-x86_64/PKGBUILD	2020-04-25 17:38:34 UTC (rev 621024)
@@ -0,0 +1,91 @@
+# Maintainer: Maxime Gauduin <alucryd at archlinux.org>
+
+pkgname=libretro-play
+pkgver=5553
+pkgrel=2
+pkgdesc='Sony PlayStation 2 core'
+arch=(x86_64)
+url=https://github.com/jpd002/Play-
+license=(MIT)
+groups=(libretro)
+depends=(
+  bzip2
+  glew
+  glibc
+  icu
+  libgl
+  libretro-core-info
+  zlib
+)
+makedepends=(
+  cmake
+  git
+  libglvnd
+)
+source=(
+  libretro-play::git+https://github.com/jpd002/Play-.git#commit=1c03930455de52c5cfcb1cd3e2fad3aaacc2308a
+  play-CodeGen::git+https://github.com/jpd002/Play--CodeGen.git
+  play-Dependencies::git+https://github.com/jpd002/Play-Dependencies.git
+  play-Framework::git+https://github.com/jpd002/Play--Framework.git
+  play-Nuanceur::git+https://github.com/jpd002/Nuanceur.git
+  git+https://github.com/SDWebImage/SDWebImage.git
+  play-boost-cmake::git+https://github.com/jpd002/boost-cmake.git
+  git+https://github.com/gulrak/filesystem.git
+)
+sha256sums=(
+  SKIP
+  SKIP
+  SKIP
+  SKIP
+  SKIP
+  SKIP
+  SKIP
+  SKIP
+)
+
+pkgver() {
+  cd libretro-play
+
+  git rev-list --count HEAD
+}
+
+prepare() {
+  cd libretro-play
+
+  for submodule in deps/{CodeGen,Dependencies,Framework,Nuanceur}; do
+    git submodule init ${submodule}
+    git config submodule.${submodule}.url ../play-${submodule#*/}
+    git submodule update ${submodule}
+  done
+
+  cd deps/Dependencies
+
+  git submodule init SDWebImage
+  git config submodule.SDWebImage.url ../../../SDWebImage
+  git submodule update SDWebImage
+
+  git submodule init boost-cmake
+  git config submodule.boost-cmake.url ../../../play-boost-cmake
+  git submodule update boost-cmake
+
+  git submodule init ghc_filesystem
+  git config submodule.ghc_filesystem.url ../../../filesystem
+  git submodule update ghc_filesystem
+}
+
+build() {
+  cmake -S libretro-play -B build \
+    -DCMAKE_BUILD_TYPE=Release \
+    -DBUILD_LIBRETRO_CORE=ON \
+    -DBUILD_PLAY=OFF \
+    -DBUILD_TESTS=OFF \
+    -DENABLE_AMAZON_S3=OFF
+  make -C build
+}
+
+package() {
+  install -Dm 644 build/Source/ui_libretro/play_libretro.so -t "${pkgdir}"/usr/lib/libretro/
+  install -Dm 644 libretro-play/License.txt -t "${pkgdir}"/usr/share/licenses/libretro-play/
+}
+
+# vim: ts=2 sw=2 et:



More information about the arch-commits mailing list