From 1d9fb90894443af64ee715a4de5bba0972e365c9 Mon Sep 17 00:00:00 2001 From: zenobit Date: Sun, 11 Dec 2022 23:29:35 +0100 Subject: [PATCH] lutris: update to 0.5.12 --- srcpkgs/lutris/patches/musl-locale.patch | 23 ----------------------- srcpkgs/lutris/template | 8 ++++---- 2 files changed, 4 insertions(+), 27 deletions(-) delete mode 100644 srcpkgs/lutris/patches/musl-locale.patch diff --git a/srcpkgs/lutris/patches/musl-locale.patch b/srcpkgs/lutris/patches/musl-locale.patch deleted file mode 100644 index 2da4aeca6166..000000000000 --- a/srcpkgs/lutris/patches/musl-locale.patch +++ /dev/null @@ -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 - - diff --git a/srcpkgs/lutris/template b/srcpkgs/lutris/template index 3a70a7f34e74..bd6cf7556d57 100644 --- a/srcpkgs/lutris/template +++ b/srcpkgs/lutris/template @@ -1,16 +1,16 @@ # Template file for 'lutris' pkgname=lutris -version=0.5.11 -revision=3 +version=0.5.12 +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 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" maintainer="Jan Wey. " 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=ca2785e00adf68ff5e7355426c18ec7ebc03faff2bca0e18d8d1a3c671c56dc2 +checksum=092f56729ca558188f7adcdbb75945a2e9bbf573f3e09323b7cb8f0db11d664a