development/decklink-sdk: Replaced backtick cmdsub.

Signed-off-by: B. Watson <urchlay@slackware.uk>

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
B. Watson 2024-07-15 02:34:51 -04:00 committed by Willy Sudiarto Raharjo
parent a4ef714c9f
commit a71da0dfbe
No known key found for this signature in database
GPG key ID: 3F617144D7238786

View file

@ -84,7 +84,7 @@ cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
# Amend Examples' Makefile to reflect some installed locations
( cd $PKG/usr/doc/$PRGNAM-$VERSION/Examples && \
for m in `find . -name Makefile`; do
for m in $( find . -name Makefile ); do
echo "Editing $m ..."
sed -i '
/^SDK_PATH=/ {
@ -97,7 +97,7 @@ done
# Amend Samples' Makefiles to reflect some installed locations
( cd $PKG/usr/doc/$PRGNAM-$VERSION/Samples && \
for m in `find . -name Makefile`; do
for m in $( find . -name Makefile ); do
echo "Editing $m ..."
sed -i '
/CFLAGS=/ {
@ -111,7 +111,7 @@ SDK_PATH=\/usr\/include\/decklink
done
)
( cd $PKG/usr/doc/$PRGNAM-$VERSION/Samples && \
for m in `find . -name "*.pro"`; do
for m in $( find . -name "*.pro" ); do
echo "Editing $m ..."
if [ -e "$(dirname $m)/src" ]; then
echo "XXXX $(dirname $m)"
@ -125,7 +125,7 @@ done
find . -name "build.sh" -exec chmod 0755 {} \;
)
(cd $PKG/usr/doc/$PRGNAM-$VERSION/Samples/ && \
for m in `find . -name "*.pro"`; do
for m in $( find . -name "*.pro" ); do
echo "Building $m ..."
sed -i 's/\.\.\/\.\.\/include/\/usr\/include\/decklink/g' $m
(cd $(dirname $m) && qmake-qt5 )