void-packages/srcpkgs/minitube/template
2021-03-08 10:40:33 +07:00

21 lines
860 B
Bash

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