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.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 455EC13832F for ; Fri, 29 Jul 2016 04:49:07 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id F055B21C073; Fri, 29 Jul 2016 04:49:05 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 6A4CC21C06B for ; Fri, 29 Jul 2016 04:49:05 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 474FE340DE2 for ; Fri, 29 Jul 2016 04:49:04 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 320F17E3 for ; Fri, 29 Jul 2016 04:48:59 +0000 (UTC) From: "NP Hardass" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "NP Hardass" Message-ID: <1469767731.35d9cc7a46214dd79d579a3f9a77581b6893424a.np-hardass@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-20160724.ebuild X-VCS-Directories: app-emulation/winetricks/ X-VCS-Committer: np-hardass X-VCS-Committer-Name: NP Hardass X-VCS-Revision: 35d9cc7a46214dd79d579a3f9a77581b6893424a X-VCS-Branch: master Date: Fri, 29 Jul 2016 04:48:59 +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-Archives-Salt: 613125df-9f15-41cb-83b3-55b7cb223ba5 X-Archives-Hash: b9f67a2ae4d8c3fc7389b6f04cc72c69 commit: 35d9cc7a46214dd79d579a3f9a77581b6893424a Author: Jimi Huotari gentoo org> AuthorDate: Mon Jul 25 13:39:48 2016 +0000 Commit: NP Hardass gentoo org> CommitDate: Fri Jul 29 04:48:51 2016 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=35d9cc7a app-emulation/winetricks: Version bump to 20160724. Package-Manager: portage-2.3.0 Signed-off-by: NP-Hardass gentoo.org> app-emulation/winetricks/Manifest | 1 + .../winetricks/winetricks-20160724.ebuild | 85 ++++++++++++++++++++++ 2 files changed, 86 insertions(+) diff --git a/app-emulation/winetricks/Manifest b/app-emulation/winetricks/Manifest index baed78a..63f3fdf 100644 --- a/app-emulation/winetricks/Manifest +++ b/app-emulation/winetricks/Manifest @@ -1,2 +1,3 @@ DIST winetricks-20160709.tar.gz 173713 SHA256 c21a7bb4c312eeea27325d82160fee5e6961387fd396540d78d57a590df1ebe5 SHA512 8624cb8c1152f637fb46f66035059e6832e5d083e2df6737d8e6ec5a5981dc2650e1160ad3de04ab120e971a2f9a7df906f10fe95951db258217f6f0774d5b84 WHIRLPOOL 305b64049670d01fd8f3544b38033df10e11d49e2033c65688d9eddeda305f51cdfa5aeded05bda3a4239105ad03f071aa785eac200f61da2581c406db3c43d6 +DIST winetricks-20160724.tar.gz 173873 SHA256 dbacdbc241a2bc55b0174ff06f828528bbc2bbf0a0d15c077f75d2f6acda8186 SHA512 ae94b5f039ab4109e40bfb0ee94c100c1f7573ec34dcc4f6d10094a4d5e27ada38e77343c912034c973c0b4dd55f66a31b8be6c75075681f4bd503c3751c0494 WHIRLPOOL c7c8bcc4f29eb757d0b12f528c74d6e1faa4590cda8a844d7c43047bda52f6ef0b081c6e5eb87854f050cd9c96889069586c79e549bd4324e8b8ca930b2b7815 DIST winetricks-gentoo-2012.11.24.tar.bz2 6398 SHA256 dded8c294cc5c2e71e4a5d1531ab165178cf3d2d1d890d0656368c2e499bfeb9 SHA512 59c93b73f3a7b2d11aefcde2ff66659ff1de21ad4b5f232f4b60572f3a48b15a6c49f369b1696862bf1b33fde190bf5598945e9536fb41ddec42d8def4d2be2a WHIRLPOOL 268da9e06712a678fbbcfff8eac1fca364b5e46f0a9c48a591eb88f03260b1a55f203eb2908bfe1f0a534b77c866127ff6f7049b0e43fe8abeaaa26fe55de75b diff --git a/app-emulation/winetricks/winetricks-20160724.ebuild b/app-emulation/winetricks/winetricks-20160724.ebuild new file mode 100644 index 0000000..b8aef92 --- /dev/null +++ b/app-emulation/winetricks/winetricks-20160724.ebuild @@ -0,0 +1,85 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=6 + +inherit gnome2-utils eutils + +if [[ ${PV} == "99999999" ]] ; then + EGIT_REPO_URI="git://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 + +wtg=winetricks-gentoo-2012.11.24 + +SRC_URI="${SRC_URI} + gtk? ( https://dev.gentoo.org/~tetromino/distfiles/wine/${wtg}.tar.bz2 ) + kde? ( https://dev.gentoo.org/~tetromino/distfiles/wine/${wtg}.tar.bz2 )" + +DESCRIPTION="Easy way to install DLLs needed to work around problems in Wine" +HOMEPAGE="http://winetricks.org http://wiki.winehq.org/winetricks" + +LICENSE="LGPL-2.1+" +SLOT="0" +IUSE="gtk kde rar" + +DEPEND="" +RDEPEND="app-arch/cabextract + app-arch/p7zip + app-arch/unzip + app-emulation/wine + net-misc/wget + x11-misc/xdg-utils + gtk? ( gnome-extra/zenity ) + kde? ( kde-apps/kdialog ) + rar? ( app-arch/unrar )" + +# Uses a non-standard "Wine" category, which is provided by app-emulation/wine; #451552 +QA_DESKTOP_FILE="usr/share/applications/winetricks.desktop" + +# Tests require network access and run Wine, which is unreliable from a portage environment. +RESTRICT="test" + +src_unpack() { + if [[ ${PV} == "99999999" ]] ; then + git-r3_src_unpack + if use gtk || use kde; then + unpack ${wtg}.tar.bz2 + fi + else + default + fi +} + +src_install() { + default + if use gtk || use kde; then + cd "${WORKDIR}/${wtg}" || die + domenu winetricks.desktop + insinto /usr/share/icons/hicolor/scalable/apps + doins wine-winetricks.svg + fi +} + +pkg_preinst() { + if use gtk || use kde; then + gnome2_icon_savelist + fi +} + +pkg_postinst() { + if use gtk || use kde; then + gnome2_icon_cache_update + fi +} + +pkg_postrm() { + if use gtk || use kde; then + gnome2_icon_cache_update + fi +}