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


Commits:
450c3f06 by Robin Candau at 2026-02-03T10:05:27+01:00
upgpkg: 0.5.19-9: Backport a part to fix archive extraction with python 3.14

See 
https://github.com/lutris/lutris/commit/4cef2407288fd0219eba684c7b24451eeaf35fef

Fixes 
https://gitlab.archlinux.org/archlinux/packaging/packages/lutris/-/issues/10

- - - - -


3 changed files:

- .SRCINFO
- PKGBUILD
- REUSE.toml


Changes:

=====================================
.SRCINFO
=====================================
@@ -1,7 +1,7 @@
 pkgbase = lutris
        pkgdesc = Open Gaming Platform
        pkgver = 0.5.19
-       pkgrel = 8
+       pkgrel = 9
        url = https://lutris.net
        arch = any
        license = GPL-3.0-only
@@ -68,7 +68,9 @@ pkgbase = lutris
        optdepends = umu-launcher: For running games through Proton
        source = git+https://github.com/lutris/lutris.git#tag=v0.5.19
        source = git+https://github.com/bartok765/galaxy_blizzard_plugin.git
+       source = 
fix_archive_extraction_python_3.14.patch::https://github.com/lutris/lutris/commit/4cef2407288fd0219eba684c7b24451eeaf35fef.patch?full_index=1
        sha256sums = 
e0349f6c127e9da4a935d84fa73370c353cd08e513160e28b1da13db94cc9d8c
        sha256sums = SKIP
+       sha256sums = 
6e52c552f0b2a08e420151f897180bf895a62daf94e38511f3f4ab48357d21af
 
 pkgname = lutris


=====================================
PKGBUILD
=====================================
@@ -5,7 +5,7 @@
 
 pkgname=lutris
 pkgver=0.5.19
-pkgrel=8
+pkgrel=9
 pkgdesc='Open Gaming Platform'
 arch=(any)
 url=https://lutris.net
@@ -80,9 +80,11 @@ optdepends=(
   'umu-launcher: For running games through Proton'
 )
 source=("git+https://github.com/lutris/lutris.git#tag=v${pkgver}";
-        "git+https://github.com/bartok765/galaxy_blizzard_plugin.git";)
+        "git+https://github.com/bartok765/galaxy_blizzard_plugin.git";
+        
"fix_archive_extraction_python_3.14.patch::https://github.com/lutris/lutris/commit/4cef2407288fd0219eba684c7b24451eeaf35fef.patch?full_index=1";)
 sha256sums=('e0349f6c127e9da4a935d84fa73370c353cd08e513160e28b1da13db94cc9d8c'
-            'SKIP')
+            'SKIP'
+            '6e52c552f0b2a08e420151f897180bf895a62daf94e38511f3f4ab48357d21af')
 
 prepare() {
   # Regenerate protos to fix BattleNet plugin
@@ -90,6 +92,11 @@ prepare() {
   # And https://github.com/lutris/lutris/issues/5659
   protoc --proto_path=galaxy_blizzard_plugin/src --python_out=. 
product_db.proto
   cp -vf product_db_pb2.py lutris/lutris/util/battlenet/product_db_pb2.py
+
+  # Fix archive extraction with python 3.14
+  # See 
https://github.com/lutris/lutris/commit/4cef2407288fd0219eba684c7b24451eeaf35fef
+  cd lutris
+  patch -Np1 -i "${srcdir}/fix_archive_extraction_python_3.14.patch"
 }
 
 build() {


=====================================
REUSE.toml
=====================================
@@ -6,10 +6,13 @@ path = [
     "README.md",
     "keys/**",
     ".SRCINFO",
+    ".gitignore",
     ".nvchecker.toml",
     "*.install",
     "*.sysusers",
+    "*sysusers.conf",
     "*.tmpfiles",
+    "*tmpfiles.conf",
     "*.logrotate",
     "*.pam",
     "*.service",



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

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


Reply via email to