From cc00c4afc40d5311513a95a7e3888d0e2ac17324 Mon Sep 17 00:00:00 2001 From: Stu Miller Date: Wed, 8 Jun 2022 01:58:59 +0100 Subject: multimedia/plexmediaserver: Updated for v 1.26.2.5797_5bd057d2b. Second attempt as stripping the files with spaces in names. Signed-off-by: Dave Woodfall Signed-off-by: Willy Sudiarto Raharjo --- multimedia/plexmediaserver/plexmediaserver.SlackBuild | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) (limited to 'multimedia/plexmediaserver/plexmediaserver.SlackBuild') diff --git a/multimedia/plexmediaserver/plexmediaserver.SlackBuild b/multimedia/plexmediaserver/plexmediaserver.SlackBuild index a7b8fbd397..37db847bed 100644 --- a/multimedia/plexmediaserver/plexmediaserver.SlackBuild +++ b/multimedia/plexmediaserver/plexmediaserver.SlackBuild @@ -30,7 +30,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=plexmediaserver -VERSION=${VERSION:-1.26.1.5798_99a4a6ac9} +VERSION=${VERSION:-1.26.2.5797_5bd057d2b} PKG_VERSION=$(echo $VERSION | tr _ -) BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -119,10 +119,9 @@ find -L . \ mkdir -p $PKG/usr/lib/ mv usr/lib/plexmediaserver $PKG/usr/lib -# Section to strip files using \n instead of \0 separator to take care of file -# paths with spaces in the names - D Woodfall -IFS=$'\n' find $PKG -print | xargs file | grep -e "executable" -e "shared object" | grep ELF | - cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true +# Second attempt at stripping files with spaces in the names. D Woodfall +find $PKG -type f -print0 | xargs -0 -I{} file "{}" | grep -e "executable" -e "shared object" | + grep ELF | cut -f 1 -d : | xargs -I{} strip --strip-unneeded "{}" 2> /dev/null || true mkdir -p $PKG/usr/share/applications/ mv usr/share/applications/plexmediaserver.desktop $PKG/usr/share/applications -- cgit v1.2.3