Robin Candau pushed to branch main at Arch Linux / Packaging / Packages / lutris


Commits:
21923d60 by Robin Candau at 2023-10-29T12:21:07+01:00
upgpkg: 0.5.14-1: New upstream release + Add missing checkdeps + Add a tmp 
patch to fix scummvm tests
Add the missing checkdepends: fluidsynt, vulkan-tools and pciutils

Also add a temporary patch to fix the scummvm tests, see the following link for 
more details:
https://github.com/lutris/lutris/pull/5086

- - - - -


2 changed files:

- .SRCINFO
- PKGBUILD


Changes:

=====================================
.SRCINFO
=====================================
@@ -1,7 +1,7 @@
 pkgbase = lutris
        pkgdesc = Open Gaming Platform
-       pkgver = 0.5.13
-       pkgrel = 6
+       pkgver = 0.5.14
+       pkgrel = 1
        url = https://lutris.net
        arch = any
        license = GPL3
@@ -9,6 +9,9 @@ pkgbase = lutris
        checkdepends = wine
        checkdepends = xorg-server-xvfb
        checkdepends = xterm
+       checkdepends = fluidsynth
+       checkdepends = vulkan-tools
+       checkdepends = pciutils
        makedepends = git
        makedepends = meson
        makedepends = ninja
@@ -54,7 +57,9 @@ pkgbase = lutris
        optdepends = vulkan-tools: Vulkan support
        optdepends = wine: Windows support
        optdepends = xorg-xgamma: Restore gamma on game exit
-       source = 
git+https://github.com/lutris/lutris.git#tag=8241e2c3a71a7decb9670031ee6ceedd0d33e7ac
+       source = 
git+https://github.com/lutris/lutris.git#tag=ba9c0aea5a9db54dca2bc39dc7e9bad5c6a566b5
+       source = 
fix-scummvm-tests.patch::https://github.com/lutris/lutris/commit/7efc304f595a9547bb4f01a823250d95b7722506.patch
        b2sums = SKIP
+       b2sums = 
ace0ada78a15e6b1f0540f6a9da83d272eb3810761ada8a0ed77b92cf86da1730e5d51aef9234e3103751aa48bb262fe3812c033cd68e483050459ce98bdcf20
 
 pkgname = lutris


=====================================
PKGBUILD
=====================================
@@ -1,10 +1,11 @@
 # Maintainer: Filipe Laíns (FFY00) <la...@archlinux.org>
 # Maintainer: Maxime Gauduin <aluc...@archlinux.org>
+# Maintainer: Robin Candau <an...@archlinux.org>
 # Contributor: Frederik “Freso” S. Olesen <freso...@gmail.com>
 
 pkgname=lutris
-pkgver=0.5.13
-pkgrel=6
+pkgver=0.5.14
+pkgrel=1
 pkgdesc='Open Gaming Platform'
 arch=(any)
 url=https://lutris.net
@@ -51,6 +52,9 @@ checkdepends=(
   wine
   xorg-server-xvfb
   xterm
+  fluidsynth
+  vulkan-tools
+  pciutils
 )
 optdepends=(
   'gamemode: Allows games to request a temporary set of optimisations'
@@ -66,15 +70,25 @@ optdepends=(
   'wine: Windows support'
   'xorg-xgamma: Restore gamma on game exit'
 )
-_tag=8241e2c3a71a7decb9670031ee6ceedd0d33e7ac
-source=(git+https://github.com/lutris/lutris.git#tag=${_tag})
-b2sums=(SKIP)
+_tag=ba9c0aea5a9db54dca2bc39dc7e9bad5c6a566b5
+source=(git+https://github.com/lutris/lutris.git#tag=${_tag}
+        
fix-scummvm-tests.patch::https://github.com/lutris/lutris/commit/7efc304f595a9547bb4f01a823250d95b7722506.patch)
+b2sums=('SKIP'
+        
'ace0ada78a15e6b1f0540f6a9da83d272eb3810761ada8a0ed77b92cf86da1730e5d51aef9234e3103751aa48bb262fe3812c033cd68e483050459ce98bdcf20')
 
 pkgver() {
   cd lutris
   git describe --tags | sed 's/^v//'
 }
 
+prepare() {
+  cd lutris
+
+  # The scummvm tests would fail on a system where scummvm is not available, 
because 
https://github.com/K900/lutris/blob/7efc304f595a9547bb4f01a823250d95b7722506/lutris/runners/scummvm.py#L487
 attempted to access an element from an empty list. Fix that by propagating the 
empty list, and use mocks to ensure we test both cases.
+  # https://github.com/lutris/lutris/pull/5086
+  patch -Np1 <${srcdir}/fix-scummvm-tests.patch
+}
+
 build() {
   arch-meson lutris build
   ninja -C build



View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/lutris/-/commit/21923d60fc1b6434ec9bc5264f5443bf776008fe

-- 
View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/lutris/-/commit/21923d60fc1b6434ec9bc5264f5443bf776008fe
You're receiving this email because of your account on gitlab.archlinux.org.


Reply via email to