multimedia/jellyfin-media-player: Use correct source for web client

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
Ozan Türkyılmaz 2022-10-10 10:11:55 +03:00 committed by Willy Sudiarto Raharjo
parent cf4b13983a
commit 77b97e1d58
2 changed files with 7 additions and 8 deletions

View File

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

View File

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