summaryrefslogtreecommitdiffstats
path: root/deps/phonon/phonon.SlackBuild
diff options
context:
space:
mode:
author Eric Hameleers <alien@slackware.com>2019-01-16 21:06:00 +0100
committer Eric Hameleers <alien@slackware.com>2019-01-16 21:06:00 +0100
commit57362c3b2112726be159861f922faf7ae66858ca (patch)
tree0f803811bc2bcff3a4205608848c5adb78e2458e /deps/phonon/phonon.SlackBuild
parent03668e880f29dad79077029dd31fb7601acd7ae6 (diff)
downloadktown-57362c3b2112726be159861f922faf7ae66858ca.tar.gz
ktown-57362c3b2112726be159861f922faf7ae66858ca.tar.xz
Update the deps
New: SDL_sound, drumstick, perl-path-tiny, perl-template-toolkit, python3-random2, freecell-solver Updated: OpenAL, phonon, phonon-vlc Rebuilt: phonon-gstreamer
Diffstat (limited to '')
-rwxr-xr-xdeps/phonon/phonon.SlackBuild17
1 files changed, 13 insertions, 4 deletions
diff --git a/deps/phonon/phonon.SlackBuild b/deps/phonon/phonon.SlackBuild
index 4da680d..6104457 100755
--- a/deps/phonon/phonon.SlackBuild
+++ b/deps/phonon/phonon.SlackBuild
@@ -21,14 +21,16 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-# Modified 2010, 2011, 2012, 2014, 2015, 2016, 2017, 2018 Eric Hameleers, Eindhoven, NL
+# Modified 2010, 2011, 2012, 2014, 2015, 2016, 2017, 2018, 2019 Eric Hameleers, Eindhoven, NL
+cd $(dirname $0) ; CWD=$(pwd)
+
PKGNAM=phonon
-VERSION=${VERSION:-4.10.0}
+VERSION=${VERSION:-4.10.2}
BUILD=${BUILD:-1}
-NUMJOBS=${NUMJOBS:--j7}
+NUMJOBS=${NUMJOBS:-"-j$(nproc)"}
# Automatically determine the architecture we're building on:
if [ -z "$ARCH" ]; then
@@ -61,7 +63,14 @@ else
LIBDIRSUFFIX=""
fi
-CWD=$(pwd)
+# 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$TAG.txz"
+ exit 0
+fi
+
TMP=${TMP:-/tmp}
PKG=$TMP/package-phonon