public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Jimi Huotari" <chiitoo@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/proj/wine:master commit in: app-emulation/winetricks/
Date: Sun, 10 Mar 2019 13:48:30 +0000 (UTC)	[thread overview]
Message-ID: <1552223741.523e649c20c37e1f34ddb386eeee1d3f09e0cd27.chiitoo@gentoo> (raw)

commit:     523e649c20c37e1f34ddb386eeee1d3f09e0cd27
Author:     Jimi Huotari <chiitoo <AT> gentoo <DOT> org>
AuthorDate: Sun Mar 10 13:15:41 2019 +0000
Commit:     Jimi Huotari <chiitoo <AT> gentoo <DOT> org>
CommitDate: Sun Mar 10 13:15:41 2019 +0000
URL:        https://gitweb.gentoo.org/repo/proj/wine.git/commit/?id=523e649c

app-emulation/winetricks: bump live ebuild to EAPI="7"

Also apply minor formatting adjustments.

Package-Manager: Portage-2.3.62, Repoman-2.3.12
Signed-off-by: Jimi Huotari <chiitoo <AT> gentoo.org>

 .../winetricks/winetricks-99999999.ebuild          | 48 +++++++++-------------
 1 file changed, 19 insertions(+), 29 deletions(-)

diff --git a/app-emulation/winetricks/winetricks-99999999.ebuild b/app-emulation/winetricks/winetricks-99999999.ebuild
index 58d2e71..8c6edd0 100644
--- a/app-emulation/winetricks/winetricks-99999999.ebuild
+++ b/app-emulation/winetricks/winetricks-99999999.ebuild
@@ -1,9 +1,9 @@
-# Copyright 1999-2018 Gentoo Foundation
+# Copyright 1999-2019 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=6
+EAPI=7
 
-inherit gnome2-utils eutils
+inherit desktop xdg
 
 if [[ ${PV} == "99999999" ]] ; then
 	EGIT_REPO_URI="https://github.com/Winetricks/${PN}.git"
@@ -14,11 +14,12 @@ else
 	KEYWORDS="~amd64 ~x86"
 fi
 
-wtg=winetricks-gentoo-2012.11.24
+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 )"
+	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="https://github.com/Winetricks/winetricks https://wiki.winehq.org/Winetricks"
@@ -27,13 +28,16 @@ LICENSE="LGPL-2.1+"
 SLOT="0"
 IUSE="gtk kde rar test"
 
-DEPEND="test? (
+BDEPEND="
+	test? (
 		dev-python/bashate
 		dev-util/checkbashisms
 		dev-util/shellcheck
-	)"
-
-RDEPEND="app-arch/cabextract
+	)
+"
+DEPEND=""
+RDEPEND="${DEPEND}
+	app-arch/cabextract
 	app-arch/p7zip
 	app-arch/unzip
 	net-misc/wget
@@ -41,7 +45,8 @@ RDEPEND="app-arch/cabextract
 	x11-misc/xdg-utils
 	gtk? ( gnome-extra/zenity )
 	kde? ( kde-apps/kdialog )
-	rar? ( app-arch/unrar )"
+	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.
@@ -53,11 +58,13 @@ RDEPEND="app-arch/cabextract
 QA_DESKTOP_FILE="usr/share/applications/winetricks.desktop"
 
 src_unpack() {
-	if [[ ${PV} == "99999999" ]] ; then
+	if [[ ${PV} == "99999999" ]]; then
 		git-r3_src_unpack
+
 		if use gtk || use kde; then
 			unpack ${wtg}.tar.bz2
 		fi
+
 	else
 		default
 	fi
@@ -69,6 +76,7 @@ src_test() {
 
 src_install() {
 	default
+
 	if use gtk || use kde; then
 		cd "${WORKDIR}/${wtg}" || die
 		domenu winetricks.desktop
@@ -76,21 +84,3 @@ src_install() {
 		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
-}


             reply	other threads:[~2019-03-10 13:48 UTC|newest]

Thread overview: 42+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-03-10 13:48 Jimi Huotari [this message]
  -- strict thread matches above, loose matches on Subject: below --
2022-04-11 13:55 [gentoo-commits] repo/proj/wine:master commit in: app-emulation/winetricks/ Jimi Huotari
2022-04-11 13:55 Jimi Huotari
2021-08-25 18:30 Jimi Huotari
2021-04-16 21:09 Jimi Huotari
2021-04-16 21:09 Jimi Huotari
2021-02-22 13:25 Jimi Huotari
2021-02-22 13:25 Jimi Huotari
2021-01-18  2:42 Jimi Huotari
2021-01-18  2:42 Jimi Huotari
2020-11-17  0:32 Jimi Huotari
2020-11-17  0:32 Jimi Huotari
2020-11-17  0:32 Jimi Huotari
2020-06-30 14:02 Jimi Huotari
2020-04-15 12:43 Jimi Huotari
2019-12-25  0:58 Nick Sarnie
2019-12-25  0:56 Nick Sarnie
2019-12-25  0:56 Nick Sarnie
2019-12-24 21:50 Jimi Huotari
2019-11-26 15:32 Jimi Huotari
2019-11-26 15:32 Jimi Huotari
2019-09-16 21:45 Jimi Huotari
2019-09-13 11:35 Jimi Huotari
2019-06-21  8:37 Jimi Huotari
2019-05-27  8:42 Jimi Huotari
2019-05-27  8:42 Jimi Huotari
2019-03-10 13:48 Jimi Huotari
2019-03-10 13:48 Jimi Huotari
2019-03-10 13:48 Jimi Huotari
2019-01-17 21:18 Jimi Huotari
2019-01-17 21:18 Jimi Huotari
2018-08-30  9:01 Jimi Huotari
2018-08-30  9:01 Jimi Huotari
2018-06-03 17:05 Nick Sarnie
2018-05-16 14:33 Jimi Huotari
2018-04-12  9:51 Jimi Huotari
2018-04-12  9:51 Jimi Huotari
2018-01-20 12:30 Jimi Huotari
2018-01-14 18:00 Jimi Huotari
2018-01-14 18:00 Jimi Huotari
2018-01-14 18:00 Jimi Huotari
2018-01-14 18:00 Jimi Huotari

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1552223741.523e649c20c37e1f34ddb386eeee1d3f09e0cd27.chiitoo@gentoo \
    --to=chiitoo@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox