summaryrefslogtreecommitdiffstats
path: root/source/xap/xine-lib/xine-lib.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to '')
-rwxr-xr-xsource/xap/xine-lib/xine-lib.SlackBuild18
1 files changed, 6 insertions, 12 deletions
diff --git a/source/xap/xine-lib/xine-lib.SlackBuild b/source/xap/xine-lib/xine-lib.SlackBuild
index 23f3f4425..c3189fe19 100755
--- a/source/xap/xine-lib/xine-lib.SlackBuild
+++ b/source/xap/xine-lib/xine-lib.SlackBuild
@@ -1,6 +1,6 @@
#!/bin/bash
-# Copyright 2008, 2009, 2012, 2017, 2018, 2019, 2022 Patrick J. Volkerding, Sebeka, MN, USA
+# Copyright 2008, 2009, 2012, 2017, 2018, 2019, 2022, 2023 Patrick J. Volkerding, Sebeka, MN, USA
# Copyright 2011, 2012 Eric Hameleers, Eindhoven, NL
# Copyright 2017 Heinz Wiesinger, Amsterdam, NL
# All rights reserved.
@@ -26,13 +26,13 @@ cd $(dirname $0) ; CWD=$(pwd)
PKGNAM=xine-lib
# Version on the tarball
-VERSION=1.2.12
+VERSION=1.2.13
# Version used in the source directory to cd into
-DIRVER=1.2.12
+DIRVER=1.2.13
# Version used for the Slackware package
-PKGVER=1.2.12
+PKGVER=1.2.13
-BUILD=${BUILD:-3}
+BUILD=${BUILD:-1}
# Automatically determine the architecture we're building on:
if [ -z "$ARCH" ]; then
@@ -81,7 +81,7 @@ mkdir -p $TMP $PKG/usr
cd $TMP
rm -rf xine-lib-$VERSION
tar xvf $CWD/xine-lib-$VERSION.tar.xz || exit 1
-cd xine-lib-$DIRVER || exit 1
+cd xine-lib-$DIRVER || cd xine-lib.$DIRVER || exit 1
chown -R root:root .
find . \
@@ -90,12 +90,6 @@ find . \
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
-exec chmod 644 {} \+
-# Fix build with ffmpeg-5.1:
-zcat $CWD/020-xine-lib-ffmpeg-5.1-fix.patch.gz | patch -p1 --verbose || exit 1
-if ! grep -wq HAVE_AVUTIL_AVCODEC_H include/configure.h.in ; then
- echo "#define HAVE_AVUTIL_AVCODEC_H 1" >> include/configure.h.in
-fi
-
# Fix build with binutils 2.39:
sed '/xine_set_flags/s/XINE_PROTECTED//' -i include/xine.h