diff options
Diffstat (limited to 'multimedia/openh264')
-rw-r--r-- | multimedia/openh264/README | 1 | ||||
-rw-r--r-- | multimedia/openh264/changelog | 22 | ||||
-rw-r--r-- | multimedia/openh264/openh264.SlackBuild | 18 | ||||
-rw-r--r-- | multimedia/openh264/openh264.info | 6 |
4 files changed, 32 insertions, 15 deletions
diff --git a/multimedia/openh264/README b/multimedia/openh264/README index bdd4f33599..8513923e9c 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 0000000000..89bc471494 --- /dev/null +++ b/multimedia/openh264/changelog @@ -0,0 +1,22 @@ +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 + +13/02/2024: + +updated to version 2.4.1 diff --git a/multimedia/openh264/openh264.SlackBuild b/multimedia/openh264/openh264.SlackBuild index 7b6e6d2e7d..5d1a5960de 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-2024 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.4.1} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -38,28 +38,24 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) TMP=${TMP:-/tmp/SBo} 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=generic -pipe -O2 -fPIC" LIBDIRSUFFIX="64" else SLKCFLAGS="-O2" LIBDIRSUFFIX="" fi -# If the variable PRINT_PACKAGE_NAME is set, then this script will report what -# the name of the created package would be, and then exit. This information -# could be useful to other scripts. if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE" exit 0 @@ -72,7 +68,7 @@ rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT rm -rf $TMP/$PRGNAM-$VERSION cd $TMP -tar xvf $CWD/$PRGNAM-v$VERSION.tar.gz +tar xvf $CWD/$PRGNAM-$VERSION.tar.gz cd $PRGNAM-$VERSION chown -R root:root . find -L . \ @@ -98,7 +94,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 a22136c78c..023b1f3dee 100644 --- a/multimedia/openh264/openh264.info +++ b/multimedia/openh264/openh264.info @@ -1,8 +1,8 @@ PRGNAM="openh264" -VERSION="2.2.0" +VERSION="2.4.1" HOMEPAGE="https://github.com/cisco/openh264" -DOWNLOAD="https://github.com/cisco/openh264/archive/v2.2.0/openh264-v2.2.0.tar.gz" -MD5SUM="19d2820c775abfea141d93779f958a9b" +DOWNLOAD="https://github.com/cisco/openh264/archive/v2.4.1/openh264-2.4.1.tar.gz" +MD5SUM="08396d6c467f7ae063d40b3a378870b0" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="" |