void-packages/srcpkgs/minitube/template

21 lines
713 B
Bash
Raw Normal View History

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