2021-04-05 19:59:44 +02:00
|
|
|
# Maintainer: Andrew Rabert <ar@nullsum.net>
|
|
|
|
|
|
|
|
pkgname=jellyfin-media-player
|
2021-04-25 05:43:31 +02:00
|
|
|
pkgver=1.5.0
|
|
|
|
pkgrel=1
|
2021-04-05 20:05:22 +02:00
|
|
|
pkgdesc='Jellyfin Desktop Client'
|
2021-04-05 19:59:44 +02:00
|
|
|
arch=('i686' 'x86_64')
|
|
|
|
license=('GPL')
|
2021-04-20 18:38:25 +02:00
|
|
|
url='https://github.com/jellyfin/jellyfin-media-player'
|
2021-04-05 19:59:44 +02:00
|
|
|
depends=('mpv' 'libcec' 'sdl2' 'p8-platform' 'protobuf' 'qt5-webengine' 'qt5-x11extras' 'qt5-quickcontrols')
|
|
|
|
makedepends=('cmake' 'git')
|
2021-04-20 18:38:25 +02:00
|
|
|
source=("https://github.com/jellyfin/jellyfin-media-player/archive/refs/tags/v${pkgver}.tar.gz"
|
2021-04-25 02:25:12 +02:00
|
|
|
'jwc-10.7.2-3.tar.gz::https://github.com/iwalton3/jellyfin-web-jmp/releases/download/jwc-10.7.2-3/dist.zip')
|
2021-04-25 05:43:31 +02:00
|
|
|
sha256sums=('5be7e5d27de52ac60eaf910ac27fc08bc93e5d71e240b68b98cf00714f7a92b4'
|
2021-04-25 02:25:12 +02:00
|
|
|
'c8483e019efd7e3dff719a64fc38536dbf00415103b6d150b4a495ae3b3e3871')
|
2021-04-05 19:59:44 +02:00
|
|
|
|
|
|
|
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
|
|
|
|
}
|