aboutsummaryrefslogtreecommitdiff
path: root/multimedia/jellyfin-media-player
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
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')
-rw-r--r--multimedia/jellyfin-media-player/jellyfin-media-player.SlackBuild11
-rw-r--r--multimedia/jellyfin-media-player/jellyfin-media-player.info4
2 files changed, 7 insertions, 8 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
diff --git a/multimedia/jellyfin-media-player/jellyfin-media-player.info b/multimedia/jellyfin-media-player/jellyfin-media-player.info
index 1b913ca0a4589..417fd8f02be0d 100644
--- a/multimedia/jellyfin-media-player/jellyfin-media-player.info
+++ b/multimedia/jellyfin-media-player/jellyfin-media-player.info
@@ -1,8 +1,8 @@
PRGNAM="jellyfin-media-player"
VERSION="1.7.1"
HOMEPAGE="https://github.com/jellyfin/jellyfin-media-player"
-DOWNLOAD="https://github.com/jellyfin/jellyfin-media-player/archive/v1.7.1/jellyfin-media-player-1.7.1.tar.gz https://github.com/iwalton3/jellyfin-web-jmp/archive/jwc-10.8.1/jellyfin-web-jmp-jwc-10.8.1.tar.gz"
-MD5SUM="7189d8ab9c4750042ca49fcefef405c4 c38899c6a524125bbfaa9136bc9d0564"
+DOWNLOAD="https://github.com/jellyfin/jellyfin-media-player/archive/v1.7.1/jellyfin-media-player-1.7.1.tar.gz https://github.com/iwalton3/jellyfin-web-jmp/releases/download/jwc-10.8.1/dist.zip"
+MD5SUM="7189d8ab9c4750042ca49fcefef405c4 72e280fda9ef4e7489a738e613414424"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="lua mpv"