diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2018-01-26 15:48:02 +0000 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2018-01-26 15:48:02 +0000 |
commit | 38b7258d086dd5e263c3bbe3880c8c956676bc71 (patch) | |
tree | 6fce284d5bfddaf597a490ac66069d16c6a485db /app-emulation/winetricks/winetricks-99999999.ebuild | |
parent | 0ebf740b9c9bc7c10ac41bea315ecc6c01c79166 (diff) |
gentoo resync : 25.01.2018
Diffstat (limited to 'app-emulation/winetricks/winetricks-99999999.ebuild')
-rw-r--r-- | app-emulation/winetricks/winetricks-99999999.ebuild | 26 |
1 files changed, 19 insertions, 7 deletions
diff --git a/app-emulation/winetricks/winetricks-99999999.ebuild b/app-emulation/winetricks/winetricks-99999999.ebuild index c6636ccbdade..58d2e71829ba 100644 --- a/app-emulation/winetricks/winetricks-99999999.ebuild +++ b/app-emulation/winetricks/winetricks-99999999.ebuild @@ -25,24 +25,32 @@ HOMEPAGE="https://github.com/Winetricks/winetricks https://wiki.winehq.org/Winet LICENSE="LGPL-2.1+" SLOT="0" -IUSE="gtk kde rar" +IUSE="gtk kde rar test" + +DEPEND="test? ( + dev-python/bashate + dev-util/checkbashisms + dev-util/shellcheck + )" -DEPEND="" RDEPEND="app-arch/cabextract app-arch/p7zip app-arch/unzip net-misc/wget - x11-misc/xdg-utils virtual/wine + x11-misc/xdg-utils gtk? ( gnome-extra/zenity ) kde? ( kde-apps/kdialog ) rar? ( app-arch/unrar )" -# Uses non-standard "Wine" category, which is provided by app-emulation/wine; #451552 -QA_DESKTOP_FILE="usr/share/applications/winetricks.desktop" +# Test targets include syntax checks only, not the "heavy duty" tests +# that would require a lot of disk space, as well as network access. -# Tests require network access and run Wine, which is unreliable from a portage environment. -RESTRICT="test" +# 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() { if [[ ${PV} == "99999999" ]] ; then @@ -55,6 +63,10 @@ src_unpack() { fi } +src_test() { + ./tests/shell-checks || die "Test(s) failed." +} + src_install() { default if use gtk || use kde; then |