Paint requires mfc42, added to Bash script, dependency for grep and winetricks added to ebuild

This commit is contained in:
grepwood 2020-04-25 17:27:12 +02:00
parent 10d6d2141d
commit 8bf8b004be
2 changed files with 6 additions and 0 deletions

View File

@ -1,3 +1,7 @@
#!/usr/bin/env bash
set -euo pipefail
MFC42_FOUND=$(winetricks list-installed | grep -cE '^mfc42$|^vcrun6$')
if [ ${MFC42_FOUND} -eq 0 ]; then
winetricks mfc42
fi
wine /usr/share/mspaint/mspaint.exe

View File

@ -24,6 +24,8 @@ BDEPEND+="
RDEPEND+="
app-shells/bash:0
virtual/wine[abi_x86_32]
app-emulation/winetricks
sys-apps/grep
"
DEPEND="${RDEPEND}"