graphics/wine-nine-standalone: Updated for version 0.4.

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
Hunter Sezen 2019-04-12 23:49:21 +07:00 committed by Willy Sudiarto Raharjo
parent 3f24512901
commit 59c6f412ff
2 changed files with 18 additions and 26 deletions

View file

@ -23,7 +23,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=wine-nine-standalone
VERSION=${VERSION:-0.3}
VERSION=${VERSION:-0.4}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@ -109,25 +109,15 @@ else
arch=32
fi
./bootstrap.sh
eval "set -- $arch"
for bin do
case "$bin" in
32 )
libdir=
platform=i586-slackware-linux-gnu-pkg-config
wine=wine
;;
64 )
libdir=64
platform=x86_64-slackware-linux-gnu-pkg-config
wine=wine64
;;
32 ) suffix= ;;
64 ) suffix=64 ;;
esac
sed "s/@PKG_CONFIG@/$platform/" \
< tools/cross-wine$bin.in \
> tools/cross-wine$bin
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
meson \
@ -142,18 +132,20 @@ for bin do
"${NINJA:=ninja}" -C build$bin
DESTDIR=. "$NINJA" -C build$bin install
mkdir -p $PKG/usr/lib$libdir/wine/fakedlls
cp ./build$bin/tmp/bin$bin/ninewinecfg.exe.so $PKG/usr/lib$libdir/wine/fakedlls/ninewinecfg.exe
cp ./build$bin/tmp/lib$bin/d3d9-nine.dll.so $PKG/usr/lib$libdir/wine/fakedlls/d3d9-nine.dll
chmod 0644 $PKG/usr/lib$libdir/wine/fakedlls/ninewinecfg.exe
chmod 0644 $PKG/usr/lib$libdir/wine/fakedlls/d3d9-nine.dll
mkdir -p $PKG/usr/lib$suffix/wine/fakedlls
cp ./build$bin/tmp/bin$bin/ninewinecfg.exe.so \
$PKG/usr/lib$suffix/wine/fakedlls/ninewinecfg.exe
cp ./build$bin/tmp/lib$bin/d3d9-nine.dll.so \
$PKG/usr/lib$suffix/wine/fakedlls/d3d9-nine.dll
chmod 0644 $PKG/usr/lib$suffix/wine/fakedlls/ninewinecfg.exe
chmod 0644 $PKG/usr/lib$suffix/wine/fakedlls/d3d9-nine.dll
mkdir -p $PKG/usr/bin
cat > $PKG/usr/bin/ninewinecfg$libdir <<EOF
cat > $PKG/usr/bin/ninewinecfg$suffix <<EOF
#!/bin/sh
$wine /usr/lib$libdir/wine/fakedlls/ninewinecfg.exe
wine$suffix /usr/lib$suffix/wine/fakedlls/ninewinecfg.exe
EOF
chmod 0755 $PKG/usr/bin/ninewinecfg$libdir
chmod 0755 $PKG/usr/bin/ninewinecfg$suffix
done
if [ "$DEBUG" = 0 ]; then

View file

@ -1,8 +1,8 @@
PRGNAM="wine-nine-standalone"
VERSION="0.3"
VERSION="0.4"
HOMEPAGE="https://github.com/iXit/wine-nine-standalone"
DOWNLOAD="https://github.com/iXit/wine-nine-standalone/archive/v0.3/wine-nine-standalone-0.3.tar.gz"
MD5SUM="b076e066d8e2bb3381ad14a79e53652d"
DOWNLOAD="https://github.com/iXit/wine-nine-standalone/archive/v0.4/wine-nine-standalone-0.4.tar.gz"
MD5SUM="fd1abab4f89dae2fded7a35b2bd684bc"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="meson wine"