27 lines
737 B
Bash
27 lines
737 B
Bash
# Template file for 'minitube'
|
|
pkgname=minitube
|
|
version=2.4
|
|
revision=2
|
|
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
|
|
|
|
do_configure() {
|
|
sed -i "1i DEFINES += APP_GOOGLE_API_KEY=\"$_api_key\"" minitube.pro
|
|
qmake
|
|
}
|
|
|
|
do_build() {
|
|
make ${makejobs}
|
|
}
|
|
|
|
do_install() {
|
|
make INSTALL_ROOT=${DESTDIR} install
|
|
}
|