22 lines
862 B
Bash
22 lines
862 B
Bash
# Template file for 'minitube'
|
|
pkgname=minitube
|
|
version=3.9.3
|
|
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=0e2e70ff366218353f145a48fb1cc65def540a47082485dc918f8dab904a648c
|
|
|
|
pre_configure() {
|
|
# Provided by Gottox
|
|
local _api_key=AIzaSyBzMj41taMuHLAF95-y9cTXL4JpPGqMORk
|
|
sed -i "1i DEFINES += APP_GOOGLE_API_KEY=\"$_api_key\"" minitube.pro
|
|
}
|