minitube: change to build_style=qmake

This commit is contained in:
Andrea Brancaleoni 2015-08-23 19:07:16 +02:00
parent defbdaa73c
commit 5b4a202462

View file

@ -1,7 +1,8 @@
# Template file for 'minitube'
pkgname=minitube
version=2.4
revision=2
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"
@ -13,15 +14,6 @@ checksum=1d8a427a4120d623c689969d92904bf66bf7d3edafcb0f6f9eb7f24d6db39c7b
# Provided by Gottox
_api_key=AIzaSyBzMj41taMuHLAF95-y9cTXL4JpPGqMORk
do_configure() {
pre_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
}