diff options
author | Andrew Ammerlaan <andrewammerlaan@gentoo.org> | 2023-01-28 11:00:34 +0100 |
---|---|---|
committer | Andrew Ammerlaan <andrewammerlaan@gentoo.org> | 2023-01-28 11:01:37 +0100 |
commit | a1e58c8f1e9b34d8f7b76969a4df5a33e2a47bf9 (patch) | |
tree | 95bb4bf214b69bda2c5c0b0f8191d924ef6c418c /games-util | |
parent | dev-python/moddb: new package, add 0.8.1 (diff) | |
download | gentoo-a1e58c8f1e9b34d8f7b76969a4df5a33e2a47bf9.tar.gz gentoo-a1e58c8f1e9b34d8f7b76969a4df5a33e2a47bf9.tar.bz2 gentoo-a1e58c8f1e9b34d8f7b76969a4df5a33e2a47bf9.zip |
games-util/lutris: update 9999 ebuild in preparation of 0.5.13 release
Signed-off-by: Andrew Ammerlaan <andrewammerlaan@gentoo.org>
Diffstat (limited to 'games-util')
-rw-r--r-- | games-util/lutris/files/lutris-0.5.13-webkit-gtk-4-1.patch | 17 | ||||
-rw-r--r-- | games-util/lutris/lutris-9999.ebuild | 18 |
2 files changed, 31 insertions, 4 deletions
diff --git a/games-util/lutris/files/lutris-0.5.13-webkit-gtk-4-1.patch b/games-util/lutris/files/lutris-0.5.13-webkit-gtk-4-1.patch new file mode 100644 index 000000000000..9685a826878b --- /dev/null +++ b/games-util/lutris/files/lutris-0.5.13-webkit-gtk-4-1.patch @@ -0,0 +1,17 @@ +diff --git a/lutris/gui/dialogs/webconnect_dialog.py b/lutris/gui/dialogs/webconnect_dialog.py +index 12fbbdc..a6cd838 100644 +--- a/lutris/gui/dialogs/webconnect_dialog.py ++++ b/lutris/gui/dialogs/webconnect_dialog.py +@@ -3,7 +3,11 @@ import os + from gettext import gettext as _ + + import gi +-gi.require_version("WebKit2", "4.0") ++try: ++ gi.require_version("WebKit2", "4.1") ++except (ImportError, ValueError): ++ gi.require_version("WebKit2", "4.0") ++ + from gi.repository import WebKit2 + + from lutris.gui.dialogs import ModalDialog diff --git a/games-util/lutris/lutris-9999.ebuild b/games-util/lutris/lutris-9999.ebuild index e1ea8bd1147a..0b268cfd6c78 100644 --- a/games-util/lutris/lutris-9999.ebuild +++ b/games-util/lutris/lutris-9999.ebuild @@ -5,7 +5,8 @@ EAPI=8 PYTHON_COMPAT=( python3_{9..11} ) PYTHON_REQ_USE="sqlite,threads(+)" -DISTUTILS_SINGLE_IMPL="1" +DISTUTILS_SINGLE_IMPL=1 +DISTUTILS_USE_PEP517=setuptools inherit distutils-r1 optfeature virtualx xdg @@ -34,18 +35,23 @@ RDEPEND=" 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/lxml[${PYTHON_USEDEP}] dev-python/pillow[${PYTHON_USEDEP}] dev-python/pygobject:3[${PYTHON_USEDEP}] + dev-python/pypresence[${PYTHON_USEDEP}] dev-python/python-evdev[${PYTHON_USEDEP}] - dev-python/python-magic[${PYTHON_USEDEP}] dev-python/pyyaml[${PYTHON_USEDEP}] dev-python/requests[${PYTHON_USEDEP}] + dev-python/moddb[${PYTHON_USEDEP}] ') media-sound/fluid-soundfont - net-libs/webkit-gtk:4.1[introspection] + || ( + net-libs/webkit-gtk:4[introspection] + net-libs/webkit-gtk:4.1[introspection] + ) x11-apps/mesa-progs x11-apps/xgamma x11-apps/xrandr @@ -57,6 +63,10 @@ distutils_enable_tests pytest DOCS=( AUTHORS README.rst docs/installers.rst docs/steam.rst ) +PATCHES=( + "${FILESDIR}/${PN}-0.5.13-webkit-gtk-4-1.patch" +) + python_test() { virtx epytest } @@ -69,7 +79,7 @@ python_install_all() { pkg_postinst() { xdg_pkg_postinst - optfeature "running windows games through wine+DXVK/proton or other Vulkan games (plus ICD for your hardware)" media-libs/vulkan-loader + optfeature "running MS Windows games through wine+DXVK/proton or other Vulkan games (plus ICD for your hardware)" media-libs/vulkan-loader # Quote README.rst elog "" |