# Maintainer: Andrew Rabert pkgname=jellyfin-media-player pkgver=1.6.1 pkgrel=1 pkgdesc='Jellyfin Desktop Client' arch=('i686' 'x86_64') license=('GPL') url='https://github.com/jellyfin/jellyfin-media-player' depends=('mpv' 'libcec' 'sdl2' 'p8-platform' 'protobuf' 'qt5-webengine' 'qt5-x11extras' 'qt5-quickcontrols') makedepends=('cmake' 'git') source=("https://github.com/jellyfin/jellyfin-media-player/archive/refs/tags/v${pkgver}.tar.gz" 'jwc-10.7.6.tar.gz::https://github.com/iwalton3/jellyfin-web-jmp/releases/download/jwc-10.7.6/dist.zip') sha256sums=('3c3c91c96c0905ae5984f6d0c86f823807cfe7f1c6b3360350aa5afe8b84f8b0' 'eff3928a20e8123d35233ce82d2ef53e504004b767d98fe3b54e89ee83a2a5c6') build() { cd "${srcdir}/jellyfin-media-player-${pkgver}" mkdir -p build cd build cp -r "${srcdir}/dist" . cmake -DCMAKE_INSTALL_PREFIX='/usr/' -DCMAKE_BUILD_TYPE='Release' -DQTROOT=./qt -DCMAKE_SKIP_RPATH=1 .. make } package() { cd "${srcdir}/jellyfin-media-player-${pkgver}/build" DESTDIR="${pkgdir}" make install }