From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 5D0F415812D for ; Fri, 03 Jan 2025 14:58:49 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 8EC3AE0824; Fri, 03 Jan 2025 14:58:48 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 71AB5E0824 for ; Fri, 03 Jan 2025 14:58:48 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 510CF33BE1D for ; Fri, 03 Jan 2025 14:58:47 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 9FD161148 for ; Fri, 03 Jan 2025 14:58:45 +0000 (UTC) From: "Jimi Huotari" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Jimi Huotari" Message-ID: <1735916283.7d5b136678ae4b690d6c7f612562538161c39448.chiitoo@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: app-emulation/winetricks/ X-VCS-Repository: repo/gentoo X-VCS-Files: app-emulation/winetricks/Manifest app-emulation/winetricks/winetricks-20250102.ebuild X-VCS-Directories: app-emulation/winetricks/ X-VCS-Committer: chiitoo X-VCS-Committer-Name: Jimi Huotari X-VCS-Revision: 7d5b136678ae4b690d6c7f612562538161c39448 X-VCS-Branch: master Date: Fri, 03 Jan 2025 14:58:45 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: c96e7e74-6ee8-47fb-81ac-3be53fb757f1 X-Archives-Hash: e0618804abb61e0adf350f5d43ba1ced commit: 7d5b136678ae4b690d6c7f612562538161c39448 Author: Jimi Huotari gentoo org> AuthorDate: Fri Jan 3 14:58:03 2025 +0000 Commit: Jimi Huotari gentoo org> CommitDate: Fri Jan 3 14:58:03 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7d5b1366 app-emulation/winetricks: add 20250102 Signed-off-by: Jimi Huotari gentoo.org> app-emulation/winetricks/Manifest | 1 + .../winetricks/winetricks-20250102.ebuild | 81 ++++++++++++++++++++++ 2 files changed, 82 insertions(+) diff --git a/app-emulation/winetricks/Manifest b/app-emulation/winetricks/Manifest index effcad2dfa33..43a196422480 100644 --- a/app-emulation/winetricks/Manifest +++ b/app-emulation/winetricks/Manifest @@ -1,2 +1,3 @@ DIST winetricks-20240105.tar.gz 675763 BLAKE2B 0ca29d06ae35c95027ead0da2fa26b2950b4b4d495b61c972b9f93ae26fcadc7891931224bc2a8776e06f8bf2816e2fd5b84a0ef342de296aae20129dd5480b0 SHA512 254b505e1175477df3a27b361f227a02a2346a1b7ace255b6170e8bd463883dda8fef9fcbf2cd54606d69742fd6236f9aa58f589e2a34eb66bd04dfaa7bd6799 +DIST winetricks-20250102.tar.gz 669468 BLAKE2B 4fc1170d3d0755f86744aa206204c993ad9efea56ec3193de81c62997179addc66b5c61b34d257ee97b8715fadbd27c07ec6845b5b3d1125ef2bcaa087081186 SHA512 f9dc94eb7bb35c180a403bf58337a82166314e8d55123ce720ed4664b8d6fa9415576b8d02697f973a74b8d1dc578047bd3b1ed62a3c455a4ae6575f3ab7fccd DIST winetricks-gentoo-2012.11.24.tar.bz2 6398 BLAKE2B 54a4502f6e8ef15d21b02c43e3ce599e32d476c2559246064de14cc4ce2243ff11dde681d24c8a7f4913c3d7a10b855bda47e8fb8ecad31e00d839705416be6f SHA512 59c93b73f3a7b2d11aefcde2ff66659ff1de21ad4b5f232f4b60572f3a48b15a6c49f369b1696862bf1b33fde190bf5598945e9536fb41ddec42d8def4d2be2a diff --git a/app-emulation/winetricks/winetricks-20250102.ebuild b/app-emulation/winetricks/winetricks-20250102.ebuild new file mode 100644 index 000000000000..f6de9b82c56b --- /dev/null +++ b/app-emulation/winetricks/winetricks-20250102.ebuild @@ -0,0 +1,81 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +WTG="winetricks-gentoo-2012.11.24" +inherit xdg + +if [[ ${PV} == *99999999* ]] ; then + EGIT_REPO_URI="https://github.com/Winetricks/${PN}.git" + inherit git-r3 + SRC_URI="" +else + SRC_URI="https://github.com/Winetricks/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" + KEYWORDS="~amd64 ~x86" +fi + +SRC_URI+=" gui? ( https://dev.gentoo.org/~chiitoo/distfiles/${WTG}.tar.bz2 )" + +DESCRIPTION="Easy way to install DLLs needed to work around problems in Wine" +HOMEPAGE="https://github.com/Winetricks/winetricks https://wiki.winehq.org/Winetricks" + +LICENSE="LGPL-2.1+" +SLOT="0" +IUSE="gui rar test" +RESTRICT="!test? ( test )" + +# dev-util/shellcheck is not available for x86 +RESTRICT+=" x86? ( test )" + +BDEPEND=" + test? ( + dev-python/bashate + dev-util/checkbashisms + || ( + dev-util/shellcheck-bin + dev-util/shellcheck + ) + ) +" +RDEPEND=" + app-arch/cabextract + 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 ) +" + +# Test targets include syntax checks only, not the "heavy duty" tests +# that would require a lot of disk space, as well as network access. + +# This uses a non-standard "Wine" category, which is provided by +# '/etc/xdg/menus/applications-merged/wine.menu' from the +# 'app-emulation/wine-desktop-common' package. +# https://bugs.gentoo.org/451552 +QA_DESKTOP_FILE="usr/share/applications/winetricks.desktop" + +src_unpack() { + case ${PV} in + *99999999*) git-r3_src_unpack ;& + *) default ;; + esac +} + +src_test() { + ./tests/shell-checks || die "Test(s) failed." +} + +src_install() { + default + + if ! use gui; then + rm -r "${ED}"/usr/share/{applications,icons} || die + fi +}