aboutsummaryrefslogtreecommitdiff
path: root/development/decklink-sdk/decklink-sdk.SlackBuild
diff options
context:
space:
mode:
authorChristoph Willing <chris.willing@iinet.net.au>2017-04-13 22:21:24 +1000
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2017-04-15 07:18:04 +0700
commit40dd77c8b5a2e0c80ec404b34af10ee3abea21c5 (patch)
tree967eee249007810675edd3b0949cb5923925a9ce /development/decklink-sdk/decklink-sdk.SlackBuild
parentc12dc3569a867bb01d490dc3460f5aadc486f2b1 (diff)
development/decklink-sdk: Updated for version 10.8.6
Signed-off-by: Christoph Willing <chris.willing@iinet.net.au>
Diffstat (limited to 'development/decklink-sdk/decklink-sdk.SlackBuild')
-rw-r--r--development/decklink-sdk/decklink-sdk.SlackBuild15
1 files changed, 7 insertions, 8 deletions
diff --git a/development/decklink-sdk/decklink-sdk.SlackBuild b/development/decklink-sdk/decklink-sdk.SlackBuild
index 12dd98d1a979c..d91e2c8c9825c 100644
--- a/development/decklink-sdk/decklink-sdk.SlackBuild
+++ b/development/decklink-sdk/decklink-sdk.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for decklink-sdk
-# Copyright 2015 Christoph Willing Brisbane, Australia
+# Copyright 2015-2017 Christoph Willing Brisbane, Australia
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -24,18 +24,17 @@
PRGNAM=decklink-sdk
SRCNAM=Blackmagic_DeckLink_SDK
-VERSION=${VERSION:-10.1.4}
+VERSION=${VERSION:-10.8.6}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
- i?86) ARCH=i486 ;;
+ i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
fi
-PKGARCH=noarch
CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
@@ -107,7 +106,7 @@ for m in `find . -name "*.pro"`; do
sed -i '
/INCLUDEPATH/ {
a\
-INCLUDEPATH = /usr/include/decklink
+INCLUDEPATH += /usr/include/decklink\\
d
}
' $m
@@ -118,9 +117,9 @@ done
)
(cd $PKG/usr/doc/$PRGNAM-$VERSION/Samples/ && \
for m in `find . -name "*.pro"`; do
- echo "Editing $m ..."
+ echo "Building $m ..."
sed -i 's/\.\.\/\.\.\/include/\/usr\/include\/decklink/g' $m
- (cd $(dirname $m) && qmake )
+ (cd $(dirname $m) && qmake-qt5 )
done; )
@@ -128,4 +127,4 @@ mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$PKGARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}