# Watch: https://dl.winehq.org/wine/source/10.0/
. "$GRIMOIRE/FUNCTIONS"
           SPELL=wine
case "$WINE_BRANCH" in
(stable) VERSION=10.0
     SOURCE_HASH=sha512:838daf2c4581f83f8573b988036f517d57b84894b090a2a17433255d6d044dfa880e6724cdb83082a36c333df9d2083ab68ae53927622a620edd59f33462ada4;;
(devel)  VERSION=10.20
     SOURCE_HASH=sha512:96d8f82ace70675b6260f626ebbed93518a2a35ab437d4adbf74732d9efb792a88bc63d4da5755658952b93e75efdc89d5500a4e9cdfa701fc106c12649ba6c1;;
esac; case "$WINE_BRANCH" in
  (scm)
         VERSION=$(get_scm_version)
          SOURCE=$SPELL-git.tar.bz2
   SOURCE_URL[0]=git://source.winehq.org/git/wine.git:wine-git
   SOURCE_IGNORE=volatile
SOURCE_DIRECTORY="$BUILD_DIRECTORY/$SPELL-git"
  FORCE_DOWNLOAD=1
  ;;
  (*)
          SOURCE=$SPELL-$VERSION.tar.xz
         SOURCE2=$SOURCE.sign
   SOURCE_URL[0]=http://downloads.sourceforge.net/sourceforge/$SPELL/$SOURCE
   SOURCE_URL[1]=http://mirrors.ibiblio.org/$SPELL/source/${VERSION%.*}.x/$SOURCE
   SOURCE_URL[2]=http://dl.winehq.org/$SPELL/source/${VERSION%.*}.x/$SOURCE
  SOURCE2_URL[0]=http://downloads.sourceforge.net/sourceforge/$SPELL/$SOURCE2
  SOURCE2_URL[1]=http://mirrors.ibiblio.org/$SPELL/source/${VERSION%.*}.x/$SOURCE2
  SOURCE2_URL[2]=http://dl.winehq.org/$SPELL/source/${VERSION%.*}.x/$SOURCE2
      SOURCE_GPG=wine.gpg:$SOURCE.sign:UPSTREAM_KEY
  SOURCE2_IGNORE=signature
SOURCE_DIRECTORY="$BUILD_DIRECTORY/$SPELL-$VERSION"
  ;;
esac
      LICENSE[0]=LGPL
        WEB_SITE=https://www.winehq.org/
        KEYWORDS="emulator x11 libs"
         ENTERED=20010925
	   TMPFS=off
           SHORT="Wine Is Not an Emulator"
cat << EOF
Wine Is Not an Emulator. It is an alternative implementation of the Windows 3.x
and Win32 APIs. Wine provides both a development toolkit (Winelib) for porting
legacy Windows sources to Unix and a program loader, allowing unmodified Windows
3.1/95/NT binaries to run under Intel Unixes. Wine does not require Microsoft
Windows, as it is a completely alternative implementation consisting of 100%
Microsoft-Free code, but it can optionally use native system DLLs if they are
available.
EOF
