aboutsummaryrefslogtreecommitdiff
path: root/multimedia/jellyfin-media-player/jellyfin-media-player.SlackBuild
diff options
context:
space:
mode:
authorOzan Türkyılmaz <ozan.turkyilmaz@gmail.com>2022-10-10 10:11:55 +0300
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2022-10-13 10:19:10 +0700
commit77b97e1d589d043d353067d70f1abfbdd142f13a (patch)
tree34cf2edf719b83455c70f0ca4a0920d91935f2d9 /multimedia/jellyfin-media-player/jellyfin-media-player.SlackBuild
parentcf4b13983ab39e4878b965eafd663c145c72c086 (diff)
multimedia/jellyfin-media-player: Use correct source for web client
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'multimedia/jellyfin-media-player/jellyfin-media-player.SlackBuild')
-rw-r--r--multimedia/jellyfin-media-player/jellyfin-media-player.SlackBuild11
1 files changed, 5 insertions, 6 deletions
diff --git a/multimedia/jellyfin-media-player/jellyfin-media-player.SlackBuild b/multimedia/jellyfin-media-player/jellyfin-media-player.SlackBuild
index 854e291c2bb49..5e1f73f1255dd 100644
--- a/multimedia/jellyfin-media-player/jellyfin-media-player.SlackBuild
+++ b/multimedia/jellyfin-media-player/jellyfin-media-player.SlackBuild
@@ -28,7 +28,7 @@ PRGNAM=jellyfin-media-player
WCPRGNAM=jellyfin-web-jmp
VERSION=${VERSION:-1.7.1}
WCVERSION=${WCVERSION:-jwc-10.8.1}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -80,19 +80,18 @@ find -L . \
mkdir -p build
cd build
- #We untar webclient here
- tar xvf $CWD/$WCPRGNAM-$WCVERSION.tar.gz
- #And rename the folder for cmake to find
- mv $WCPRGNAM-$WCVERSION dist
+ #We unzip webclient here
+ unzip $CWD/dist.zip
cmake .. \
-DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \
-DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \
-DCMAKE_INSTALL_PREFIX=/usr \
-DLIB_SUFFIX=${LIBDIRSUFFIX} \
-DOpenGL_GL_PREFERENCE=GLVND \
+ -DCMAKE_SKIP_RPATH=1 \
-DCMAKE_BUILD_TYPE=Release ..
make
- make install/strip DESTDIR=$PKG
+ make install DESTDIR=$PKG
cd ..
rm -f $PKG/{,usr/}lib${LIBDIRSUFFIX}/*.la