Skip to content

Commit

Permalink
add: lutris-git (#6267)
Browse files Browse the repository at this point in the history
Co-authored-by: xdavius <[email protected]>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: oklopfer <[email protected]>
  • Loading branch information
4 people authored Jan 10, 2025
1 parent f91c1fd commit 2c1c121
Show file tree
Hide file tree
Showing 4 changed files with 212 additions and 0 deletions.
1 change: 1 addition & 0 deletions packagelist
Original file line number Diff line number Diff line change
Expand Up @@ -324,6 +324,7 @@ lsd-deb
lunacy-deb
lunarclient-app
lutris-deb
lutris-git
lyrebird-git
lyx
mailspring-deb
Expand Down
66 changes: 66 additions & 0 deletions packages/lutris-git/.SRCINFO
Original file line number Diff line number Diff line change
@@ -0,0 +1,66 @@
pkgbase = lutris-git
gives = lutris
pkgver = 0.5.18
pkgdesc = Open Gaming Platform
url = https://lutris.net
arch = any
depends = cabextract
depends = curl
depends = libglib2.0-0
depends = libgtk-3-0
depends = hicolor-icon-theme
depends = mesa-utils
depends = p7zip
depends = psmisc
depends = qdbus-qt5
depends = unzip
depends = xdg-desktop-portal
depends = xdg-utils
depends = python3-cairo
depends = python3-certifi
depends = python3-dbus
depends = python3-distro
depends = python3-gi-cairo
depends = python3-gi
depends = python3-lxml
depends = python3-pillow
depends = python3-requests
depends = python3-yaml
depends = libxrandr2
depends = libgtk-3-dev
depends = libmagick++-dev
depends = libwebkit2gtk-4.1-0
depends = libwebkit2gtk-4.1-dev
makedepends = git
makedepends = meson
makedepends = gettext
makedepends = desktop-file-utils
makedepends = appstream-util
checkdepends = libappstream-glib-dev
optdepends = fluidsynth: For games that have MIDI music
optdepends = gamemode: Allows games to request a temporary set of optimisations
optdepends = gvfs: GVFS backend
optdepends = innoextract: Extract Inno Setup installers
optdepends = mesa-vulkan-drivers: Vulkan support
optdepends = mangohud: Display the games FPS + other information
optdepends = python3-evdev: Controller support
optdepends = python3-pefile: Extract icons from Windows executables
optdepends = python3-protobuf: BattleNet integration
optdepends = libvkd3d1: DirectX 12 support
optdepends = vulkan-icd: Vulkan support
optdepends = vulkan-tools: Vulkan support
optdepends = wine: easiest way to get all the libraries missing from the Lutris runtime
optdepends = winetricks: use system winetricks
optdepends = mangohud:i386: Display the games FPS + other information
optdepends = libvkd3d1:i386: DirectX 12 support
optdepends = mesa-vulkan-drivers:i386: lib32 Vulkan support
pacdeps = python3-moddb
replaces = lutris-deb
replaces = lutris
provides = lutris-git
license = GPL-3.0-or-later
maintainer = xdavius <[email protected]>
source = git+https://github.com/lutris/lutris.git
sha256sums = SKIP

pkgname = lutris-git
78 changes: 78 additions & 0 deletions packages/lutris-git/lutris-git.pacscript
Original file line number Diff line number Diff line change
@@ -0,0 +1,78 @@
pkgname="lutris-git"
gives="lutris"
pkgver="0.5.18"
pkgdesc="Open Gaming Platform"
arch=('any')
url='https://lutris.net'
license=("GPL-3.0-or-later")
provides=("${gives}-git")
replaces=("${gives}-deb" "${gives}")
source=("git+https://github.com/lutris/lutris.git")
sha256sums=("SKIP")
depends=("cabextract"
"curl"
"libglib2.0-0"
"libgtk-3-0"
"hicolor-icon-theme"
"mesa-utils"
"p7zip"
"psmisc"
"qdbus-qt5"
"unzip"
"xdg-desktop-portal"
"xdg-utils"
"python3-cairo"
"python3-certifi"
"python3-dbus"
"python3-distro"
"python3-gi-cairo"
"python3-gi"
"python3-lxml"
"python3-pillow"
"python3-requests"
"python3-yaml"
"libxrandr2"
"libgtk-3-dev"
"libmagick++-dev"
"libwebkit2gtk-4.1-0"
"libwebkit2gtk-4.1-dev")
pacdeps=("python3-moddb")
makedepends=("git" "meson" "gettext" "desktop-file-utils" "appstream-util")
checkdepends=("libappstream-glib-dev")
optdepends=('fluidsynth: For games that have MIDI music'
'gamemode: Allows games to request a temporary set of optimisations'
'gvfs: GVFS backend'
'innoextract: Extract Inno Setup installers'
'mesa-vulkan-drivers: Vulkan support'
'mangohud: Display the games FPS + other information'
'python3-evdev: Controller support'
'python3-pefile: Extract icons from Windows executables'
'python3-protobuf: BattleNet integration'
'libvkd3d1: DirectX 12 support'
'vulkan-icd: Vulkan support'
'vulkan-tools: Vulkan support'
'wine: easiest way to get all the libraries missing from the Lutris runtime'
'winetricks: use system winetricks'
'mangohud:i386: Display the games FPS + other information'
'libvkd3d1:i386: DirectX 12 support'
'mesa-vulkan-drivers:i386: lib32 Vulkan support')

# Packages listed here are optdepends not provided in APT repositories. Install manually with pacstall if needed/exists :
# 'python3-pypresence: Discord Rich Presence integration'
# 'linux-steam-integration: start Steam with LSI'
# 'gamescope: Draw the game window isolated from your desktop'

maintainer=("xdavius <[email protected]>")

build() {
meson --prefix=/usr "${gives}" build
meson compile -C build
}

check() {
meson test -C build --print-errorlogs
}

package() {
DESTDIR="${pkgdir}" meson install -C build
}
67 changes: 67 additions & 0 deletions srclist
Original file line number Diff line number Diff line change
Expand Up @@ -6571,6 +6571,73 @@ pkgbase = lutris-deb

pkgname = lutris-deb
---
pkgbase = lutris-git
gives = lutris
pkgver = 0.5.18
pkgdesc = Open Gaming Platform
url = https://lutris.net
arch = any
depends = cabextract
depends = curl
depends = libglib2.0-0
depends = libgtk-3-0
depends = hicolor-icon-theme
depends = mesa-utils
depends = p7zip
depends = psmisc
depends = qdbus-qt5
depends = unzip
depends = xdg-desktop-portal
depends = xdg-utils
depends = python3-cairo
depends = python3-certifi
depends = python3-dbus
depends = python3-distro
depends = python3-gi-cairo
depends = python3-gi
depends = python3-lxml
depends = python3-pillow
depends = python3-requests
depends = python3-yaml
depends = libxrandr2
depends = libgtk-3-dev
depends = libmagick++-dev
depends = libwebkit2gtk-4.1-0
depends = libwebkit2gtk-4.1-dev
makedepends = git
makedepends = meson
makedepends = gettext
makedepends = desktop-file-utils
makedepends = appstream-util
checkdepends = libappstream-glib-dev
optdepends = fluidsynth: For games that have MIDI music
optdepends = gamemode: Allows games to request a temporary set of optimisations
optdepends = gvfs: GVFS backend
optdepends = innoextract: Extract Inno Setup installers
optdepends = mesa-vulkan-drivers: Vulkan support
optdepends = mangohud: Display the games FPS + other information
optdepends = python3-evdev: Controller support
optdepends = python3-pefile: Extract icons from Windows executables
optdepends = python3-protobuf: BattleNet integration
optdepends = libvkd3d1: DirectX 12 support
optdepends = vulkan-icd: Vulkan support
optdepends = vulkan-tools: Vulkan support
optdepends = wine: easiest way to get all the libraries missing from the Lutris runtime
optdepends = winetricks: use system winetricks
optdepends = mangohud:i386: Display the games FPS + other information
optdepends = libvkd3d1:i386: DirectX 12 support
optdepends = mesa-vulkan-drivers:i386: lib32 Vulkan support
pacdeps = python3-moddb
replaces = lutris-deb
replaces = lutris
provides = lutris-git
license = GPL-3.0-or-later
maintainer = xdavius <[email protected]>
source = git+https://github.com/lutris/lutris.git
sha256sums = SKIP

pkgname = lutris-git
---
pkgbase = lyrebird-git
gives = lyrebird
pkgver = 1.1.0
Expand Down

0 comments on commit 2c1c121

Please sign in to comment.