# Watch: https://dl.winehq.org/wine/source/11.0/
. "$GRIMOIRE/FUNCTIONS"
           SPELL=wine
case "$WINE_BRANCH" in
(stable) VERSION=11.0
     SOURCE_HASH=sha512:a2c3db14f8cf0d19927466805c8f17c68ee7e93d1196d1162dd2279af497c21ec611a63f7a9de59953bbdfdb44c87d7bf55373c6533224a5d54e434c29428d1b;;
(devel)  VERSION=11.5
     SOURCE_HASH=sha512:037ba964d80d50f25dafba2a24e334df5fe580998de229b6fd2ce040ef4835a232ebba4370b0d1e070c2d358841b2160b7f1c32af79b530093f19cc0b5edadb1;;
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
