qupzilla: change to build_style=qmake

Also use build_pie=yes which is supported by the qmake build style.
This commit is contained in:
Jürgen Buchmüller 2015-08-22 19:42:51 +02:00
parent 534b60b232
commit 29c98a6a7c

View file

@ -1,10 +1,10 @@
# Template file for 'qupzilla'
pkgname=qupzilla
version=1.8.6
revision=6
revision=7
wrksrc=QupZilla-${version}
build_style=gnu-makefile
make_install_args="INSTALL_ROOT=\${DESTDIR}"
build_style=qmake
build_pie=yes
hostmakedepends="pkg-config"
makedepends="qt5-devel qt5-script-devel qt5-tools-devel qt5-webkit-devel"
depends="qt5-plugin-sqlite"
@ -14,7 +14,3 @@ license="GPL-3"
homepage="http://www.qupzilla.com/"
distfiles="https://github.com/QupZilla/${pkgname}/releases/download/v${version}/QupZilla-${version}.tar.xz"
checksum=aecda29f8994c9dc4d6b5f76ce5b1ba947272a0d5a40b5d83a54023dd5d7a6a5
pre_build() {
qmake QMAKE_LFLAGS_SHLIB+=" -Wl,-z,now" QMAKE_LFLAGS_PLUGIN+=" -Wl,-z,now"
}