|
|
@ -2,7 +2,7 @@ |
|
|
|
|
|
|
|
# Slackware build script for openh264 |
|
|
|
|
|
|
|
# Copyright 2022-2024 Vijay Marcel |
|
|
|
# Copyright 2022-2025 Vijay Marcel |
|
|
|
# All rights reserved. |
|
|
|
# |
|
|
|
# Redistribution and use of this script, with or without modification, is |
|
|
@ -30,11 +30,12 @@ |
|
|
|
# 17/05/2023: updated to version 2.3.1 |
|
|
|
# 13/02/2024: updated to version 2.4.1 |
|
|
|
# 20/11/2024: Updated to version 2.5.0 |
|
|
|
# 19/02/2025: updated to version 2.6.0 |
|
|
|
|
|
|
|
cd $(dirname $0) ; CWD=$(pwd) |
|
|
|
|
|
|
|
PRGNAM=openh264 |
|
|
|
VERSION=${VERSION:-2.5.0} |
|
|
|
VERSION=${VERSION:-2.6.0} |
|
|
|
BUILD=${BUILD:-1} |
|
|
|
TAG=${TAG:-_SBo} |
|
|
|
PKGTYPE=${PKGTYPE:-tgz} |
|
|
@ -100,7 +101,7 @@ find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | gr |
|
|
|
| cut -f 1 -d : | xargs strip --strip-unneeded --remove-section=.comment --remove-section=.note 2> /dev/null || true |
|
|
|
|
|
|
|
# Don't ship .la files: |
|
|
|
rm -f $PKG/{,usr/}lib${LIBDIRSUFFIX}/*.la |
|
|
|
rm -f $PKG/usr/lib${LIBDIRSUFFIX}/*.la |
|
|
|
|
|
|
|
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION |
|
|
|
cp -a CODING_STYLE LICENSE CONTRIBUTORS RELEASES *.md $PKG/usr/doc/$PRGNAM-$VERSION |
|
|
|