lutris: update to 0.5.12
This commit is contained in:
parent
b32c0d6d14
commit
a45bb4e430
2 changed files with 4 additions and 27 deletions
|
@ -1,23 +0,0 @@
|
||||||
upstreamed in https://github.com/lutris/lutris/pull/4496
|
|
||||||
|
|
||||||
--- a/lutris/util/system.py
|
|
||||||
+++ b/lutris/util/system.py
|
|
||||||
@@ -431,9 +431,15 @@
|
|
||||||
|
|
||||||
def get_locale_list():
|
|
||||||
"""Return list of available locales"""
|
|
||||||
- with subprocess.Popen(['locale', '-a'], stdout=subprocess.PIPE) as locale_getter:
|
|
||||||
- output = locale_getter.communicate()
|
|
||||||
- locales = output[0].decode('ASCII').split() # locale names use only ascii characters
|
|
||||||
+ try:
|
|
||||||
+ with subprocess.Popen(['locale', '-a'], stdout=subprocess.PIPE) as locale_getter:
|
|
||||||
+ output = locale_getter.communicate()
|
|
||||||
+ locales = output[0].decode('ASCII').split() # locale names use only ascii characters
|
|
||||||
+ except FileNotFoundError:
|
|
||||||
+ if lang := os.environ.get('LANG', ''):
|
|
||||||
+ locales = [lang]
|
|
||||||
+ else:
|
|
||||||
+ locales = []
|
|
||||||
return locales
|
|
||||||
|
|
||||||
|
|
|
@ -1,16 +1,16 @@
|
||||||
# Template file for 'lutris'
|
# Template file for 'lutris'
|
||||||
pkgname=lutris
|
pkgname=lutris
|
||||||
version=0.5.11
|
version=0.5.12
|
||||||
revision=3
|
revision=1
|
||||||
build_style=meson
|
build_style=meson
|
||||||
hostmakedepends="gettext python3-setuptools python3-gobject gtk+3-devel"
|
hostmakedepends="gettext python3-setuptools python3-gobject gtk+3-devel"
|
||||||
depends="python3-dbus python3-gobject python3-yaml python3-evdev python3-Pillow
|
depends="python3-dbus python3-gobject python3-yaml python3-evdev python3-Pillow
|
||||||
pciutils cabextract gtk+3 xrandr unzip p7zip gnome-desktop python3-requests webkit2gtk
|
pciutils cabextract gtk+3 xrandr unzip p7zip gnome-desktop python3-requests webkit2gtk
|
||||||
glxinfo python3-distro python3-lxml python3-magic"
|
glxinfo python3-distro python3-lxml python3-magic python3-certifi"
|
||||||
short_desc="Open gaming platform for managing games in a unified way"
|
short_desc="Open gaming platform for managing games in a unified way"
|
||||||
maintainer="Jan Wey. <janwey.git@gmail.com>"
|
maintainer="Jan Wey. <janwey.git@gmail.com>"
|
||||||
license="GPL-3.0-or-later"
|
license="GPL-3.0-or-later"
|
||||||
homepage="https://lutris.net"
|
homepage="https://lutris.net"
|
||||||
changelog="https://raw.githubusercontent.com/lutris/lutris/master/debian/changelog"
|
changelog="https://raw.githubusercontent.com/lutris/lutris/master/debian/changelog"
|
||||||
distfiles="https://github.com/lutris/lutris/archive/v${version}.tar.gz"
|
distfiles="https://github.com/lutris/lutris/archive/v${version}.tar.gz"
|
||||||
checksum=ca2785e00adf68ff5e7355426c18ec7ebc03faff2bca0e18d8d1a3c671c56dc2
|
checksum=092f56729ca558188f7adcdbb75945a2e9bbf573f3e09323b7cb8f0db11d664a
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue