diff options
-rw-r--r-- | graphics/wine-nine-standalone/wine-nine-standalone.SlackBuild | 38 | ||||
-rw-r--r-- | graphics/wine-nine-standalone/wine-nine-standalone.info | 6 |
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 b2f07d3057..4758daa1e3 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 01f0b0aaf7..4a09708289 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" |