From 225a63d912dde0974ccaf5f28a07e59a9ee376e4 Mon Sep 17 00:00:00 2001 From: Andrea Brancaleoni Date: Sun, 23 Aug 2015 18:11:55 +0200 Subject: [PATCH] qpdfview: change to build_style=qmake --- srcpkgs/qpdfview/template | 14 ++++---------- 1 file changed, 4 insertions(+), 10 deletions(-) diff --git a/srcpkgs/qpdfview/template b/srcpkgs/qpdfview/template index a4a000dc342..ace8b87d0a7 100644 --- a/srcpkgs/qpdfview/template +++ b/srcpkgs/qpdfview/template @@ -1,7 +1,8 @@ # Template file for 'qpdfview' pkgname=qpdfview version=0.4.15 -revision=1 +revision=2 +build_style=qmake hostmakedepends="pkg-config" makedepends="qt5-tools qt5-svg-devel poppler-qt5-devel libspectre-devel djvulibre-devel file-devel cups-devel" @@ -12,15 +13,8 @@ homepage="https://launchpad.net/qpdfview" license="GPL-2" distfiles="https://launchpad.net/${pkgname}/trunk/${version}/+download/${pkgname}-${version}.tar.gz" checksum=a2dca83bc12c1241fc0603f8fb029a5d5011c68f9266d4a3a804fb75bf00f271 +configure_args="${pkgname}.pro" -do_configure() { +pre_configure() { lrelease ${pkgname}.pro - qmake QMAKE_CFLAGS="${CFLAGS}" QMAKE_CXXFLAGS="${CXXFLAGS}" \ - QMAKE_LFLAGS="${LDFLAGS}" QMAKE_STRIP="" ${pkgname}.pro -} -do_build() { - make ${makejobs} -} -do_install() { - make INSTALL_ROOT=${DESTDIR} install }