aboutsummaryrefslogtreecommitdiff
path: root/multimedia
diff options
context:
space:
mode:
authorStu Miller <slackbuilds@go4it2day.com>2022-06-08 01:58:59 +0100
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2022-06-11 08:59:01 +0700
commitcc00c4afc40d5311513a95a7e3888d0e2ac17324 (patch)
treef4c0bc87ca9ff286556991a0f63af2aefbd428c4 /multimedia
parent9e10311975260f2cfe398e6717d04c5f5ad91a73 (diff)
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 <dave@slackbuilds.org> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'multimedia')
-rw-r--r--multimedia/plexmediaserver/plexmediaserver.SlackBuild9
-rw-r--r--multimedia/plexmediaserver/plexmediaserver.info10
2 files changed, 9 insertions, 10 deletions
diff --git a/multimedia/plexmediaserver/plexmediaserver.SlackBuild b/multimedia/plexmediaserver/plexmediaserver.SlackBuild
index a7b8fbd3973fd..37db847bede84 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
diff --git a/multimedia/plexmediaserver/plexmediaserver.info b/multimedia/plexmediaserver/plexmediaserver.info
index cd578bbae0157..ab1ae21dfb2cd 100644
--- a/multimedia/plexmediaserver/plexmediaserver.info
+++ b/multimedia/plexmediaserver/plexmediaserver.info
@@ -1,10 +1,10 @@
PRGNAM="plexmediaserver"
-VERSION="1.26.1.5798_99a4a6ac9"
+VERSION="1.26.2.5797_5bd057d2b"
HOMEPAGE="https://plex.tv/"
-DOWNLOAD="https://downloads.plex.tv/plex-media-server-new/1.26.1.5798-99a4a6ac9/debian/plexmediaserver_1.26.1.5798-99a4a6ac9_i386.deb"
-MD5SUM="571dd75ae7bf64a1373676fa194076b3"
-DOWNLOAD_x86_64="https://downloads.plex.tv/plex-media-server-new/1.26.1.5798-99a4a6ac9/debian/plexmediaserver_1.26.1.5798-99a4a6ac9_amd64.deb"
-MD5SUM_x86_64="2d559c762a97dc15c991e467d9bdd9a2"
+DOWNLOAD="https://downloads.plex.tv/plex-media-server-new/1.26.2.5797-5bd057d2b/debian/plexmediaserver_1.26.2.5797-5bd057d2b_i386.deb"
+MD5SUM="bd3f2f607a178e9d421a9a01ddd947f7"
+DOWNLOAD_x86_64="https://downloads.plex.tv/plex-media-server-new/1.26.2.5797-5bd057d2b/debian/plexmediaserver_1.26.2.5797-5bd057d2b_amd64.deb"
+MD5SUM_x86_64="ada92743829bff0591957369c469ad6f"
REQUIRES=""
MAINTAINER="Stu Miller"
EMAIL="slackbuilds@go4it2day.com"