mirror of
https://github.com/void-linux/void-packages.git
synced 2025-08-02 10:52:57 +02:00
minitube: provide a google API key.
This commit is contained in:
parent
148d700e33
commit
d22d513804
1 changed files with 8 additions and 2 deletions
|
@ -1,7 +1,7 @@
|
||||||
# Template file for 'minitube'
|
# Template file for 'minitube'
|
||||||
pkgname=minitube
|
pkgname=minitube
|
||||||
version=2.4
|
version=2.4
|
||||||
revision=1
|
revision=2
|
||||||
makedepends="qt-devel phonon-devel"
|
makedepends="qt-devel phonon-devel"
|
||||||
depends="virtual?phonon-backend desktop-file-utils hicolor-icon-theme"
|
depends="virtual?phonon-backend desktop-file-utils hicolor-icon-theme"
|
||||||
short_desc="A native YouTube client in Qt4"
|
short_desc="A native YouTube client in Qt4"
|
||||||
|
@ -10,9 +10,15 @@ license="GPL-3"
|
||||||
homepage="http://flavio.tordini.org/minitube"
|
homepage="http://flavio.tordini.org/minitube"
|
||||||
distfiles="https://github.com/flaviotordini/minitube/archive/$version.tar.gz"
|
distfiles="https://github.com/flaviotordini/minitube/archive/$version.tar.gz"
|
||||||
checksum=1d8a427a4120d623c689969d92904bf66bf7d3edafcb0f6f9eb7f24d6db39c7b
|
checksum=1d8a427a4120d623c689969d92904bf66bf7d3edafcb0f6f9eb7f24d6db39c7b
|
||||||
|
# Provided by Gottox
|
||||||
|
_api_key=AIzaSyBzMj41taMuHLAF95-y9cTXL4JpPGqMORk
|
||||||
|
|
||||||
|
do_configure() {
|
||||||
|
sed -i "1i DEFINES += APP_GOOGLE_API_KEY=\"$_api_key\"" minitube.pro
|
||||||
|
qmake
|
||||||
|
}
|
||||||
|
|
||||||
do_build() {
|
do_build() {
|
||||||
qmake
|
|
||||||
make ${makejobs}
|
make ${makejobs}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue