jellyfin-media-player/PKGBUILD

30 lines
1.1 KiB
Bash
Raw Normal View History

2021-04-05 19:59:44 +02:00
# Maintainer: Andrew Rabert <ar@nullsum.net>
pkgname=jellyfin-media-player
2021-04-18 22:27:29 +02:00
pkgver=1.4.0
2021-04-20 05:32:57 +02:00
pkgrel=2
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')
url='https://github.com/iwalton3/jellyfin-media-player'
depends=('mpv' 'libcec' 'sdl2' 'p8-platform' 'protobuf' 'qt5-webengine' 'qt5-x11extras' 'qt5-quickcontrols')
makedepends=('cmake' 'git')
source=("https://github.com/iwalton3/jellyfin-media-player/archive/refs/tags/v${pkgver}.tar.gz"
2021-04-20 05:32:57 +02:00
'jwc-10.7.2-2.tar.gz::https://github.com/iwalton3/jellyfin-web-jmp/releases/download/jwc-10.7.2-2/dist.zip')
2021-04-18 22:27:29 +02:00
sha256sums=('a0750d7ff7aecace00e1bd3c3b27c11c3ba32d346632ab0c1d2e51a592a3ff26'
2021-04-20 05:32:57 +02:00
'214e69f97ea862cbfc9c9a92ec832e6f145d9adbc2e2fb2c06940088e1c808f5')
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
}