[arch-commits] Commit in pcsx2/repos/community-x86_64 (3 files)

Maxime Gauduin alucryd at gemini.archlinux.org
Mon Dec 6 09:04:16 UTC 2021


    Date: Monday, December 6, 2021 @ 09:04:16
  Author: alucryd
Revision: 1065223

archrelease: copy trunk to community-x86_64

Added:
  pcsx2/repos/community-x86_64/PKGBUILD
    (from rev 1065222, pcsx2/trunk/PKGBUILD)
  pcsx2/repos/community-x86_64/pcsx2.install
    (from rev 1065222, pcsx2/trunk/pcsx2.install)
Deleted:
  pcsx2/repos/community-x86_64/PKGBUILD

---------------+
 PKGBUILD      |  211 ++++++++++++++++++++++++++++----------------------------
 pcsx2.install |   11 ++
 2 files changed, 119 insertions(+), 103 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2021-12-06 09:04:10 UTC (rev 1065222)
+++ PKGBUILD	2021-12-06 09:04:16 UTC (rev 1065223)
@@ -1,103 +0,0 @@
-# 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.2040
-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
-  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++
-)
-_tag=08b1b350db94e76b098e22f2074354c612e838f0
-source=(
-  git+https://github.com/PCSX2/pcsx2.git#tag=${_tag}
-  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//'
-}
-
-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:

Copied: pcsx2/repos/community-x86_64/PKGBUILD (from rev 1065222, pcsx2/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2021-12-06 09:04:16 UTC (rev 1065223)
@@ -0,0 +1,108 @@
+# 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.2101
+pkgrel=1
+pkgdesc='A Sony PlayStation 2 emulator'
+arch=(x86_64)
+url=https://www.pcsx2.net
+license=(
+  GPL2
+  GPL3
+  LGPL2.1
+  LGPL3
+)
+depends=(
+  gcc-libs
+  glibc
+  libaio
+  libasound.so
+  libcap
+  libfmt.so
+  libfreetype.so
+  libgdk-3.so
+  libgdk_pixbuf-2.0.so
+  libgio-2.0.so
+  libGLEW.so
+  libgl
+  libglib-2.0.so
+  libgobject-2.0.so
+  libgtk-3.so
+  libharfbuzz.so
+  libpcap.so
+  libpng
+  libportaudio.so
+  libpulse.so
+  libsamplerate.so
+  libudev.so
+  libx11
+  libxcb
+  libxml2
+  libxrandr
+  libyaml-cpp.so
+  sdl2
+  soundtouch
+  wxgtk3
+  wxgtk-common
+  xz
+  zlib
+)
+makedepends=(
+  cmake
+  git
+  ninja
+  png++
+)
+_tag=bb55c320c1427a4fe593b77386c2cea8d301e1ca
+source=(
+  git+https://github.com/PCSX2/pcsx2.git#tag=${_tag}
+  git+https://github.com/rtissera/libchdr.git
+)
+b2sums=(
+  SKIP
+  SKIP
+)
+install=pcsx2.install
+
+prepare() {
+  cd pcsx2/3rdparty
+  for submodule in libchdr/libchdr; 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//'
+}
+
+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 \
+    -DDISABLE_SETCAP=ON \
+    -DENABLE_TESTS=OFF \
+    -DLTO_PCSX2_CORE=ON \
+    -DPACKAGE_MODE=ON \
+    -DSDL2_API=ON \
+    -DUSE_SYSTEM_YAML=ON \
+    -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:

Copied: pcsx2/repos/community-x86_64/pcsx2.install (from rev 1065222, pcsx2/trunk/pcsx2.install)
===================================================================
--- pcsx2.install	                        (rev 0)
+++ pcsx2.install	2021-12-06 09:04:16 UTC (rev 1065223)
@@ -0,0 +1,11 @@
+post_install() {
+  echo 'Enabling networking capabilities'
+  setcap 'CAP_NET_ADMIN+eip CAP_NET_RAW+eip' usr/bin/PCSX2
+}
+
+post_upgrade() {
+  echo 'Enabling networking capabilities'
+  setcap 'CAP_NET_ADMIN+eip CAP_NET_RAW+eip' usr/bin/PCSX2
+}
+
+# vim: ts=2 sw=2 et:



More information about the arch-commits mailing list