diff --git a/libraries/librist/librist.SlackBuild b/libraries/librist/librist.SlackBuild index 3d5d6cdac2..22b723ef00 100644 --- a/libraries/librist/librist.SlackBuild +++ b/libraries/librist/librist.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for librist -# Copyright 2022 Vijay Marcel +# Copyright 2022-2024 Vijay Marcel # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -26,7 +26,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=librist -VERSION=${VERSION:-0.2.7} +VERSION=${VERSION:-0.2.10} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -44,13 +44,13 @@ PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} if [ "$ARCH" = "i586" ]; then - SLKCFLAGS="-O2 -march=i586 -mtune=i686" + SLKCFLAGS="-march=i586 -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" @@ -58,9 +58,6 @@ else 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 @@ -98,7 +95,7 @@ DESTDIR=$PKG ninja install cd .. 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 + | grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded --remove-section=.comment --remove-section=.note 2> /dev/null || true # Don't ship .la files: diff --git a/libraries/librist/librist.info b/libraries/librist/librist.info index 720db87a07..e1ee668cfa 100644 --- a/libraries/librist/librist.info +++ b/libraries/librist/librist.info @@ -1,8 +1,8 @@ PRGNAM="librist" -VERSION="0.2.7" +VERSION="0.2.10" HOMEPAGE="https://code.videolan.org/rist/librist" -DOWNLOAD="https://code.videolan.org/rist/librist/-/archive/v0.2.7/librist-v0.2.7.tar.gz" -MD5SUM="7ac152a1ef28333abb706ce45948e4a3" +DOWNLOAD="https://code.videolan.org/rist/librist/-/archive/v0.2.10/librist-v0.2.10.tar.gz" +MD5SUM="25b5dd5524aa8b89326babfa7cdc328d" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="cmocka cJSON"