aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVijay Marcel <vijaymarcel@outlook.com>2024-02-22 21:35:13 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2024-02-23 16:23:42 +0700
commit74bf187211368382384cc4707fe4bf4f7e6b6cb5 (patch)
treef362ea9884ed768b215f117584ce0a2ab2c4df80
parent11cd376ef0f687f628727f47170ca0e6d4b9063c (diff)
libraries/librist: Updated for version 0.2.10.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
-rw-r--r--libraries/librist/librist.SlackBuild15
-rw-r--r--libraries/librist/librist.info6
2 files changed, 9 insertions, 12 deletions
diff --git a/libraries/librist/librist.SlackBuild b/libraries/librist/librist.SlackBuild
index 3d5d6cdac2d7..22b723ef00f3 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 720db87a075b..e1ee668cfa17 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"