aboutsummaryrefslogtreecommitdiff
path: root/multimedia/openh264
diff options
context:
space:
mode:
authorVijay Marcel <vijaymarcel@outlook.com>2023-05-18 22:54:21 +0100
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2023-05-20 11:17:11 +0700
commitc8385de8f9c551d5a97fea87605c254deb0667c6 (patch)
treebe6eab58aecc92b12fb2f76d51abe5c6d7c4b0b6 /multimedia/openh264
parentc727010a174407b69edb922cca7ea585736d0ffd (diff)
multimedia/openh264: Updated for version 2.3.1.
Signed-off-by: bedlam <dave@slackbuilds.org> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'multimedia/openh264')
-rw-r--r--multimedia/openh264/README1
-rw-r--r--multimedia/openh264/changelog18
-rw-r--r--multimedia/openh264/openh264.SlackBuild12
-rw-r--r--multimedia/openh264/openh264.info6
4 files changed, 27 insertions, 10 deletions
diff --git a/multimedia/openh264/README b/multimedia/openh264/README
index bdd4f33599163..8513923e9cbcb 100644
--- a/multimedia/openh264/README
+++ b/multimedia/openh264/README
@@ -2,4 +2,3 @@ Openh264 is a H.264 library supports encoding and
decoding in realtime applications such as webRTC
This is an optional dependency of FFmpeg
-
diff --git a/multimedia/openh264/changelog b/multimedia/openh264/changelog
new file mode 100644
index 0000000000000..fef17607b0521
--- /dev/null
+++ b/multimedia/openh264/changelog
@@ -0,0 +1,18 @@
+Changelog for openh264 SlackBuild Script
+--------------------------------------------------------------------
+
+03/09/2022:
+
+Added to slackbuilds.org
+
+07/01/2023:
+
+Github tarball handling was fixed by Andrew Clemmons
+
+18/02/2023:
+
+openh264 slackbuild script fixed by B.Watson
+
+17/05/2023:
+
+updated to version 2.3.1
diff --git a/multimedia/openh264/openh264.SlackBuild b/multimedia/openh264/openh264.SlackBuild
index 6e2b2c0fcbb5f..ea0a5aef3d7f2 100644
--- a/multimedia/openh264/openh264.SlackBuild
+++ b/multimedia/openh264/openh264.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for openh264
-# Copyright 2022 Vijay Marcel
+# Copyright 2022-2023 Vijay Marcel
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -25,7 +25,7 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=openh264
-VERSION=${VERSION:-2.2.0}
+VERSION=${VERSION:-2.3.1}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -43,13 +43,13 @@ PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
if [ "$ARCH" = "i586" ]; then
- SLKCFLAGS="-O2 -march=i686 -mtune=i686"
+ SLKCFLAGS="-march=i686 -mtune=i686 -pipe -O2 -fPIC"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
- SLKCFLAGS="-O2 -march=i686 -mtune=i686"
+ SLKCFLAGS="-march=i686 -mtune=i686 -pipe -O2 -fPIC"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "x86_64" ]; then
- SLKCFLAGS="-O2 -fPIC"
+ SLKCFLAGS="-march=x86-64 -mtune=native -pipe -O2 -fPIC"
LIBDIRSUFFIX="64"
else
SLKCFLAGS="-O2"
@@ -97,7 +97,7 @@ find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | gr
rm -f $PKG/{,usr/}lib${LIBDIRSUFFIX}/*.la
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a LICENSE CONTRIBUTORS RELEASES *.md $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a CODING_STYLE LICENSE CONTRIBUTORS RELEASES *.md $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install
diff --git a/multimedia/openh264/openh264.info b/multimedia/openh264/openh264.info
index 0762f5477bc5b..8418b1859e892 100644
--- a/multimedia/openh264/openh264.info
+++ b/multimedia/openh264/openh264.info
@@ -1,8 +1,8 @@
PRGNAM="openh264"
-VERSION="2.2.0"
+VERSION="2.3.1"
HOMEPAGE="https://github.com/cisco/openh264"
-DOWNLOAD="https://github.com/cisco/openh264/archive/v2.2.0/openh264-2.2.0.tar.gz"
-MD5SUM="19d2820c775abfea141d93779f958a9b"
+DOWNLOAD="https://github.com/cisco/openh264/archive/v2.3.1/openh264-2.3.1.tar.gz"
+MD5SUM="fb26184faec8e0d99ffc87e2abd188aa"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""