lutris: update to 0.5.8.3.

This commit is contained in:
Paper 2021-04-03 11:33:00 +02:00 committed by Érico Nogueira Rolim
parent a7666e0bfe
commit 0681475e4f
2 changed files with 3 additions and 25 deletions

View File

@ -1,22 +0,0 @@
upstream: yes
--- lutris/util/wine/dxvk.py
+++ lutris/util/wine/dxvk.py
@@ -53,7 +53,8 @@ def version(self):
"""Return version of DXVK (latest known version if not provided)"""
if self._version:
return self._version
- return self.versions[0]
+ if self.versions:
+ return self.versions[0]
@property
def dxvk_path(self):
@@ -62,6 +62,8 @@ def dxvk_path(self):
def load_dxvk_versions(self):
versions_path = os.path.join(self.base_dir, "dxvk_versions.json")
+ if not system.path_exists(versions_path):
+ return []
with open(versions_path, "r") as dxvk_version_file:
dxvk_versions = [v["tag_name"] for v in json.load(dxvk_version_file)]
return dxvk_versions

View File

@ -1,7 +1,7 @@
# Template file for 'lutris'
pkgname=lutris
version=0.5.8.2
revision=3
version=0.5.8.3
revision=1
build_style=meson
hostmakedepends="gettext python3-setuptools python3-gobject gtk+3-devel"
depends="python3-dbus python3-gobject python3-yaml python3-evdev python3-Pillow
@ -13,4 +13,4 @@ license="GPL-3.0-or-later"
homepage="https://lutris.net"
changelog="https://raw.githubusercontent.com/lutris/lutris/master/debian/changelog"
distfiles="https://github.com/lutris/lutris/archive/v${version}.tar.gz"
checksum=6c2ac4810764fbae9fc6b4e68fb76c47371046ac4e5bdf9e7fcd9777d1b9d8c7
checksum=2459db033c8648598c1a19718807b4978a165ff11b40050162ed005b44a52cd3