diff options
Diffstat (limited to 'development/decklink-sdk/decklink-sdk.SlackBuild')
-rw-r--r-- | development/decklink-sdk/decklink-sdk.SlackBuild | 15 |
1 files changed, 7 insertions, 8 deletions
diff --git a/development/decklink-sdk/decklink-sdk.SlackBuild b/development/decklink-sdk/decklink-sdk.SlackBuild index 12dd98d1a9..d91e2c8c98 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} |