From a984494e5a73cca4db8adb6b670fbd04c3af955f Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Sat, 29 Jul 2023 22:40:34 +0100 Subject: gentoo auto-resync : 29:07:2023 - 22:40:34 --- games-util/lutris/Manifest | 3 +- .../files/lutris-0.5.13-find-eselected-wine.patch | 22 ++++++ games-util/lutris/lutris-0.5.13-r1.ebuild | 88 --------------------- games-util/lutris/lutris-0.5.13-r2.ebuild | 92 ++++++++++++++++++++++ 4 files changed, 116 insertions(+), 89 deletions(-) create mode 100644 games-util/lutris/files/lutris-0.5.13-find-eselected-wine.patch delete mode 100644 games-util/lutris/lutris-0.5.13-r1.ebuild create mode 100644 games-util/lutris/lutris-0.5.13-r2.ebuild (limited to 'games-util/lutris') diff --git a/games-util/lutris/Manifest b/games-util/lutris/Manifest index 44f051aee853..77e58a342e66 100644 --- a/games-util/lutris/Manifest +++ b/games-util/lutris/Manifest @@ -1,6 +1,7 @@ +AUX lutris-0.5.13-find-eselected-wine.patch 886 BLAKE2B ce8474029a67398a63b40c4d16f7862073d53cb982b3485d1ffb19357055462e6f44eaefe536b7cbba89b49bc770166f34d8d9cc527c7350f9970d38c8526e99 SHA512 0de21c633e79287e0a31f9a8f2bb2dfcf5738370207250ce4f90569cf969f2f0889c22dd2ccdcacafc811a566161a63f8f099b1a811544d19f3a0315125c5b8f DIST lutris_0.5.12.tar.xz 2252220 BLAKE2B 511de660e32ab8961d951d5777ef21a343ab46736cc74f2202721f3280cfab39cac0a8a7003db4eaa48265f4af2d598c1011ce45988815624accda18663a2f00 SHA512 032f9b628bc829bfde347c8137cad80a28cad16651baf461a344045d23c0f19d860627a042225de16046d14d45e03e5ebf7a3a82010128c114e2a0f429a02bf9 DIST lutris_0.5.13.tar.xz 1565824 BLAKE2B 5326f7d671f91cab9e2f21377b939f33383098778751d2855d319b6f84b349108dce9a92faecf804e292cb711dfe6dc40a1ede591847b13550d25d83f51a9c7f SHA512 8ca257de9647a21774c9aaa251178a5f5b4eb137985913e136e27959880a356f95bd0ba6ba75059b92f7d92fdeee7f410592a39c60d8ec72412a3106a1561a7b EBUILD lutris-0.5.12.ebuild 2173 BLAKE2B c3a091535f2f8c7b53a652f25e22ed1ca592c9aef0a200828f1e4a77d085a1d66112018a12195a69d4417e27519ec1703ad471b099e77816e8c90d5204fb185b SHA512 7354be6e5bd7ce057518498e77b807019a5c6bd6fb6865cf8d32363dbfbafc2e1a5310dc16b8e62cfc5cc50134c160ceb63d38d1c629d7779581733cea123640 -EBUILD lutris-0.5.13-r1.ebuild 2396 BLAKE2B 164d3c417ff162fc365504a65c6d69e6112743e4ee5638ca3259cd4db98c91605f42e5cff6e31f45cd956719e78faf130a5713d28a3c45d8afd4cf569b54bc86 SHA512 2d394f7ee8f98b11a49a2fc84ce3e6e51581d56128be34e766e31dd8eabf6301babbf9aab954da07e5ec54802ed9cd951bda5d4a87f947afc1fa6dc13085a348 +EBUILD lutris-0.5.13-r2.ebuild 2455 BLAKE2B 1085572f1d52722173c519c5c64faac3a4dae411a3c81de2d1ed36b4e8d51864b8013f73c20a44afc88830775860409b9539950d4a6339c89428ff3003ba3b37 SHA512 e826a1a8004ee1f807778f045964f8562951a1929ccf94c7761e32ee2e8c8c81063659da53b2683e8ea051bbb7eb50eff1ab86351c26a34629151b3888b456b6 EBUILD lutris-9999.ebuild 2396 BLAKE2B 164d3c417ff162fc365504a65c6d69e6112743e4ee5638ca3259cd4db98c91605f42e5cff6e31f45cd956719e78faf130a5713d28a3c45d8afd4cf569b54bc86 SHA512 2d394f7ee8f98b11a49a2fc84ce3e6e51581d56128be34e766e31dd8eabf6301babbf9aab954da07e5ec54802ed9cd951bda5d4a87f947afc1fa6dc13085a348 MISC metadata.xml 781 BLAKE2B 4f125f51efebe519dab960da879b988cc1d5675449b288a344df7647a660e190ac393d9195daee17fc4e181f1b07f6ffed17c7d1d222217a0afad44c0e15fe59 SHA512 83a29e9fad3e474ef81aa4c07bb6f1f8b77456eaf17f3aad4f34c12c2101cfd55fbd0b1ac8e2c1f682a2ab859c266f920a311aaa01cf9e53b762bd883a65b66f diff --git a/games-util/lutris/files/lutris-0.5.13-find-eselected-wine.patch b/games-util/lutris/files/lutris-0.5.13-find-eselected-wine.patch new file mode 100644 index 000000000000..d048a807b08d --- /dev/null +++ b/games-util/lutris/files/lutris-0.5.13-find-eselected-wine.patch @@ -0,0 +1,22 @@ +diff --git a/lutris/util/wine/wine.py b/lutris/util/wine/wine.py +index f84584b..fa36d0c 100644 +--- a/lutris/util/wine/wine.py ++++ b/lutris/util/wine/wine.py +@@ -19,7 +19,7 @@ WINE_PATHS = { + "winehq-devel": "/opt/wine-devel/bin/wine", + "winehq-staging": "/opt/wine-staging/bin/wine", + "wine-development": "/usr/lib/wine-development/wine", +- "system": "wine", ++ "system": "/etc/eselect/wine/bin/wine", + } + + ESYNC_LIMIT_CHECK = os.environ.get("ESYNC_LIMIT_CHECK", "").lower() +@@ -273,7 +273,7 @@ def get_wine_version(wine_path="wine"): + return + if wine_path == "wine" and not system.find_executable("wine"): + return +- if os.path.isabs(wine_path): ++ if os.path.isabs(wine_path) and not os.path.islink(wine_path): + wine_stats = os.stat(wine_path) + if wine_stats.st_size < 2000: + # This version is a script, ignore it diff --git a/games-util/lutris/lutris-0.5.13-r1.ebuild b/games-util/lutris/lutris-0.5.13-r1.ebuild deleted file mode 100644 index 62930e73e736..000000000000 --- a/games-util/lutris/lutris-0.5.13-r1.ebuild +++ /dev/null @@ -1,88 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -PYTHON_COMPAT=( python3_{9..11} ) -PYTHON_REQ_USE="sqlite,threads(+)" -DISTUTILS_SINGLE_IMPL=1 -DISTUTILS_USE_PEP517=setuptools - -inherit distutils-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 - if [[ ${PV} == *_beta* ]] ; then - SRC_URI="https://github.com/lutris/lutris/archive/refs/tags/v${PV/_/-}.tar.gz -> ${P}.tar.gz" - S="${WORKDIR}"/${P/_/-} - else - SRC_URI="https://lutris.net/releases/${P/-/_}.tar.xz" - S="${WORKDIR}/${PN}" - KEYWORDS="~amd64 ~x86" - fi -fi - -LICENSE="GPL-3+ CC0-1.0" -SLOT="0" - -RDEPEND=" - 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/lxml[${PYTHON_USEDEP}] - dev-python/pillow[${PYTHON_USEDEP}] - dev-python/pygobject:3[cairo,${PYTHON_USEDEP}] - dev-python/pypresence[${PYTHON_USEDEP}] - dev-python/python-evdev[${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] -" - -distutils_enable_tests pytest - -DOCS=( AUTHORS README.rst docs/installers.rst docs/steam.rst ) - -python_test() { - virtx epytest -} - -python_install_all() { - distutils-r1_python_install_all - python_fix_shebang "${ED}/usr/share/lutris/bin/lutris-wrapper" #740048 -} - -pkg_postinst() { - xdg_pkg_postinst - - optfeature "running MS Windows games through wine+DXVK/proton or other Vulkan games (plus ICD for your hardware)" "media-libs/vulkan-loader dev-util/vulkan-tools" - - # 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." -} diff --git a/games-util/lutris/lutris-0.5.13-r2.ebuild b/games-util/lutris/lutris-0.5.13-r2.ebuild new file mode 100644 index 000000000000..6fea47bf5df8 --- /dev/null +++ b/games-util/lutris/lutris-0.5.13-r2.ebuild @@ -0,0 +1,92 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{9..11} ) +PYTHON_REQ_USE="sqlite,threads(+)" +DISTUTILS_SINGLE_IMPL=1 +DISTUTILS_USE_PEP517=setuptools + +inherit distutils-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 + if [[ ${PV} == *_beta* ]] ; then + SRC_URI="https://github.com/lutris/lutris/archive/refs/tags/v${PV/_/-}.tar.gz -> ${P}.tar.gz" + S="${WORKDIR}"/${P/_/-} + else + SRC_URI="https://lutris.net/releases/${P/-/_}.tar.xz" + S="${WORKDIR}/${PN}" + KEYWORDS="~amd64 ~x86" + fi +fi + +LICENSE="GPL-3+ CC0-1.0" +SLOT="0" + +RDEPEND=" + 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/lxml[${PYTHON_USEDEP}] + dev-python/pillow[${PYTHON_USEDEP}] + dev-python/pygobject:3[cairo,${PYTHON_USEDEP}] + dev-python/pypresence[${PYTHON_USEDEP}] + dev-python/python-evdev[${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] +" + +distutils_enable_tests pytest + +DOCS=( AUTHORS README.rst docs/installers.rst docs/steam.rst ) + +PATCHES=( + "${FILESDIR}/${P}-find-eselected-wine.patch" +) + +python_test() { + virtx epytest +} + +python_install_all() { + distutils-r1_python_install_all + python_fix_shebang "${ED}/usr/share/lutris/bin/lutris-wrapper" #740048 +} + +pkg_postinst() { + xdg_pkg_postinst + + optfeature "running MS Windows games through wine+DXVK/proton or other Vulkan games (plus ICD for your hardware)" "media-libs/vulkan-loader dev-util/vulkan-tools" + + # 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." +} -- cgit v1.2.3