minitube: change to build_style=qmake
This commit is contained in:
parent
defbdaa73c
commit
5b4a202462
1 changed files with 3 additions and 11 deletions
|
@ -1,7 +1,8 @@
|
||||||
# Template file for 'minitube'
|
# Template file for 'minitube'
|
||||||
pkgname=minitube
|
pkgname=minitube
|
||||||
version=2.4
|
version=2.4
|
||||||
revision=2
|
revision=3
|
||||||
|
build_style=qmake
|
||||||
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"
|
||||||
|
@ -13,15 +14,6 @@ checksum=1d8a427a4120d623c689969d92904bf66bf7d3edafcb0f6f9eb7f24d6db39c7b
|
||||||
# Provided by Gottox
|
# Provided by Gottox
|
||||||
_api_key=AIzaSyBzMj41taMuHLAF95-y9cTXL4JpPGqMORk
|
_api_key=AIzaSyBzMj41taMuHLAF95-y9cTXL4JpPGqMORk
|
||||||
|
|
||||||
do_configure() {
|
pre_configure() {
|
||||||
sed -i "1i DEFINES += APP_GOOGLE_API_KEY=\"$_api_key\"" minitube.pro
|
sed -i "1i DEFINES += APP_GOOGLE_API_KEY=\"$_api_key\"" minitube.pro
|
||||||
qmake
|
|
||||||
}
|
|
||||||
|
|
||||||
do_build() {
|
|
||||||
make ${makejobs}
|
|
||||||
}
|
|
||||||
|
|
||||||
do_install() {
|
|
||||||
make INSTALL_ROOT=${DESTDIR} install
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue