summaryrefslogtreecommitdiffstats
path: root/deps/dvdauthor/dvdauthor.SlackBuild
diff options
context:
space:
mode:
author Eric Hameleers <alien@slackware.com>2018-06-13 22:01:04 +0200
committer Eric Hameleers <alien@slackware.com>2018-06-13 22:01:04 +0200
commitc353af4711cf08ea0a0010dcf0d404c92504f193 (patch)
treeb24298f4ba3ba56b1916571bab8d34122b5c2930 /deps/dvdauthor/dvdauthor.SlackBuild
parent37509f36b8c55d470ac161b153d6961f6cf2b891 (diff)
downloadktown-c353af4711cf08ea0a0010dcf0d404c92504f193.tar.gz
ktown-c353af4711cf08ea0a0010dcf0d404c92504f193.tar.xz
Update the deps for a June release of ktown
Qt - updated to 5.9.6.
Diffstat (limited to 'deps/dvdauthor/dvdauthor.SlackBuild')
-rwxr-xr-xdeps/dvdauthor/dvdauthor.SlackBuild10
1 files changed, 5 insertions, 5 deletions
diff --git a/deps/dvdauthor/dvdauthor.SlackBuild b/deps/dvdauthor/dvdauthor.SlackBuild
index 401e01c..fc1caaf 100755
--- a/deps/dvdauthor/dvdauthor.SlackBuild
+++ b/deps/dvdauthor/dvdauthor.SlackBuild
@@ -1,6 +1,6 @@
#!/bin/sh
-# Copyright 2017 Eric Hameleers, Eindhoven, NL
+# Copyright 2017, 2018 Eric Hameleers, Eindhoven, NL
# Copyright 2017 Patrick J. Volkerding, Sebeka, MN, USA
# All rights reserved.
#
@@ -26,8 +26,8 @@
PKGNAM=dvdauthor
VERSION=${VERSION:-0.7.2}
-BUILD=${BUILD:-3}
-NUMJOBS=${NUMJOBS:-" -j4 "}
+BUILD=${BUILD:-4}
+NUMJOBS=${NUMJOBS:-"-j$(nproc)"}
CWD=$(pwd)
TMP=${TMP:-/tmp}
@@ -36,7 +36,7 @@ PKG=$TMP/package-$PKGNAM
# Automatically determine the architecture we're building on:
if [ -z "$ARCH" ]; then
case "$(uname -m)" in
- i?86) ARCH=i486 ;;
+ i?86) ARCH=i586 ;;
arm*) readelf /usr/bin/file -A | egrep -q "Tag_CPU.*[4,5]" && ARCH=arm || ARCH=armv7hl ;;
# Unless $ARCH is already set, use uname -m for all other archs:
*) ARCH=$(uname -m) ;;
@@ -45,7 +45,7 @@ if [ -z "$ARCH" ]; then
fi
case "$ARCH" in
- i486) SLKCFLAGS="-O2 -march=i486 -mtune=i686"
+ i?86) SLKCFLAGS="-O2 -march=${ARCH} -mtune=i686"
SLKLDFLAGS=""; LIBDIRSUFFIX=""
;;
x86_64) SLKCFLAGS="-O2 -fPIC"