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>
This commit is contained in:
Stu Miller 2022-05-20 04:12:06 +01:00 committed by Willy Sudiarto Raharjo
parent 3b7974d0e7
commit e094ccaea6
No known key found for this signature in database
GPG key ID: 3F617144D7238786
2 changed files with 11 additions and 6 deletions

View file

@ -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

View file

@ -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"