void-packages/srcpkgs/plex-media-player/template

23 lines
983 B
Bash

# Template file for 'plex-media-player'
pkgname=plex-media-player
version=2.20.0.909
revision=1
_commit_rev=46413dd1
wrksrc="plex-media-player-${version}-${_commit_rev}"
build_style=cmake
configure_args="-DQTROOT="${XBPS_CROSS_BASE}/usr" -DFULL_GIT_REVISION=${_commit_rev}"
hostmakedepends="python3"
makedepends="libcec-devel libX11-devel libXext-devel libXrandr-devel
MesaLib-devel mpv-devel qt5-devel qt5-declarative-devel qt5-location-devel
qt5-webchannel-devel qt5-webengine-devel qt5-x11extras-devel SDL2-devel zlib-devel"
short_desc="Next generation Plex Desktop/Embedded Client"
maintainer="Rasmus Thomsen <rasmus.thomsen@protonmail.com>"
license="LGPL-2.1-or-later"
homepage="https://github.com/plexinc/plex-media-player"
distfiles="https://github.com/plexinc/plex-media-player/archive/v${version}-${_commit_rev}.tar.gz"
checksum=2ae666a1488f694f38acae0f223fbae8cab7f46b0937e0b9523e4d4e36866d8c
if [ "$CROSS_BUILD" ]; then
hostmakedepends+=" qt5-devel qt5-host-tools"
fi