From 40b8b01bffe321f4bc2fbd25f920b50e5c82dec1 Mon Sep 17 00:00:00 2001 From: John Date: Sun, 25 Apr 2021 13:06:51 +0200 Subject: [PATCH] gwenview: update to 21.04.0 --- srcpkgs/gwenview/template | 15 +++------------ 1 file changed, 3 insertions(+), 12 deletions(-) diff --git a/srcpkgs/gwenview/template b/srcpkgs/gwenview/template index b771d3e490a..03230dee99b 100644 --- a/srcpkgs/gwenview/template +++ b/srcpkgs/gwenview/template @@ -1,8 +1,9 @@ # Template file for 'gwenview' pkgname=gwenview -version=20.04.0 +version=21.04.0 revision=1 build_style=cmake +build_helper=qemu hostmakedepends="extra-cmake-modules pkg-config qt5-qmake qt5-host-tools python3 kdoctools kconfig kcoreaddons gettext" makedepends="qt5-devel qt5-svg-devel phonon-qt5-devel kio-devel kactivities5-devel @@ -14,14 +15,4 @@ maintainer="Helmut Pozimski " license="GPL-2.0-or-later" homepage="https://www.kde.org/applications/graphics/gwenview" distfiles="${KDE_SITE}/release-service/${version}/src/${pkgname}-${version}.tar.xz" -checksum=420671703565f5d2824d430589cd104e6030fd2ffd13ba6453af92d897c9a574 -patch_args="-Np1" - -pre_configure() { - if [ "$CROSS_BUILD" ]; then - mkdir build - _libjpeg_version=$(grep 'define JPEG_LIB_VERSION' /usr/${XBPS_CROSS_TRIPLET}/include/jconfig.h | awk '{print $3}') - echo "JPEGLIB_RUN_RESULT:STRING=${_libjpeg_version}" >> build/CMakeCache.txt - echo "JPEGLIB_RUN_RESULT__TRYRUN_OUTPUT:STRING=${_libjpeg_version}" >> build/CMakeCache.txt - fi -} +checksum=a5f9839db9e756c4e442982314a053b4765f5907398350d7776cf544dc71de1b