summaryrefslogtreecommitdiff
path: root/multimedia
diff options
context:
space:
mode:
authorStu Miller <slackbuilds@go4it2day.com>2022-05-20 04:12:06 +0100
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2022-05-21 08:25:19 +0700
commite094ccaea6286d15944d4ebb94a6330c747478c6 (patch)
treec007dfe2d24a1e1b483e2aca3e927faabbef7e54 /multimedia
parent3b7974d0e7935c326d5341cc88b3ef45aca59ae9 (diff)
downloadslackbuilds-e094ccaea6286d15944d4ebb94a6330c747478c6.tar.gz
multimedia/plexmediaserver: Updated for v 1.26.1.5798_99a4a6ac9.
Added strip section. 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.SlackBuild7
-rw-r--r--multimedia/plexmediaserver/plexmediaserver.info10
2 files changed, 11 insertions, 6 deletions
diff --git a/multimedia/plexmediaserver/plexmediaserver.SlackBuild b/multimedia/plexmediaserver/plexmediaserver.SlackBuild
index 8c28d8d886..a7b8fbd397 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.0.5715_8cf78dab3}
+VERSION=${VERSION:-1.26.1.5798_99a4a6ac9}
PKG_VERSION=$(echo $VERSION | tr _ -)
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -119,6 +119,11 @@ 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
+
mkdir -p $PKG/usr/share/applications/
mv usr/share/applications/plexmediaserver.desktop $PKG/usr/share/applications
sed -i -e "s/x-www-browser/xdg-open/" $PKG/usr/share/applications/plexmediaserver.desktop
diff --git a/multimedia/plexmediaserver/plexmediaserver.info b/multimedia/plexmediaserver/plexmediaserver.info
index c0a88f537d..cd578bbae0 100644
--- a/multimedia/plexmediaserver/plexmediaserver.info
+++ b/multimedia/plexmediaserver/plexmediaserver.info
@@ -1,10 +1,10 @@
PRGNAM="plexmediaserver"
-VERSION="1.26.0.5715_8cf78dab3"
+VERSION="1.26.1.5798_99a4a6ac9"
HOMEPAGE="https://plex.tv/"
-DOWNLOAD="https://downloads.plex.tv/plex-media-server-new/1.26.0.5715-8cf78dab3/debian/plexmediaserver_1.26.0.5715-8cf78dab3_i386.deb"
-MD5SUM="973098ace00d1dd1fcd8cc7926b89418"
-DOWNLOAD_x86_64="https://downloads.plex.tv/plex-media-server-new/1.26.0.5715-8cf78dab3/debian/plexmediaserver_1.26.0.5715-8cf78dab3_amd64.deb"
-MD5SUM_x86_64="8842b18a517dc829b833b8d7a4804627"
+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"
REQUIRES=""
MAINTAINER="Stu Miller"
EMAIL="slackbuilds@go4it2day.com"