void-packages/srcpkgs/minitube/template

21 lines
713 B
Bash

# Template file for 'minitube'
pkgname=minitube
version=2.5
revision=2
build_style=qmake
makedepends="qt5-devel phonon-qt5-devel qt5-script-devel"
hostmakedepends="qt5-tools"
depends="virtual?phonon-qt5-backend desktop-file-utils hicolor-icon-theme"
short_desc="A native YouTube client in Qt5"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
license="GPL-3"
homepage="http://flavio.tordini.org/minitube"
distfiles="https://github.com/flaviotordini/minitube/archive/$version.tar.gz"
checksum=1f53fa768453106ef9b8dc3160c0b321804353ace82d054518f1ed4a6526d678
# Provided by Gottox
_api_key=AIzaSyBzMj41taMuHLAF95-y9cTXL4JpPGqMORk
pre_configure() {
sed -i "1i DEFINES += APP_GOOGLE_API_KEY=\"$_api_key\"" minitube.pro
}