okular: update to 20.12.0.

This commit is contained in:
John 2020-12-13 23:38:41 +01:00
parent 93a49f13ef
commit 53a26df6b2

View file

@ -1,24 +1,27 @@
# Template file for 'okular'
pkgname=okular
version=20.08.3
version=20.12.0
revision=1
build_style=cmake
hostmakedepends="extra-cmake-modules pkg-config gettext kcoreaddons"
hostmakedepends="extra-cmake-modules pkg-config gettext kcoreaddons
qt5-qmake qt5-host-tools kdoctools kconfig"
makedepends="discount-devel djvulibre-devel ebook-tools-devel khtml-devel
kpty-devel libchmlib-devel libkexiv25-devel libqmobipocket-devel
libspectre-devel libzip-devel plasma-framework-devel poppler-qt5-devel
purpose-devel qca-qt5-devel qt5-speech-devel threadweaver-devel"
depends="hicolor-icon-theme"
checkdepends="ebook-tools dbus"
short_desc="KDE Document Viewer"
maintainer="John <me@johnnynator.dev>"
license="GPL-2.0-only"
homepage="https://kde.org/applications/en/graphics/org.kde.okular"
distfiles="${KDE_SITE}/release-service/${version}/src/${pkgname}-${version}.tar.xz"
checksum=3f4d084d738a7dfb996d5f1bb5becd2a96b0fbb35135010460f239cdd98ca9e0
checksum=972c5395dad9c47b0251237b476d569bcd21855710a1bf8ec50fa7e6f0472bce
if [ "$CROSS_BUILD" ]; then
hostmakedepends+=" qt5-qmake qt5-host-tools kdoctools kconfig"
fi
do_check() {
cd build
CTEST_OUTPUT_ON_FAILURE=TRUE QT_QPA_PLATFORM=offscreen dbus-run-session ctest
}
libokular_package() {
short_desc+=" - runtime library"