aboutsummaryrefslogtreecommitdiff
path: root/graphics
diff options
context:
space:
mode:
authorHunter Sezen <orbea@riseup.net>2019-04-12 23:49:21 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2019-04-12 23:49:21 +0700
commit59c6f412ffdbb1d005d1c555763f65586503a955 (patch)
treeb6534d3fa867aa483bd1adb111a73fadcd1d5de1 /graphics
parent3f24512901b9d899f87c4267b25cf844733ff1e3 (diff)
graphics/wine-nine-standalone: Updated for version 0.4.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'graphics')
-rw-r--r--graphics/wine-nine-standalone/wine-nine-standalone.SlackBuild38
-rw-r--r--graphics/wine-nine-standalone/wine-nine-standalone.info6
2 files changed, 18 insertions, 26 deletions
diff --git a/graphics/wine-nine-standalone/wine-nine-standalone.SlackBuild b/graphics/wine-nine-standalone/wine-nine-standalone.SlackBuild
index b2f07d305752..4758daa1e3de 100644
--- a/graphics/wine-nine-standalone/wine-nine-standalone.SlackBuild
+++ b/graphics/wine-nine-standalone/wine-nine-standalone.SlackBuild
@@ -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
diff --git a/graphics/wine-nine-standalone/wine-nine-standalone.info b/graphics/wine-nine-standalone/wine-nine-standalone.info
index 01f0b0aaf7de..4a0970828906 100644
--- a/graphics/wine-nine-standalone/wine-nine-standalone.info
+++ b/graphics/wine-nine-standalone/wine-nine-standalone.info
@@ -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"