Skip to content

Commit

Permalink
lutris: update to 0.5.17
Browse files Browse the repository at this point in the history
- Track patches at AOSC-Tracking/lutris @ aosc/v0.5.17
  (HEAD: 7f31ac9652a0878761a6645a64e323c764bf48e8).
- Use pep517 build template.
- Improve PKGDES.

Co-authored-by: 白铭骢 (Mingcong Bai) (@MingcongBai) <[email protected]>
  • Loading branch information
aosc-buildit-bot and MingcongBai committed Nov 27, 2024
1 parent ffe2f11 commit 25c6086
Show file tree
Hide file tree
Showing 4 changed files with 37 additions and 49 deletions.
11 changes: 5 additions & 6 deletions app-games/lutris/autobuild/defines
Original file line number Diff line number Diff line change
@@ -1,12 +1,11 @@
PKGNAME=lutris
PKGSEC=contrib/games
PKGDEP="pygobject-3 pyyaml python-evdev gtk-3 glib psmisc cabextract unrar unzip \
p7zip curl x11-app gnome-desktop requests pillow webkit2gtk"
BUILDDEP="setuptools"
PKGDES="Open Gaming Platform"
PKGDEP="pygobject-3 pyyaml python-evdev gtk-3 glib psmisc cabextract unrar \
unzip p7zip curl x11-app gnome-desktop requests pillow webkit2gtk"
BUILDDEP="python-build python-installer wheel"
PKGDES="Game emulation and compatibility runtime manager and launcher"

ABTYPE=python
NOPYTHON2=1
ABTYPE=pep517

# It downloads blobs at runtime, so restrict architectural support
FAIL_ARCH="!(amd64)"
Expand Down
41 changes: 0 additions & 41 deletions app-games/lutris/autobuild/patches/0001-AOSC-OS-adaption.patch

This file was deleted.

Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
From 7f31ac9652a0878761a6645a64e323c764bf48e8 Mon Sep 17 00:00:00 2001
From: Mingcong Bai <[email protected]>
Date: Wed, 27 Nov 2024 23:28:40 +0800
Subject: [PATCH] feat(util/linux.py): add AOSC OS optenv32 path (/opt/32) to
multiarch_lib_folders

AOSC OS is a non-multiarch distribution which ships its 32-bit x86 runtime
(under the name optenv32) in /opt/32, and the "native" 64-bit x86-64
runtime in /usr/lib.

Add this path combo to make Lutris work on AOSC OS.
---
lutris/util/linux.py | 1 +
1 file changed, 1 insertion(+)

diff --git a/lutris/util/linux.py b/lutris/util/linux.py
index 37e1266a..097860db 100644
--- a/lutris/util/linux.py
+++ b/lutris/util/linux.py
@@ -92,6 +92,7 @@ class LinuxSystem: # pylint: disable=too-many-public-methods
("/usr/lib32", "/usr/lib64"),
("/lib/i386-linux-gnu", "/lib/x86_64-linux-gnu"),
("/usr/lib/i386-linux-gnu", "/usr/lib/x86_64-linux-gnu"),
+ ("/usr/lib", "/opt/32/lib"),
]

soundfont_folders = [
--
2.47.1

4 changes: 2 additions & 2 deletions app-games/lutris/spec
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
VER=0.5.11
VER=0.5.17
SRCS="tbl::https://lutris.net/releases/lutris_$VER.tar.xz"
CHKSUMS="sha256::67fe0b15bb340c9824f2d1e9d1d54a48c536d6e13bbd231cd0469af2a14fe8c3"
CHKSUMS="sha256::42ff33e81d09a9a1ea3f2d6f52b6421ba66cfb4ad06e7d41f6030032a68d3689"
CHKUPDATE="anitya::id=12270"

0 comments on commit 25c6086

Please sign in to comment.