commit:     3ff86fe5d4bb143a779a0c99acdcfb407c754e93
Author:     Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org>
AuthorDate: Thu Apr 11 07:21:38 2024 +0000
Commit:     Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org>
CommitDate: Thu Apr 11 07:21:38 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3ff86fe5

games-util/lutris: add 0.5.17

Signed-off-by: Andrew Ammerlaan <andrewammerlaan <AT> gentoo.org>

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

diff --git a/games-util/lutris/Manifest b/games-util/lutris/Manifest
index 5959e2aab4f0..86d9c26dd760 100644
--- a/games-util/lutris/Manifest
+++ b/games-util/lutris/Manifest
@@ -1,3 +1,4 @@
 DIST lutris-0.5.16.gh.tar.gz 1637633 BLAKE2B 
833ce9a690220c6bbcc3287f7ebcbad97a96a9f0d8307e9a94416a9779b5090605ed48e6c3254c64e4c3d90b3755fc2961c658ba93d5d8b5379df95c190624cc
 SHA512 
be7e5ac7da0d023b46c7c22b2a9496593619e6e2f148938480704bcd41ba38f42c2b76cfee81aa62e31186344c9b8f6a23da3655e0d54e4710c94c0d722edb5e
+DIST lutris-0.5.17.gh.tar.gz 1659770 BLAKE2B 
913727515b9117bb9150b7af04bbecfc6d816dd119e1aea376ef24d0e89b875f572ae8d0fdd4b4be410f1a96543a11217b2abfb2989113038fe9aace7c88158f
 SHA512 
1c210650bff71a942069a953e2061c482117762c170906811cbc4743d4dbf3032ac6fc280c6f972c881349e4ed8652473e4c808c0ce4e8508d03216d8c4875cd
 DIST lutris_0.5.13.tar.xz 1565824 BLAKE2B 
5326f7d671f91cab9e2f21377b939f33383098778751d2855d319b6f84b349108dce9a92faecf804e292cb711dfe6dc40a1ede591847b13550d25d83f51a9c7f
 SHA512 
8ca257de9647a21774c9aaa251178a5f5b4eb137985913e136e27959880a356f95bd0ba6ba75059b92f7d92fdeee7f410592a39c60d8ec72412a3106a1561a7b
 DIST lutris_0.5.14.tar.xz 4394748 BLAKE2B 
dc1a8089219ebd3ea42be45fe0dc942a6353ac69b30527a8766c7ae54bd09fb529296e5e63a717d8a1033e70b3a9ab52daa87d5287845e34e53d765aec41191d
 SHA512 
1292ef9dfb9bc977d6b687319060451a615e27c2e056aeafb4db21bdb20fec2b051bb31230604c528860871bdde01f2385a5320467b74c8ad3b516574ce7fb27

diff --git a/games-util/lutris/lutris-0.5.17.ebuild 
b/games-util/lutris/lutris-0.5.17.ebuild
new file mode 100644
index 000000000000..8a0a78714649
--- /dev/null
+++ b/games-util/lutris/lutris-0.5.17.ebuild
@@ -0,0 +1,157 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{10..12} )
+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[${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/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