commit: f8bfc30365818be28f567a0f52d3fb5e2389d13c Author: Jimi Huotari <chiitoo <AT> gentoo <DOT> org> AuthorDate: Tue Jan 27 15:13:46 2026 +0000 Commit: Jimi Huotari <chiitoo <AT> gentoo <DOT> org> CommitDate: Tue Jan 27 15:13:46 2026 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f8bfc303
app-emulation/winetricks: add 20260125 Signed-off-by: Jimi Huotari <chiitoo <AT> gentoo.org> app-emulation/winetricks/Manifest | 1 + .../winetricks/winetricks-20260125.ebuild | 54 ++++++++++++++++++++++ 2 files changed, 55 insertions(+) diff --git a/app-emulation/winetricks/Manifest b/app-emulation/winetricks/Manifest index 6d9b661aab3e..be1b5fdae008 100644 --- a/app-emulation/winetricks/Manifest +++ b/app-emulation/winetricks/Manifest @@ -1,2 +1,3 @@ DIST winetricks-20250102.tar.gz 669468 BLAKE2B 4fc1170d3d0755f86744aa206204c993ad9efea56ec3193de81c62997179addc66b5c61b34d257ee97b8715fadbd27c07ec6845b5b3d1125ef2bcaa087081186 SHA512 f9dc94eb7bb35c180a403bf58337a82166314e8d55123ce720ed4664b8d6fa9415576b8d02697f973a74b8d1dc578047bd3b1ed62a3c455a4ae6575f3ab7fccd +DIST winetricks-20260125.tar.gz 706134 BLAKE2B 0acedede3cc77723ec4feeab572bb402e088587c7409eda92136f823805f34cd0fb7172e6d2af6f69508e8df1892b03581095ddada6013f5da4b253629937f91 SHA512 ab29191c8032ba70ee8e807c7910916d47cbbdab658cdb5a1c1daa11f0eb7e219a8cd5555e4e681a154913237e4600a8c5056e8bdd9c1f44dac92f27ec875fcb DIST winetricks-gentoo-2012.11.24.tar.bz2 6398 BLAKE2B 54a4502f6e8ef15d21b02c43e3ce599e32d476c2559246064de14cc4ce2243ff11dde681d24c8a7f4913c3d7a10b855bda47e8fb8ecad31e00d839705416be6f SHA512 59c93b73f3a7b2d11aefcde2ff66659ff1de21ad4b5f232f4b60572f3a48b15a6c49f369b1696862bf1b33fde190bf5598945e9536fb41ddec42d8def4d2be2a diff --git a/app-emulation/winetricks/winetricks-20260125.ebuild b/app-emulation/winetricks/winetricks-20260125.ebuild new file mode 100644 index 000000000000..7956f5b2bc28 --- /dev/null +++ b/app-emulation/winetricks/winetricks-20260125.ebuild @@ -0,0 +1,54 @@ +# Copyright 1999-2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit xdg + +DESCRIPTION="Easy way to install DLLs needed to work around problems in Wine" +HOMEPAGE="https://github.com/Winetricks/winetricks https://wiki.winehq.org/Winetricks" + +if [[ ${PV} == *99999999* ]] ; then + EGIT_REPO_URI="https://github.com/Winetricks/${PN}.git" + inherit git-r3 +else + SRC_URI="https://github.com/Winetricks/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" + KEYWORDS="~amd64 ~x86" +fi + +LICENSE="LGPL-2.1+" +SLOT="0" +IUSE="gui rar" +RESTRICT="test" + +RDEPEND=" + app-arch/cabextract + || ( + >=app-arch/7zip-24.09[symlink(+)] + app-arch/p7zip + ) + app-arch/unzip + net-misc/wget + virtual/wine + x11-misc/xdg-utils + gui? ( || ( + gnome-extra/zenity + kde-apps/kdialog:* + ) ) + rar? ( app-arch/unrar ) +" + +src_unpack() { + case ${PV} in + *99999999*) git-r3_src_unpack ;& + *) default ;; + esac +} + +src_install() { + default + + if ! use gui; then + rm -r "${ED}"/usr/share/{applications,icons} || die + fi +}
