mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-22 21:43:03 -04:00
games-util/leshade: add 2.4.2
Signed-off-by: dsaf <ghostyn678+git@gmail.com>
This commit is contained in:
@@ -1,2 +1,3 @@
|
|||||||
DIST leshade-2.4.0.tar.gz 4092897 BLAKE2B d0537b22a564b5690d1b50edb3c12b86bed15554bb20402b350167e85382752b3fc1a03a4dbec4b15768a237f590ccb4d325b58effb58e7c9dd0d6d1ac26abf1 SHA512 a8cb97f8bc4ef53f4086af74fb5c1e9f16da64bdcebb500f01dbe34ebda3cc38d4c2f54980cb1a5bd648c605526ef4fa5bd03a7e39dafb9a8eef548d07ed933f
|
DIST leshade-2.4.0.tar.gz 4092897 BLAKE2B d0537b22a564b5690d1b50edb3c12b86bed15554bb20402b350167e85382752b3fc1a03a4dbec4b15768a237f590ccb4d325b58effb58e7c9dd0d6d1ac26abf1 SHA512 a8cb97f8bc4ef53f4086af74fb5c1e9f16da64bdcebb500f01dbe34ebda3cc38d4c2f54980cb1a5bd648c605526ef4fa5bd03a7e39dafb9a8eef548d07ed933f
|
||||||
DIST leshade-2.4.1.tar.gz 4093668 BLAKE2B 518b083e678365ff9e82a6f32527c032284da859fd0206dadba66f718defa5b5d1b14bb1a6eecf0562cbc9d385a384dea285871511b4bfcba6060780cdac27ee SHA512 90b1cb92aee6cab171f93578a22e46f2ee70de5c43b033eb56a7e758e7ce5a7d4b8a4d3cbd5bd78c0ae91dc1d543e5fd17fcc828d3347e6f7750f44b6ef194b3
|
DIST leshade-2.4.1.tar.gz 4093668 BLAKE2B 518b083e678365ff9e82a6f32527c032284da859fd0206dadba66f718defa5b5d1b14bb1a6eecf0562cbc9d385a384dea285871511b4bfcba6060780cdac27ee SHA512 90b1cb92aee6cab171f93578a22e46f2ee70de5c43b033eb56a7e758e7ce5a7d4b8a4d3cbd5bd78c0ae91dc1d543e5fd17fcc828d3347e6f7750f44b6ef194b3
|
||||||
|
DIST leshade-2.4.2.tar.gz 4094427 BLAKE2B b9d6b5a213f0f11ea0fe1cf88a6e55aaf84b0d8b5fa90dd0cc66ff1d99268a295766d1a88a72ea270059230d90b9d472ad078f1d3a2aa1b995d3a07e2b04decc SHA512 97531aedc731ea7a59ab0c57cb2de7c3a338d24aace5d99fa888c4a31ad9bdc2169a01e1b39419098174cd07c4a744613fbb0652b533363a55f9e1bf7c967e84
|
||||||
|
|||||||
61
games-util/leshade/leshade-2.4.2.ebuild
Normal file
61
games-util/leshade/leshade-2.4.2.ebuild
Normal file
@@ -0,0 +1,61 @@
|
|||||||
|
# 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="
|
||||||
|
${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
|
||||||
|
}
|
||||||
|
|
||||||
|
src_install() {
|
||||||
|
meson_src_install
|
||||||
|
|
||||||
|
rm "${ED}/usr/share/${PN}/assets/"*
|
||||||
|
rm -r "${ED}/usr/share/licenses"
|
||||||
|
|
||||||
|
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
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user