summaryrefslogtreecommitdiff
path: root/multimedia/vlc/vlc.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'multimedia/vlc/vlc.SlackBuild')
-rw-r--r--multimedia/vlc/vlc.SlackBuild14
1 files changed, 3 insertions, 11 deletions
diff --git a/multimedia/vlc/vlc.SlackBuild b/multimedia/vlc/vlc.SlackBuild
index e9ca7f5cd3..df60516b9e 100644
--- a/multimedia/vlc/vlc.SlackBuild
+++ b/multimedia/vlc/vlc.SlackBuild
@@ -6,7 +6,7 @@
# modified to build VLC only, shared libraries needed.
# Copyright (c) 2007,2008,2009,2010,2011 Eric Hameleers, Eindhoven, Netherlands
-# Copyright (c) 2014 Christoph Willing, Brisbane, Australia
+# Copyright (c) 2014-2016 Christoph Willing, Brisbane, Australia
#
# Permission to use, copy, modify, and distribute this software for
# any purpose with or without fee is hereby granted, provided that
@@ -29,7 +29,7 @@
PRGNAM=vlc
VERSION=${VERSION:-2.1.6}
-BUILD=${BUILD:-3}
+BUILD=${BUILD:-4}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
@@ -45,9 +45,6 @@ TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-DECKLINK_SDK_VERSION=${DECKLINK_SDK_VERSION:-10.1.4}
-DECKLINKSDK=Blackmagic_DeckLink_SDK_${DECKLINK_SDK_VERSION}.zip
-
if [ "$ARCH" = "i486" ]; then
SLKCFLAGS="-O2 -march=i486 -mtune=i686"
LIBDIRSUFFIX=""
@@ -81,10 +78,6 @@ rm -rf $PRGNAM-$VERSION
tar xvf $CWD/$PRGNAM-$VERSION.tar.xz
cd $PRGNAM-$VERSION
-mkdir -p decklink/include
-unzip -o $CWD/$DECKLINKSDK
-cp -p Blackmagic\ DeckLink\ SDK\ ${DECKLINK_SDK_VERSION}/Linux/include/* decklink/include/
-
patch -p1 < $CWD/patch-vlc-opencv3.diff
patch -p0 < $CWD/patch-freerdp.diff
@@ -114,8 +107,7 @@ LDFLAGS="$SLKLDFLAGS" \
--localstatedir=/var \
--build=$ARCH-slackware-linux \
--enable-merge-ffmpeg \
- --with-kde-solid=no \
- --with-decklink-sdk=$TMP/$PRGNAM-$VERSION/decklink
+ --with-kde-solid=no
make
make DESTDIR=$PKG install