aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libraries/libyuv/changelog14
-rw-r--r--libraries/libyuv/libyuv.SlackBuild31
-rw-r--r--libraries/libyuv/libyuv.info6
3 files changed, 23 insertions, 28 deletions
diff --git a/libraries/libyuv/changelog b/libraries/libyuv/changelog
deleted file mode 100644
index d15960ec71..0000000000
--- a/libraries/libyuv/changelog
+++ /dev/null
@@ -1,14 +0,0 @@
-Changelog for libyuv SlackBuild Script
---------------------------------------------------------------------
-
-01/10/2022:
-
-Added to SlackBuilds.org
-
-15/05/2023:
-
-Updated to Debian git commit 62af467 on 07/01/2023
-
-06/02/2023:
-
-Updated to Debian git commit 95d8726 on 16/01/2024
diff --git a/libraries/libyuv/libyuv.SlackBuild b/libraries/libyuv/libyuv.SlackBuild
index ba44bfc687..81457d8205 100644
--- a/libraries/libyuv/libyuv.SlackBuild
+++ b/libraries/libyuv/libyuv.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for libyuv
-# Copyright 2022-2024 Vijay Marcel
+# Copyright 2022-2025 Vijay Marcel
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -22,14 +22,24 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+# Changelog for libyuv SlackBuild Script
+# --------------------------------------------------------------------------------
+
+# 01/10/2022: Added to SlackBuilds.org
+# 15/05/2023: Updated to Debian git commit 62af467 on 07/01/2023
+# 06/02/2023: Updated to Debian git commit 95d8726 on 16/01/2024
+# 18/04/2025: updated to version 0.0.1904.20250204
+
+# ----------------------------------------------------------------------------------
+
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=libyuv
-VERSION=${VERSION:-20240116_95d8726}
+VERSION=${VERSION:-0.0.1904.20250204}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
-GITNAM=${GITNAM:-95d8726b0b8e4a8ef1a4a921fe87cdf563b647a3}
+GITNAM=${GITNAM:-libyuv-upstream}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -68,10 +78,9 @@ trap 'echo "$0 FAILED at line $LINENO!" | tee $OUTPUT/error-${PRGNAM}.log' ERR
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
-rm -rf $PRGNAM-$VERSION
-rm -rf $PRGNAM-$GITNAM
-tar xvf $CWD/$PRGNAM-$GITNAM.tar.gz
-cd $PRGNAM-$GITNAM
+rm -rf $GITNAM-$VERSION
+tar xvf $CWD/$GITNAM-$VERSION.tar.gz
+cd $GITNAM-$VERSION
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
@@ -80,10 +89,10 @@ find -L . \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
if [ "$ARCH" = "x86_64" ]; then
- sed -i 's+DESTINATION lib+DESTINATION lib64+g' $TMP/$PRGNAM-$GITNAM/CMakeLists.txt
+ sed -i 's+DESTINATION lib+DESTINATION lib64+g' $TMP/$GITNAM-$VERSION/CMakeLists.txt
fi
-cmake -B build -S $TMP/$PRGNAM-$GITNAM \
+cmake -B build -S $TMP/$GITNAM-$VERSION \
-DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \
-DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \
-DCMAKE_INSTALL_PREFIX=/usr \
@@ -95,10 +104,10 @@ cmake -B build -S $TMP/$PRGNAM-$GITNAM \
make -C build
make -C build install DESTDIR=$PKG
-rm -f $PKG/{,usr/}lib${LIBDIRSUFFIX}/*.la
+rm -f $PKG/usr/lib${LIBDIRSUFFIX}/*.la
find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
- | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
+ | cut -f 1 -d : | xargs strip --strip-unneeded --remove-section=.comment --remove-section=.note 2> /dev/null || true
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a AUTHORS DEPS LICENSE OWNERS PATENTS README.md README.chromium docs/* $PKG/usr/doc/$PRGNAM-$VERSION
diff --git a/libraries/libyuv/libyuv.info b/libraries/libyuv/libyuv.info
index 5ba00e6cdd..784d891e9c 100644
--- a/libraries/libyuv/libyuv.info
+++ b/libraries/libyuv/libyuv.info
@@ -1,8 +1,8 @@
PRGNAM="libyuv"
-VERSION="20240116_95d8726"
+VERSION="0.0.1904.20250204"
HOMEPAGE="https://chromium.googlesource.com/libyuv/libyuv/"
-DOWNLOAD="https://salsa.debian.org/debian/libyuv/-/archive/95d8726b0b8e4a8ef1a4a921fe87cdf563b647a3/libyuv-95d8726b0b8e4a8ef1a4a921fe87cdf563b647a3.tar.gz"
-MD5SUM="e325cd9e2c1f36b36daacd5bb9fcd003"
+DOWNLOAD="https://salsa.debian.org/debian/libyuv/-/archive/upstream/0.0.1904.20250204/libyuv-upstream-0.0.1904.20250204.tar.gz"
+MD5SUM="4bd0f590771fe83b755a5b291e4354d3"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""