void-packages/srcpkgs/minitube/template

20 lines
659 B
Bash

# Template file for 'minitube'
pkgname=minitube
version=2.4
revision=3
build_style=qmake
makedepends="qt-devel phonon-devel"
depends="virtual?phonon-backend desktop-file-utils hicolor-icon-theme"
short_desc="A native YouTube client in Qt4"
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=1d8a427a4120d623c689969d92904bf66bf7d3edafcb0f6f9eb7f24d6db39c7b
# Provided by Gottox
_api_key=AIzaSyBzMj41taMuHLAF95-y9cTXL4JpPGqMORk
pre_configure() {
sed -i "1i DEFINES += APP_GOOGLE_API_KEY=\"$_api_key\"" minitube.pro
}