void-packages/srcpkgs/minitube/template
2017-05-30 14:57:16 +02:00

20 lines
766 B
Bash

# Template file for 'minitube'
pkgname=minitube
version=2.7
revision=1
build_style=qmake
makedepends="qt5-devel phonon-qt5-devel qt5-script-devel qt5-declarative-devel"
hostmakedepends="qt5-tools qt5-qmake $makedepends"
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=ef330a3da1ed46da0abb64e0f1ece5c56427103a79dbfbcebadf69004f0f7468
pre_configure() {
# Provided by Gottox
local _api_key=AIzaSyBzMj41taMuHLAF95-y9cTXL4JpPGqMORk
sed -i "1i DEFINES += APP_GOOGLE_API_KEY=\"$_api_key\"" minitube.pro
}