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

Maxime Gauduin alucryd at gemini.archlinux.org
Mon Jul 19 09:39:38 UTC 2021


    Date: Monday, July 19, 2021 @ 09:39:38
  Author: alucryd
Revision: 978605

archrelease: copy trunk to community-staging-x86_64

Added:
  pcsx2/repos/community-staging-x86_64/
  pcsx2/repos/community-staging-x86_64/PKGBUILD
    (from rev 978604, pcsx2/trunk/PKGBUILD)

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

Copied: pcsx2/repos/community-staging-x86_64/PKGBUILD (from rev 978604, pcsx2/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD	                        (rev 0)
+++ community-staging-x86_64/PKGBUILD	2021-07-19 09:39:38 UTC (rev 978605)
@@ -0,0 +1,103 @@
+# Maintainer: Maxime Gauduin <alucryd at archlinux.org>
+# Contributor: josephgbr <rafael.f.f1 at gmail.com>
+# Contributor: vEX <vex at niechift.com>
+
+pkgname=pcsx2
+pkgver=1.7.0.r1505.2e411a601
+pkgrel=2
+pkgdesc='A Sony PlayStation 2 emulator'
+arch=(x86_64)
+url=https://www.pcsx2.net
+license=(
+  GPL2
+  GPL3
+  LGPL2.1
+  LGPL3
+)
+depends=(
+  gdk-pixbuf2
+  glibc
+  libaio
+  libasound.so
+  libfmt.so
+  libfreetype.so
+  libgdk-3.so
+  libgio-2.0.so
+  libgl
+  libGLEW.so
+  libglib-2.0.so
+  libgobject-2.0.so
+  libgtk-3.so
+  libpcap
+  libpng
+  libportaudio.so
+  libpulse.so
+  libudev.so
+  libx11
+  libxcb
+  libxml2
+  sdl2
+  soundtouch
+  wxgtk3
+  wxgtk-common
+  xz
+  zlib
+)
+makedepends=(
+  cmake
+  git
+  ninja
+  png++
+)
+_commit=2e411a6019434c0306b3e83dc79c5d8a17c4bbb8
+source=(
+  git+https://github.com/PCSX2/pcsx2.git#commit=${_commit}
+  git+https://github.com/rtissera/libchdr.git
+  git+https://github.com/jbeder/yaml-cpp.git
+)
+b2sums=(
+  SKIP
+  SKIP
+  SKIP
+)
+
+prepare() {
+  cd pcsx2/3rdparty
+  for submodule in libchdr/libchdr yaml-cpp/yaml-cpp; do
+    git submodule init ${submodule}
+    git config submodule.${submodule}.url ../../${submodule#*/}
+    git submodule update ${submodule}
+  done
+}
+
+pkgver() {
+  cd pcsx2
+
+  git describe --tags | sed 's/^v//; s/-dev//; s/-/.r/; s/-g/./'
+}
+
+build() {
+  cmake -S pcsx2 -B build -G Ninja \
+    -DCMAKE_BUILD_TYPE=Release \
+    -DCMAKE_INSTALL_PREFIX=/usr \
+    -DDISABLE_ADVANCE_SIMD=ON \
+    -DDISABLE_BUILD_DATE=ON \
+    -DDISABLE_PCSX2_WRAPPER=ON \
+    -DENABLE_TESTS=OFF \
+    -DSDL2_API=ON \
+    -DPACKAGE_MODE=ON \
+    -DREBUILD_SHADER=ON \
+    -DUSE_LTO=OFF \
+    -DUSE_SYSTEM_YAML=OFF \
+    -DUSE_VTUNE=OFF \
+    -DXDG_STD=ON \
+    -DwxWidgets_CONFIG_EXECUTABLE=/usr/bin/wx-config-gtk3 \
+    -Wno-dev
+  ninja -C build
+}
+
+package() {
+  DESTDIR="${pkgdir}" ninja -C build install
+}
+
+# vim: ts=2 sw=2 et:




More information about the arch-commits mailing list