minitube: update to 3.7.

This commit is contained in:
Andrew Benson 2021-01-02 12:17:50 -06:00 committed by Andrew Benson
parent 7981c95e74
commit 061a978800

View file

@ -1,10 +1,7 @@
# Template file for 'minitube'
pkgname=minitube
version=3.4.2
version=3.7
revision=1
_commit_hash_http=9f6c1ebafc5877936f845723ffd72a475073f237
_commit_hash_media=02ec169a6ba406ced208c52f9ee7fdb85276d484
_commit_hash_idle=6aa092da64a011e445bf31cf31c0cd8dda4c64ff
build_style=qmake
hostmakedepends="qt5-tools qt5-qmake git"
makedepends="qt5-devel phonon-qt5-devel qt5-script-devel qt5-declarative-devel
@ -14,25 +11,13 @@ short_desc="Qt5-based YouTube client"
maintainer="Orphaned <orphan@voidlinux.org>"
license="GPL-3.0-or-later"
homepage="http://flavio.tordini.org/minitube"
distfiles="https://github.com/flaviotordini/minitube/archive/${version}.tar.gz
https://github.com/flaviotordini/http/archive/${_commit_hash_http}.tar.gz
https://github.com/flaviotordini/media/archive/${_commit_hash_media}.tar.gz
https://github.com/flaviotordini/idle/archive/${_commit_hash_idle}.tar.gz"
checksum="d3c18c99fd73c6f66c3def9ae18d2545776a8718367dbd4f9c0a9e0cef38bd8b
51229ea2e9ccaa7bb2784c135ef6547a36a95e1c256de850d72edf64d6a64642
8091b035c839d6e1b50edf0c56b77bc1ecfba81771725435d4ab15101e7c3205
597156e1f7ac3b8d8bdd251008cc0d10487c120462576088eed69425048d4bde"
distfiles="https://github.com/flaviotordini/minitube/releases/download/${version}/minitube-${version}.tar.bz2"
checksum=a8dd0db3f3f8172abc1ea940d3bf533e87c9a4f8a1df2ce38ff2e0cda728107e
if [ "$CROSS_BUILD" ]; then
hostmakedepends+=" qt5-x11extras-devel qt5-declarative-devel"
fi
post_extract() {
mv -T "../http-${_commit_hash_http}" lib/http
mv -T "../media-${_commit_hash_media}" lib/media
mv -T "../idle-${_commit_hash_idle}" lib/idle
}
pre_configure() {
# Provided by Gottox
local _api_key=AIzaSyBzMj41taMuHLAF95-y9cTXL4JpPGqMORk