summaryrefslogtreecommitdiffstats
path: root/deps/OpenAL/OpenAL.SlackBuild
diff options
context:
space:
mode:
author Eric Hameleers <alien@slackware.com>2018-09-22 12:56:48 +0200
committer Eric Hameleers <alien@slackware.com>2018-09-22 12:56:48 +0200
commitbb4433ddbf1c0cee32f491d93afa898a32d86376 (patch)
tree27ac7387de084d3c983f27ddff6cb4e0587f2eb4 /deps/OpenAL/OpenAL.SlackBuild
parent7b03ad843b44e5b717adf5b2de6b00cb498c2024 (diff)
downloadktown-bb4433ddbf1c0cee32f491d93afa898a32d86376.tar.gz
ktown-bb4433ddbf1c0cee32f491d93afa898a32d86376.tar.xz
Updated and rebuilt some of the deps
OpenAL: updated cryfs: rebuilt against the new cryptopp cryptopp: updated libxkbcommon: updated qt5: updated
Diffstat (limited to 'deps/OpenAL/OpenAL.SlackBuild')
-rwxr-xr-xdeps/OpenAL/OpenAL.SlackBuild22
1 files changed, 16 insertions, 6 deletions
diff --git a/deps/OpenAL/OpenAL.SlackBuild b/deps/OpenAL/OpenAL.SlackBuild
index d6c79c5..423f42f 100755
--- a/deps/OpenAL/OpenAL.SlackBuild
+++ b/deps/OpenAL/OpenAL.SlackBuild
@@ -1,6 +1,6 @@
#!/bin/sh
# Copyright 2014 Patrick J. Volkerding, Sebeka, MN, USA
-# Copyright 2012, 2013, 2014, 2015, 2017 Eric Hameleers, Eindhoven, NL
+# Copyright 2012, 2013, 2014, 2015, 2017, 2018 Eric Hameleers, Eindhoven, NL
# All rights reserved.
#
# Permission to use, copy, modify, and distribute this software for
@@ -23,13 +23,14 @@
# -----------------------------------------------------------------------------
+cd $(dirname $0) ; CWD=$(pwd)
+
PKGNAM=OpenAL
SRCNAM=openal-soft
-VERSION=${VERSION:-1.18.2}
+VERSION=${VERSION:-1.19.0}
BUILD=${BUILD:-1}
-NUMJOBS=${NUMJOBS:-" -j4 "}
+NUMJOBS=${NUMJOBS:-"-j$(nproc)"}
-CWD=$(pwd)
TMP=${TMP:-/tmp}
PKG=$TMP/package-$PKGNAM
@@ -68,6 +69,14 @@ else
LIBDIRSUFFIX=""
fi
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "${PKGNAM}-${VERSION}-${ARCH}-${BUILD}.txz"
+ exit 0
+fi
+
rm -rf $PKG
mkdir -p $TMP $PKG
cd $TMP
@@ -90,9 +99,10 @@ cd build
-DMAN_INSTALL_DIR=/usr/man \
-DSYSCONF_INSTALL_DIR=/etc \
-DLIB_SUFFIX=${LIBDIRSUFFIX} \
+ -G Ninja \
..
- make $NUMJOBS || make || exit 1
- make install DESTDIR=$PKG || exit 1
+ ninja || exit 1
+ DESTDIR=$PKG ninja install || exit 1
cd -
# Add an example configuration file: