21 lines
862 B
Bash
21 lines
862 B
Bash
# Template file for 'minitube'
|
|
pkgname=minitube
|
|
version=3.9.1
|
|
revision=1
|
|
build_style=qmake
|
|
hostmakedepends="qt5-tools qt5-host-tools qt5-qmake git"
|
|
makedepends="qt5-devel phonon-qt5-devel qt5-script-devel qt5-declarative-devel
|
|
qt5-plugin-sqlite qt5-x11extras-devel mpv-devel"
|
|
depends="virtual?phonon-qt5-backend desktop-file-utils hicolor-icon-theme"
|
|
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/releases/download/${version}/minitube-${version}.tar.bz2"
|
|
checksum=7063d3db599c0c9c3ddfea39a14cf708bd5bc9ff1dbb66acb4bd1eb1b7a86a47
|
|
|
|
pre_configure() {
|
|
# Provided by Gottox
|
|
local _api_key=AIzaSyBzMj41taMuHLAF95-y9cTXL4JpPGqMORk
|
|
sed -i "1i DEFINES += APP_GOOGLE_API_KEY=\"$_api_key\"" minitube.pro
|
|
}
|