commit:     98b5808d63c6010ebbdc46f609fce8a5b495001b
Author:     Nowa Ammerlaan <nowa <AT> gentoo <DOT> org>
AuthorDate: Mon Feb 24 08:26:43 2025 +0000
Commit:     Nowa Ammerlaan <nowa <AT> gentoo <DOT> org>
CommitDate: Mon Feb 24 08:27:16 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=98b5808d

games-util/lutris: add 0.5.19

Signed-off-by: Nowa Ammerlaan <nowa <AT> gentoo.org>

 games-util/lutris/Manifest             |   1 +
 games-util/lutris/lutris-0.5.19.ebuild | 158 +++++++++++++++++++++++++++++++++
 2 files changed, 159 insertions(+)

diff --git a/games-util/lutris/Manifest b/games-util/lutris/Manifest
index afdf811676ff..e3e9bffc0126 100644
--- a/games-util/lutris/Manifest
+++ b/games-util/lutris/Manifest
@@ -1,2 +1,3 @@
 DIST lutris-0.5.17.gh.tar.gz 1659770 BLAKE2B 
913727515b9117bb9150b7af04bbecfc6d816dd119e1aea376ef24d0e89b875f572ae8d0fdd4b4be410f1a96543a11217b2abfb2989113038fe9aace7c88158f
 SHA512 
1c210650bff71a942069a953e2061c482117762c170906811cbc4743d4dbf3032ac6fc280c6f972c881349e4ed8652473e4c808c0ce4e8508d03216d8c4875cd
 DIST lutris-0.5.18.gh.tar.gz 1737549 BLAKE2B 
c5ebe512de2bdf8df3b9ac22a965fab458301ad82bc1dce0cd5690d13fce6686c03c2da50c93d0b283b6bfe0e1a6ea16623c7191a3a9f1b60af26e0d370dc926
 SHA512 
22c5bba8cc7eaa03b41de94ad15029515e3e19d0881e5e3250c603e40503bcb30591076df2b20bad3683c78be45328a3c782b0194a493196d3cc4e1814839c89
+DIST lutris-0.5.19.gh.tar.gz 1846842 BLAKE2B 
6415a7bf6fe2f548e695a5f7a7298f91b15ba8efb7b78ce963366ffe8fc2c4749f2f7d90fc7e24a8470562d776efbd2a7a04bb1d2d40cfbaae0f39b9cbf64170
 SHA512 
43459c1eaa138c4c33cd306d072779c44be418492df7f9083c690fb3c6e01a7a41ea349e5ff0f85359345e6cc1573b8b4875b79241c77ea099bb485d523d2fdf

diff --git a/games-util/lutris/lutris-0.5.19.ebuild 
b/games-util/lutris/lutris-0.5.19.ebuild
new file mode 100644
index 000000000000..b53cfc92ada3
--- /dev/null
+++ b/games-util/lutris/lutris-0.5.19.ebuild
@@ -0,0 +1,158 @@
+# Copyright 1999-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{10..13} )
+PYTHON_REQ_USE="sqlite,threads(+)"
+
+inherit meson python-single-r1 optfeature virtualx xdg
+
+DESCRIPTION="An open source gaming platform for GNU/Linux"
+HOMEPAGE="https://lutris.net/";
+
+if [[ ${PV} == *9999* ]] ; then
+       EGIT_REPO_URI="https://github.com/lutris/lutris.git";
+       inherit git-r3
+else
+       
SRC_URI="https://github.com/lutris/lutris/archive/refs/tags/v${PV/_/-}.tar.gz 
-> ${P}.gh.tar.gz"
+       S="${WORKDIR}"/${P/_/-}
+       if [[ ${PV} != *_beta* ]] ; then
+               KEYWORDS="~amd64 ~x86"
+       fi
+fi
+
+LICENSE="GPL-3+ CC0-1.0"
+SLOT="0"
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+
+RDEPEND="
+       ${PYTHON_DEPS}
+       app-arch/cabextract
+       app-arch/p7zip
+       app-arch/unzip
+       $(python_gen_cond_dep '
+               dev-python/certifi[${PYTHON_USEDEP}]
+               dev-python/dbus-python[${PYTHON_USEDEP}]
+               dev-python/distro[${PYTHON_USEDEP}]
+               dev-python/evdev[${PYTHON_USEDEP}]
+               dev-python/lxml[${PYTHON_USEDEP}]
+               dev-python/pillow[${PYTHON_USEDEP}]
+               dev-python/pygobject:3[cairo,${PYTHON_USEDEP}]
+               dev-python/pypresence[${PYTHON_USEDEP}]
+               dev-python/pyyaml[${PYTHON_USEDEP}]
+               dev-python/requests[${PYTHON_USEDEP}]
+               dev-python/protobuf[${PYTHON_USEDEP}]
+               dev-python/moddb[${PYTHON_USEDEP}]
+       ')
+       media-sound/fluid-soundfont
+       || (
+               net-libs/webkit-gtk:4[introspection]
+               net-libs/webkit-gtk:4.1[introspection]
+       )
+       sys-apps/pciutils
+       sys-apps/xdg-desktop-portal
+       x11-apps/mesa-progs
+       x11-apps/xgamma
+       x11-apps/xrandr
+       x11-libs/gtk+:3[introspection]
+       x11-libs/gdk-pixbuf[jpeg]
+"
+
+BDEPEND="
+       test? (
+               $(python_gen_cond_dep '
+                       dev-python/pytest[${PYTHON_USEDEP}]
+               ')
+       )
+"
+
+DOCS=( AUTHORS README.rst docs/installers.rst docs/steam.rst )
+
+EPYTEST_IGNORE=(
+       # Requires a Nvidia GPU and driver
+       tests/util/graphics/test_drivers.py
+)
+
+src_test() {
+       meson_src_test
+       virtx epytest
+}
+
+src_install() {
+       meson_src_install
+       python_optimize
+       python_fix_shebang "${ED}/usr/" #740048
+}
+
+pkg_postinst() {
+       xdg_pkg_postinst
+
+       optfeature "playing various games through Valve's Steam launcher 
(available in Steam overlay)" games-util/steam-launcher
+       optfeature "playing games through Valve's micro-compositor" 
gui-wm/gamescope
+       optfeature "playing games inside a nested X server" 
x11-base/xorg-server[xephyr]
+       optfeature "installing and playing games from Flathub" sys-apps/flatpak
+       optfeature "playing Microsoft Windows games" virtual/wine
+       optfeature "playing DirectX based games by translating DirectX to 
Vulkan" "media-libs/vulkan-loader dev-util/vulkan-tools app-emulation/dxvk 
virtual/wine"
+       optfeature "playing Vulkan based games (plus ICD for your hardware)" 
"media-libs/vulkan-loader dev-util/vulkan-tools"
+       optfeature "a Vulkan and OpenGL overlay for monitoring system 
performance (available in GURU overlay)" games-util/mangohud
+       elog
+
+       optfeature_header "${PN} supports various emulators and compatibility 
layers. \n${PN} can download and install these by itself, but also supports 
using system-wide installed versions"
+       optfeature "playing games through x86 PC emulator" app-emulation/86Box
+       # TODO: Package Adventure Game Studio runner
+       optfeature "playing Atari 800 games through an emulator" 
games-emulation/atari800
+       # TODO: Package Basilisk II Mac emulator
+       # TODO: Package Wii U emulator
+       optfeature "playing Nintendo 3DS games through an emulator (available 
in GURU overlay)" games-emulation/citra
+       # TODO: Package ColecoVision/Coleco Adam emulator
+       optfeature "playing Nintendo DS games through an emulator" 
games-emulation/desmume
+       optfeature "playing Sega Genesis games through an emulator" 
games-emulation/dgen-sdl
+       optfeature "playing GameCube and Wii games through an emulator" 
games-emulation/dolphin
+       optfeature "playing DOS games through an emulator" 
games-emulation/dosbox
+       optfeature "playing RPG Maker 2000/2003 games (available in GURU 
overlay)" games-engines/easyrpg-player
+       optfeature "playing Z-code based text games" games-engines/frotz
+       optfeature "playing Amiga games through an emulator" 
app-emulation/fs-uae
+       optfeature "playing Atari ST games through an emulator" 
games-emulation/hatari
+       # TODO: Package Intellivision emulator
+       optfeature "playing games through various emulators" 
games-emulation/libretro-info
+       optfeature "playing Arcade games through an emulator" 
games-emulation/advancemame
+       optfeature "playing games through various emulators" 
games-emulation/mednafen
+       optfeature "playing Nintendo DS games through an emulator" 
games-emulation/melonds
+       # TODO: Package mGBA
+       # TODO: Package MicroM8 Apple II emulator
+       # TODO: Package Mini vMac emulator
+       optfeature "playing Nintendo 64 games through an emulator" 
games-emulation/mupen64plus
+       # TODO: Package O2Em emulator
+       # TODO: Package Sega Master System emulator
+       optfeature "playing IBM PC games through an emulator" app-emulation/pcem
+       optfeature "playing Sony PlayStation 2 games through an emulator" 
games-emulation/pcsx2
+       optfeature "playing various fantasy games" dev-lang/pico8
+       optfeature "playing Sony PlayStation Portable games through an 
emulator" games-emulation/ppsspp
+       # TODO: Package SEGA Dreamcast emulator redream
+       # TODO: Package SEGA Dreamcast emulator reicast
+       # TODO: Package Rosalie's Mupen GUI
+       optfeature "playing Sony PlayStation 3 games through an emulator 
(available in GURU overlay)" games-emulation/rpcs3
+       optfeature "playing Adobe Flash Player games through an emulator" 
app-emulation/ruffle
+       # TODO: Package Nintendo Switch emulator
+       optfeature "playing Lucasarts adventure games" games-engines/scummvm
+       # TODO: Package PowerMacintosh emulator
+       optfeature "playing Super Nintendo (SNES) games through an emulator" 
games-emulation/snes9x
+       # TODO: Package Sinclair ZX Spectrum emulator
+       optfeature "playing Atari 2600 VCS games through an emulator" 
games-emulation/stella
+       # TODO: Package TIC-80 tiny computer
+       optfeature "playing Commodore games through an emulator" 
app-emulation/vice
+       # TODO: Package Atari Jaguar emulator
+       # TODO: Package Vita3K PS Vita emulator
+       # TODO: Package runner for HTML5 web games
+       # TODO: Package Xbox emulator
+       optfeature "playing Nintendo Switch games through an emulator 
(available in GURU overlay)" games-emulation/yuzu
+       optfeature "playing DOOM games" games-fps/gzdoom
+
+       # Quote README.rst
+       elog
+       elog "Lutris installations are fully automated through scripts, which 
can"
+       elog "be written in either JSON or YAML. The scripting syntax is 
described"
+       elog "in ${EROOT}/usr/share/doc/${PF}/installers.rst.bz2, and is also"
+       elog "available online at lutris.net."
+}

Reply via email to