diff options
author | Christoph Willing <chris.willing@linux.com> | 2024-01-02 14:40:15 +1000 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2024-01-06 08:08:52 +0700 |
commit | b58d7a16d0677821a3ddab4a6b01a03294c65a5e (patch) | |
tree | 072e3fbd0ddf69556550a7a31533a4304b0e6e77 /development/decklink-sdk | |
parent | 0dedead518a89ed6de2c2d460a145f50392891bc (diff) | |
download | slackbuilds-b58d7a16d0677821a3ddab4a6b01a03294c65a5e.tar.gz slackbuilds-b58d7a16d0677821a3ddab4a6b01a03294c65a5e.tar.xz |
development/decklink-sdk: Updated for version 12.7
Signed-off-by: Christoph Willing <chris.willing@linux.com>
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'development/decklink-sdk')
-rw-r--r-- | development/decklink-sdk/decklink-sdk.SlackBuild | 17 | ||||
-rw-r--r-- | development/decklink-sdk/decklink-sdk.info | 6 |
2 files changed, 11 insertions, 12 deletions
diff --git a/development/decklink-sdk/decklink-sdk.SlackBuild b/development/decklink-sdk/decklink-sdk.SlackBuild index 125ee2be9f..8484cbde9e 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-2021 Christoph Willing Brisbane, Australia +# Copyright 2015-2023 Christoph Willing Brisbane, Australia # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -26,7 +26,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=decklink-sdk SRCNAM=Blackmagic_DeckLink_SDK -VERSION=${VERSION:-12.0} +VERSION=${VERSION:-12.7} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -113,13 +113,12 @@ done ( cd $PKG/usr/doc/$PRGNAM-$VERSION/Samples && \ for m in `find . -name "*.pro"`; do echo "Editing $m ..." - sed -i ' - /INCLUDEPATH/ { - a\ -INCLUDEPATH += /usr/include/decklink\\ - d - } - ' $m + if [ -e "$(dirname $m)/src" ]; then + echo "XXXX $(dirname $m)" + sed -i '/INCLUDEPATH/ a INCLUDEPATH += /usr/include/decklink \\' $m + else + sed -i '/INCLUDEPATH/ a INCLUDEPATH += /usr/include/decklink ' $m + fi done ) (cd $PKG/usr/doc/$PRGNAM-$VERSION/Samples/ && \ diff --git a/development/decklink-sdk/decklink-sdk.info b/development/decklink-sdk/decklink-sdk.info index 9a51f54fff..3af7a5cc34 100644 --- a/development/decklink-sdk/decklink-sdk.info +++ b/development/decklink-sdk/decklink-sdk.info @@ -1,8 +1,8 @@ PRGNAM="decklink-sdk" -VERSION="12.0" +VERSION="12.7" HOMEPAGE="http://www.blackmagic-design.com" -DOWNLOAD="http://sw.blackmagicdesign.com/DeckLink/v12.0/Blackmagic_DeckLink_SDK_12.0.zip" -MD5SUM="1898d67834f82e0cb3055f1c03b92682" +DOWNLOAD="http://sw.blackmagicdesign.com/DeckLink/v12.7/Blackmagic_DeckLink_SDK_12.7.zip" +MD5SUM="7529651c91132cfa603d2ab26c247d86" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="" |