summaryrefslogtreecommitdiffstats
path: root/source/l/gst-plugins-libav/gst-plugins-libav.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'source/l/gst-plugins-libav/gst-plugins-libav.SlackBuild')
-rwxr-xr-xsource/l/gst-plugins-libav/gst-plugins-libav.SlackBuild12
1 files changed, 2 insertions, 10 deletions
diff --git a/source/l/gst-plugins-libav/gst-plugins-libav.SlackBuild b/source/l/gst-plugins-libav/gst-plugins-libav.SlackBuild
index a81de63a2..e4cd6aaef 100755
--- a/source/l/gst-plugins-libav/gst-plugins-libav.SlackBuild
+++ b/source/l/gst-plugins-libav/gst-plugins-libav.SlackBuild
@@ -26,7 +26,7 @@ cd $(dirname $0) ; CWD=$(pwd)
PKGNAM=gst-plugins-libav
VERSION=${VERSION:-$(echo gst-libav-*.tar.?z | rev | cut -f 3- -d . | cut -f 1 -d - | rev)}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
# Automatically determine the architecture we're building on:
if [ -z "$ARCH" ]; then
@@ -82,15 +82,6 @@ find . \
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
-exec chmod 644 {} \;
-# --with-system-libav now requires ffmpeg4, so we'll use the embedded version
-# until we are able to switch over to that.
-if [ ! "$VERSION" = "1.16.0" ]; then
- echo "New version detected... if we aren't using ffmpeg4 yet please update"
- echo "the check in gst-plugins-libav.SlackBuild."
- echo "Exiting."
- exit 1
-fi
-
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
./configure \
@@ -100,6 +91,7 @@ CXXFLAGS="$SLKCFLAGS" \
--localstatedir=/var \
--mandir=/usr/man \
--disable-static \
+ --with-system-libav \
--with-libav-extra-configure=\"--enable-runtime-cpudetect\" \
--build=$ARCH-slackware-linux || exit 1