gwenview: update to 21.04.0

This commit is contained in:
John 2021-04-25 13:06:51 +02:00
parent 474fd5bf27
commit 40b8b01bff
1 changed files with 3 additions and 12 deletions

View File

@ -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 <helmut@pozimski.eu>"
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