23 lines
983 B
Bash
23 lines
983 B
Bash
|
# Template file for 'plex-media-player'
|
||
|
pkgname=plex-media-player
|
||
|
version=2.19.1.904
|
||
|
revision=1
|
||
|
_commit_rev=f679df4f
|
||
|
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=e634296bf51ae7c67729b5fc6371cc3c2da771a4ffcd4f1a9086e9e94c41e940
|
||
|
|
||
|
if [ "$CROSS_BUILD" ]; then
|
||
|
hostmakedepends+=" qt5-devel qt5-host-tools"
|
||
|
fi
|