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


Commits:
65ca0398 by Robin Candau at 2024-04-05T08:58:52+02:00
upgpkg: 0.5.16-2: Add .nvchecker.toml + Switch license to SPDX identifier + 
Switch to pkgver based sources + Add a temporary patch to fix an issue when 
refreshing Steam library

- - - - -


3 changed files:

- .SRCINFO
- + .nvchecker.toml
- PKGBUILD


Changes:

=====================================
.SRCINFO
=====================================
@@ -1,10 +1,10 @@
 pkgbase = lutris
        pkgdesc = Open Gaming Platform
        pkgver = 0.5.16
-       pkgrel = 1
+       pkgrel = 2
        url = https://lutris.net
        arch = any
-       license = GPL3
+       license = GPL-3.0-only
        checkdepends = python-nose-cover3
        checkdepends = xorg-server-xvfb
        checkdepends = xterm
@@ -56,7 +56,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=85871982bc0b2852b4875374271547536fa1f6b1
-       b2sums = SKIP
+       source = git+https://github.com/lutris/lutris.git#tag=v0.5.16
+       source = 
fix_refresh_steam_library.patch::https://github.com/lutris/lutris/commit/d6faf75fb370a004b80539466a7cd0beedcf5e5c.patch
+       sha256sums = 
eb675cd7c1f172ad93b8230fa270c800a0402b17bfcad1a6565d4dd95c91d4fd
+       sha256sums = 
f6564979af07a343aebb475b304fad54f3fd512ba367667d334b1288bbf5dc91
 
 pkgname = lutris


=====================================
.nvchecker.toml
=====================================
@@ -0,0 +1,6 @@
+[lutris]
+source = "github"
+github = "lutris/lutris"
+prefix = "v"
+use_max_tag = true
+exclude_regex = ".*(pre|a|alpha|b|beta|r|rc).*"


=====================================
PKGBUILD
=====================================
@@ -5,11 +5,11 @@
 
 pkgname=lutris
 pkgver=0.5.16
-pkgrel=1
+pkgrel=2
 pkgdesc='Open Gaming Platform'
 arch=(any)
 url=https://lutris.net
-license=(GPL3)
+license=(GPL-3.0-only)
 depends=(
   cabextract
   curl
@@ -69,13 +69,16 @@ optdepends=(
   'wine: Windows support'
   'xorg-xgamma: Restore gamma on game exit'
 )
-_tag=85871982bc0b2852b4875374271547536fa1f6b1
-source=(git+https://github.com/lutris/lutris.git#tag=${_tag})
-b2sums=('SKIP')
+source=("git+https://github.com/lutris/lutris.git#tag=v${pkgver}";
+        
fix_refresh_steam_library.patch::https://github.com/lutris/lutris/commit/d6faf75fb370a004b80539466a7cd0beedcf5e5c.patch)
+sha256sums=('eb675cd7c1f172ad93b8230fa270c800a0402b17bfcad1a6565d4dd95c91d4fd'
+            'f6564979af07a343aebb475b304fad54f3fd512ba367667d334b1288bbf5dc91')
 
-pkgver() {
+prepare() {
   cd lutris
-  git describe --tags | sed 's/^v//'
+  # Temporary patch to fix an issue when trying to refresh Steam library
+  # See https://github.com/lutris/lutris/issues/5248
+  patch -Np1 < "${srcdir}/fix_refresh_steam_library.patch"
 }
 
 build() {



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

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


Reply via email to