24 lines
1011 B
Bash
24 lines
1011 B
Bash
# Template file for 'plex-media-player'
|
|
pkgname=plex-media-player
|
|
version=2.22.1.917
|
|
revision=1
|
|
_commit_rev=2a5a2e01
|
|
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"
|
|
depends="qt5-quickcontrols"
|
|
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=26e18d7080ad08f7a5a644baaf71a37254c44f318e9879912db62e821b02a7a1
|
|
|
|
if [ "$CROSS_BUILD" ]; then
|
|
hostmakedepends+=" qt5-devel qt5-host-tools"
|
|
fi
|