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

Maxime Gauduin alucryd at archlinux.org
Tue Sep 1 14:10:48 UTC 2020


    Date: Tuesday, September 1, 2020 @ 14:10:47
  Author: alucryd
Revision: 695520

archrelease: copy trunk to community-testing-x86_64

Added:
  pcsx2/repos/community-testing-x86_64/
  pcsx2/repos/community-testing-x86_64/PKGBUILD
    (from rev 695518, pcsx2/trunk/PKGBUILD)

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

Copied: pcsx2/repos/community-testing-x86_64/PKGBUILD (from rev 695518, pcsx2/trunk/PKGBUILD)
===================================================================
--- community-testing-x86_64/PKGBUILD	                        (rev 0)
+++ community-testing-x86_64/PKGBUILD	2020-09-01 14:10:47 UTC (rev 695520)
@@ -0,0 +1,95 @@
+# 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.r202.9c0865c0f
+pkgrel=1
+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
+  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
+  libudev.so
+  libx11
+  libxcb
+  libxml2
+  nvidia-cg-toolkit
+  sdl2
+  soundtouch
+  wxgtk3
+  wxgtk-common
+  xz
+  zlib
+)
+makedepends=(
+  clang
+  cmake
+  git
+  ninja
+  png++
+)
+_commit=9c0865c0f486ee7dfb15669b3488248590d0b11a
+source=(git+https://github.com/PCSX2/pcsx2.git#commit=${_commit})
+sha256sums=(SKIP)
+
+pkgver() {
+  cd pcsx2
+
+  git describe --tags | sed 's/^v//; s/-dev//; s/-/.r/; s/-g/./'
+}
+
+build() {
+  export CC=clang
+  export CXX=clang++
+  export CFLAGS="$CFLAGS -Wno-argument-outside-range"
+  export CXXFLAGS="$CXXFLAGS -Wno-argument-outside-range"
+
+  cmake -S pcsx2 -B build -G Ninja \
+    -DCMAKE_BUILD_TYPE=Release \
+    -DCMAKE_INSTALL_PREFIX=/usr \
+    -DDOC_DIR=/usr/share/doc/pcsx2 \
+    -DGAMEINDEX_DIR=/usr/share/pcsx2 \
+    -DPLUGIN_DIR=/usr/lib/pcsx2 \
+    -DDISABLE_ADVANCE_SIMD=ON \
+    -DDISABLE_BUILD_DATE=ON \
+    -DDISABLE_PCSX2_WRAPPER=ON \
+    -DEXTRA_PLUGINS=ON \
+    -DGTK3_API=ON \
+    -DOPENCL_API=OFF \
+    -DSDL2_API=ON \
+    -DPACKAGE_MODE=ON \
+    -DREBUILD_SHADER=ON \
+    -DUSE_LTO=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