aboutsummaryrefslogtreecommitdiff
path: root/multimedia
diff options
context:
space:
mode:
authorHeinz Wiesinger <pprkut@slackbuilds.org>2021-09-18 18:11:04 +0200
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2021-09-22 11:33:21 +0700
commit9c3b29e005039266d2d765eeb86352d23ea3be29 (patch)
tree10716ce45672ce1a1156e52b29ddecdff405b0c3 /multimedia
parentbf6b92e8c62507d718721793746def4d9091f292 (diff)
multimedia/x264: Updated for version git_20210613_5db6aa6c
Signed-off-by: Heinz Wiesinger <pprkut@slackbuilds.org> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'multimedia')
-rw-r--r--multimedia/x264/x264-mksrctarball.sh17
-rw-r--r--multimedia/x264/x264.SlackBuild30
-rw-r--r--multimedia/x264/x264.info6
3 files changed, 35 insertions, 18 deletions
diff --git a/multimedia/x264/x264-mksrctarball.sh b/multimedia/x264/x264-mksrctarball.sh
new file mode 100644
index 0000000000000..d414db5e08be5
--- /dev/null
+++ b/multimedia/x264/x264-mksrctarball.sh
@@ -0,0 +1,17 @@
+#!/bin/bash
+
+git clone https://code.videolan.org/videolan/x264.git
+
+cd x264
+ git checkout stable
+ VERSION="git_$(git log --format="%ad_%h" --date=short | head -n 1 | tr -d -)"
+ LONGDATE="$(git log -1 --format=%cd --date=format:%c )"
+cd ..
+
+mv x264 x264-$VERSION
+
+tar --exclude-vcs -cf x264-$VERSION.tar x264-$VERSION
+plzip -9 -v x264-$VERSION.tar
+touch -d "$LONGDATE" x264-$VERSION.tar.lz
+
+rm -rf x264-$VERSION
diff --git a/multimedia/x264/x264.SlackBuild b/multimedia/x264/x264.SlackBuild
index 1988cd7d86b4e..2fd5792c94bb2 100644
--- a/multimedia/x264/x264.SlackBuild
+++ b/multimedia/x264/x264.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for x264
-# Copyright 2010-2017 Heinz Wiesinger, Amsterdam, The Netherlands
+# Copyright 2010-2021 Heinz Wiesinger, Amsterdam, The Netherlands
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -11,23 +11,23 @@
# 1. Redistributions of this script must retain the above copyright
# notice, this list of conditions and the following disclaimer.
#
-# THIS SOFTWARE IS PROVIDED BY THE AUTHOR ''AS IS'' AND ANY EXPRESS OR IMPLIED
-# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
-# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
-# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
-# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
-# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
-# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
-# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
-# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
-# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+# THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR IMPLIED
+# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
+# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
+# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
+# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
+# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
+# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
+# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
# Originally written by core (eroc@linuxmail.org)
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=x264
-VERSION=${VERSION:-20170225}
+VERSION=${VERSION:-git_20210613_5db6aa6c}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -71,9 +71,9 @@ set -e
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
-rm -rf $PRGNAM-snapshot-$VERSION-2245-stable
-tar xvf $CWD/$PRGNAM-snapshot-$VERSION-2245-stable.tar.bz2
-cd $PRGNAM-snapshot-$VERSION-2245-stable
+rm -rf $PRGNAM-$VERSION
+tar xvf $CWD/$PRGNAM-$VERSION.tar.lz
+cd $PRGNAM-$VERSION
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
diff --git a/multimedia/x264/x264.info b/multimedia/x264/x264.info
index 4457b853b6eb9..a0eaf2afcc90b 100644
--- a/multimedia/x264/x264.info
+++ b/multimedia/x264/x264.info
@@ -1,8 +1,8 @@
PRGNAM="x264"
-VERSION="20170225"
+VERSION="git_20210613_5db6aa6c"
HOMEPAGE="http://www.videolan.org/developers/x264.html"
-DOWNLOAD="http://ftp.videolan.org/x264/snapshots/x264-snapshot-20170225-2245-stable.tar.bz2"
-MD5SUM="262d200291935f35669eaac71de180c4"
+DOWNLOAD="http://www.liwjatan.at/files/src/x264/x264-git_20210613_5db6aa6c.tar.lz"
+MD5SUM="a8999192fcef7f11b9c98f92c4812c62"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""