games-util/leshade: add 2.4.7

Signed-off-by: dsaf <ghostyn678+git@gmail.com>
This commit is contained in:
dsaf
2026-04-22 22:59:45 -03:00
parent 5847afe11d
commit 7584ceade9
3 changed files with 70 additions and 1 deletions

View File

@@ -2,3 +2,4 @@ DIST leshade-2.4.3.tar.gz 4094368 BLAKE2B 995ee97a8cbb6dd3262d1bae90108fa4bcfbae
DIST leshade-2.4.4.tar.gz 37153615 BLAKE2B 6e5fa44961a480d7f01d4a2e4a7ed7988e55c01c121a2ca94084eceec6f817d799e9cf5fc0851ad3141b8ea75626ba8860133d405ada71657adcf5b7e58f78e5 SHA512 a96f82f4557085f77ae78f6ffae43af53544edb6511b313560155e8eaf8a0a0c705ae2e7194476f63344f1b9cae6a3ba95e32c5b6cd93809fdeea12a82b8432b
DIST leshade-2.4.5.tar.gz 37153866 BLAKE2B ba67f6bf573f85a666d7ca3096fd83e9b7c301a9f5fc28dc6048cabe1a21e8da0453cecc1a995a3d384694050b141da23ae6467652bacd4ae62250e4dda9ecfb SHA512 fafebc18a3b9268039c830a7a9534b6677251075db7cc150d46683152fb7d554d964bc198dd808fa6a29f587fb1cfe576edad6495d9c4c30cd47fee8787e0b72
DIST leshade-2.4.6.tar.gz 37154449 BLAKE2B 608541db71036463ac08ee777f7d340887822e2762a5c08415b1a928d739c51dbac9710c2623a303b7cf90c9c66189d55d9d409b95d42744bd6de5ca40290bc4 SHA512 08d71997045f0d379b5d599f5c92c8ba2b6fd63a0a6fa8c88d3900fac1a0198cb859e2c6028e610a5f5def72292254163af5b8270f9cda0aec28d0a0dfe92cda
DIST leshade-2.4.7.tar.gz 37155602 BLAKE2B f757a49ec017f2b42fcf440d989d364656c506f10284dd4740a0f71595675c633e1b8eeb1192fdf86723d81fc91069b09dee56ca9fe3132255200cb9e1926415 SHA512 0571d3a34da082ca040d05dbafbbf3cd2ca69c16e9d013dc76f0d64917ec1606016faf25f90295cbf185c84323f768d4c0183548dc9a33eb90a588909a5a2332

View File

@@ -0,0 +1,67 @@
# Copyright 2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
PYTHON_COMPAT=( python3_{12..14} )
inherit meson python-single-r1 xdg
MY_PN="LeShade"
MY_P=${MY_PN}-${PV}
DESCRIPTION="A ReShade manager for Linux"
HOMEPAGE="https://github.com/Ishidawg/LeShade"
if [[ ${PV} == *9999 ]]; then
inherit git-r3
EGIT_REPO_URI="https://github.com/Ishidawg/LeShade.git"
else
SRC_URI="https://github.com/Ishidawg/LeShade/archive/${PV}.tar.gz -> ${P}.tar.gz"
KEYWORDS="~amd64"
S="${WORKDIR}/${MY_P}"
fi
LICENSE="MIT"
SLOT="0"
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
RDEPEND="
virtual/wine
app-emulation/winetricks
${PYTHON_DEPS}
$(python_gen_cond_dep '
dev-python/urllib3[${PYTHON_USEDEP}]
dev-python/pyside:6[${PYTHON_USEDEP}]
')
"
src_prepare() {
default
python_fix_shebang .
#sed -i "s/^app_version: str = .*/app_version: str = \"${PV}\"/" main.py || die
if [[ ${PV} == *9999 ]] ; then
sed -i "s/^build_type: str = .*/build_type: str = \"Nightly\"/" main.py || die
fi
sed -i 's/^Icon=.*/Icon=leshade/' flatpak/io.github.ishidawg.LeShade.desktop || die
}
src_compile() {
:
}
src_install() {
meson_src_install
rm "${ED}/usr/share/${PN}/assets/"* || die
rm -r "${ED}/usr/share/licenses" || die
dosym ../../icons/hicolor/256x256/apps/${PN}.png /usr/share/${PN}/assets/logo.png
insinto /usr/share/metainfo
doins flatpak/io.github.ishidawg.LeShade.metainfo.xml
}

View File

@@ -27,7 +27,8 @@ SLOT="0"
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
RDEPEND="
app-emulation/protontricks
virtual/wine
app-emulation/winetricks
${PYTHON_DEPS}
$(python_gen_cond_dep '
dev-python/urllib3[${PYTHON_USEDEP}]