plex-media-player: update to 2.24.0.924.

This commit is contained in:
Piotr Wójcik 2019-01-02 16:53:35 +01:00 committed by Helmut Pozimski
parent 478d6ff32c
commit e58b335ada
2 changed files with 33 additions and 5 deletions

View File

@ -1,12 +1,15 @@
# Template file for 'plex-media-player'
pkgname=plex-media-player
version=2.23.0.920
version=2.24.0.924
revision=1
_commit_rev=5bc1a2e5
_commit_rev=63fcaa8e
_buildid_version=87-ac3c1b07015f76
_clientdesktop_version=3.77.2-7015f76
_clienttv_version=3.80.1-ac3c1b0
wrksrc="plex-media-player-${version}-${_commit_rev}"
build_style=cmake
configure_args="-DQTROOT="${XBPS_CROSS_BASE}/usr" -DFULL_GIT_REVISION=${_commit_rev}"
hostmakedepends="python3"
hostmakedepends="pkg-config 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"
@ -15,9 +18,33 @@ 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=585cd7b5b1be25baafb23d60c00f7c2763f82f86055eb0285c31affbead0caae
distfiles="https://github.com/plexinc/plex-media-player/archive/v${version}-${_commit_rev}.tar.gz
https://artifacts.plex.tv/web-client-pmp/${_buildid_version}/buildid.cmake>buildid-${_buildid_version}.cmake
https://artifacts.plex.tv/web-client-pmp/${_buildid_version}/web-client-desktop-${_clientdesktop_version}.tar.xz
https://artifacts.plex.tv/web-client-pmp/${_buildid_version}/web-client-desktop-${_clientdesktop_version}.tar.xz.sha1
https://artifacts.plex.tv/web-client-pmp/${_buildid_version}/web-client-tv-${_clienttv_version}.tar.xz
https://artifacts.plex.tv/web-client-pmp/${_buildid_version}/web-client-tv-${_clienttv_version}.tar.xz.sha1"
checksum="a6ccd8b0a84f65ac887007ef39ebc5b07960e5d3d29c91d8981cb3d58d6f7e34
9f73300b00f058fa4a751dbc147ec277ce750b14fecff48efb549d6e147825bc
322fb8078a61b67e0d600f5c35d3a6bd9656b9c0adec58290d309cd69c5a6256
da8627894d070c688f2cc97716fb020b0d922a7c69b79c9a4ef23161414414e5
4260c3158f65ce17ae7d52cd8eb1e27c692b22093cf548606efcf306f3d5cc75
1b92d02b72a75f824aa3e78ab4d2aa15c4ce886e8392585c68b5c719242a4729"
skip_extraction="buildid-${_buildid_version}.cmake
web-client-desktop-${_clientdesktop_version}.tar.xz
web-client-desktop-${_clientdesktop_version}.tar.xz.sha1
web-client-tv-${_clienttv_version}.tar.xz
web-client-tv-${_clienttv_version}.tar.xz.sha1"
if [ "$CROSS_BUILD" ]; then
hostmakedepends+=" qt5-devel qt5-host-tools"
fi
post_extract() {
mkdir -p "${wrksrc}/build/dependencies"
cp "${XBPS_SRCDISTDIR}/plex-media-player-${version}/buildid-${_buildid_version}.cmake" "${wrksrc}/build/dependencies"
cp "${XBPS_SRCDISTDIR}/plex-media-player-${version}/web-client-desktop-${_clientdesktop_version}.tar.xz" "${wrksrc}/build/dependencies"
cp "${XBPS_SRCDISTDIR}/plex-media-player-${version}/web-client-desktop-${_clientdesktop_version}.tar.xz.sha1" "${wrksrc}/build/dependencies"
cp "${XBPS_SRCDISTDIR}/plex-media-player-${version}/web-client-tv-${_clienttv_version}.tar.xz" "${wrksrc}/build/dependencies"
cp "${XBPS_SRCDISTDIR}/plex-media-player-${version}/web-client-tv-${_clienttv_version}.tar.xz.sha1" "${wrksrc}/build/dependencies"
}

View File

@ -0,0 +1 @@
pattern='/archive/v?\K[\d+\.]+'