summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2021-05-13 13:37:38 +0200
committerAndreas Sturmlechner <asturm@gentoo.org>2021-05-13 14:21:22 +0200
commit0ddcebe1fea1a192b8c3bb1b7cbce1e3e663baad (patch)
treead0412954338d35e26e9049c87e25933ea9ab7f3 /kde-apps/okular
parentkde-apps/libksane: 21.04.1 version bump (diff)
downloadgentoo-0ddcebe1fea1a192b8c3bb1b7cbce1e3e663baad.tar.gz
gentoo-0ddcebe1fea1a192b8c3bb1b7cbce1e3e663baad.tar.bz2
gentoo-0ddcebe1fea1a192b8c3bb1b7cbce1e3e663baad.zip
kde-apps/okular: 21.04.1 version bump
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
Diffstat (limited to 'kde-apps/okular')
-rw-r--r--kde-apps/okular/Manifest1
-rw-r--r--kde-apps/okular/okular-21.04.1.ebuild107
2 files changed, 108 insertions, 0 deletions
diff --git a/kde-apps/okular/Manifest b/kde-apps/okular/Manifest
index 5ea08e8a28b9..97050e0f08c0 100644
--- a/kde-apps/okular/Manifest
+++ b/kde-apps/okular/Manifest
@@ -1,2 +1,3 @@
DIST okular-20.12.3.tar.xz 7884780 BLAKE2B 8ff44f3f60ea6f9c8b0b2357727a56aae9cd77fd408c60cf8282b41f2e286420747c11bb669e3bf52192481ad56dc3ee9125ba2f777432b423b6217249d31c7f SHA512 f64eca81bdbd163b2780037026c330259d5dd7fed7a175b06601742bc6b98c25f26463d72764e5b77878b3c36df4f4657d4cd5349f389786a45df1a5fa9cda45
DIST okular-21.04.0.tar.xz 7936552 BLAKE2B 95e06ccbe55a8d7b774e89191d0aca88ee235b8b6a2a750be286a370bae57b98387170b722bac113d320c6d8e6964a5d213c016f51d15e64c37fa5bf9a0f6443 SHA512 81b1dbacbbcd76e92e7204c322fabf863e72f959ca6e1f68e1f8d3e6ae8f24ad04987f62bc206b97a7b7aa43b066ab9c3bc630a1bb47c30432183344942a296f
+DIST okular-21.04.1.tar.xz 7999664 BLAKE2B 49bc5b482996b63d72978f9c4c3e6b8fcaae9aa1dc1df3d6ada1d7c8c70f8618c08952f07fdbff229177649c6f9aea381e6cc3f13cbbbcd71c30b678b5871f6f SHA512 d24c481575d7102f846691ea0888f071b43c0e2f371276e33d0f90dc11104a62cffc385f7662f2ba296e926bee4c73c7bfbd7d31c67138500c74bc41d6fdbaa7
diff --git a/kde-apps/okular/okular-21.04.1.ebuild b/kde-apps/okular/okular-21.04.1.ebuild
new file mode 100644
index 000000000000..f35d778a4575
--- /dev/null
+++ b/kde-apps/okular/okular-21.04.1.ebuild
@@ -0,0 +1,107 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+ECM_HANDBOOK="forceoptional"
+ECM_TEST="forceoptional"
+PVCUT=$(ver_cut 1-3)
+KFMIN=5.80.0
+QTMIN=5.15.2
+VIRTUALX_REQUIRED="test"
+inherit ecm kde.org
+
+DESCRIPTION="Universal document viewer based on KDE Frameworks"
+HOMEPAGE="https://okular.kde.org https://apps.kde.org/en/okular"
+
+LICENSE="GPL-2" # TODO: CHECK
+SLOT="5"
+KEYWORDS="~amd64 ~arm64 ~ppc64 ~x86"
+IUSE="chm djvu epub +image-backend markdown mobi +pdf +plucker +postscript qml share speech +tiff"
+
+DEPEND="
+ >=dev-qt/qtdbus-${QTMIN}:5
+ >=dev-qt/qtgui-${QTMIN}:5
+ >=dev-qt/qtprintsupport-${QTMIN}:5
+ >=dev-qt/qtsvg-${QTMIN}:5
+ >=dev-qt/qtwidgets-${QTMIN}:5
+ >=kde-frameworks/kactivities-${KFMIN}:5
+ >=kde-frameworks/karchive-${KFMIN}:5
+ >=kde-frameworks/kbookmarks-${KFMIN}:5
+ >=kde-frameworks/kcompletion-${KFMIN}:5
+ >=kde-frameworks/kconfig-${KFMIN}:5
+ >=kde-frameworks/kconfigwidgets-${KFMIN}:5
+ >=kde-frameworks/kcoreaddons-${KFMIN}:5
+ >=kde-frameworks/kcrash-${KFMIN}:5
+ >=kde-frameworks/kio-${KFMIN}:5
+ >=kde-frameworks/kjs-${KFMIN}:5
+ >=kde-frameworks/kparts-${KFMIN}:5
+ >=kde-frameworks/kpty-${KFMIN}:5
+ >=kde-frameworks/kwallet-${KFMIN}:5
+ >=kde-frameworks/threadweaver-${KFMIN}:5
+ media-libs/freetype
+ >=media-libs/phonon-4.11.0
+ sys-libs/zlib
+ chm? (
+ dev-libs/chmlib
+ dev-libs/libzip:=
+ >=kde-frameworks/khtml-${KFMIN}:5
+ )
+ djvu? ( app-text/djvu )
+ epub? ( app-text/ebook-tools )
+ image-backend? (
+ >=dev-qt/qtgui-${QTMIN}:5[gif,jpeg,png]
+ >=kde-apps/libkexiv2-${PVCUT}:5
+ )
+ markdown? ( app-text/discount )
+ mobi? ( >=kde-apps/kdegraphics-mobipocket-${PVCUT}:5 )
+ pdf? ( app-text/poppler[nss,qt5] )
+ plucker? ( virtual/jpeg:0 )
+ postscript? ( app-text/libspectre )
+ share? ( >=kde-frameworks/purpose-${KFMIN}:5 )
+ speech? ( >=dev-qt/qtspeech-${QTMIN}:5 )
+ tiff? ( media-libs/tiff:0 )
+"
+RDEPEND="${DEPEND}
+ image-backend? ( >=kde-frameworks/kimageformats-${KFMIN}:5 )
+ qml? (
+ >=dev-qt/qtquickcontrols2-${QTMIN}:5
+ >=kde-frameworks/kirigami-${KFMIN}:5
+ )
+"
+
+PATCHES=(
+ "${FILESDIR}/${PN}-20.11.90-tests.patch" # bug 734138
+ "${FILESDIR}/${PN}-20.08.2-hide-mobile-app.patch" # avoid same-name entry
+)
+
+src_configure() {
+ local mycmakeargs=(
+ -DOKULAR_UI=$(usex qml "both" "desktop")
+ $(cmake_use_find_package chm CHM)
+ $(cmake_use_find_package chm KF5KHtml)
+ $(cmake_use_find_package chm LibZip)
+ $(cmake_use_find_package djvu DjVuLibre)
+ $(cmake_use_find_package epub EPub)
+ $(cmake_use_find_package image-backend KF5KExiv2)
+ $(cmake_use_find_package markdown Discount)
+ $(cmake_use_find_package mobi QMobipocket)
+ $(cmake_use_find_package pdf Poppler)
+ $(cmake_use_find_package plucker JPEG)
+ $(cmake_use_find_package postscript LibSpectre)
+ $(cmake_use_find_package share KF5Purpose)
+ $(cmake_use_find_package speech Qt5TextToSpeech)
+ $(cmake_use_find_package tiff TIFF)
+ )
+ ecm_src_configure
+}
+
+src_test() {
+ # mainshelltest hangs, chmgeneratortest fails, bug #603116
+ # parttest hangs, bug #641728, annotationtoolbartest fails, KDE-Bug #429640
+ local myctestargs=(
+ -E "(mainshelltest|chmgeneratortest|parttest|annotationtoolbartest)"
+ )
+
+ ecm_src_test
+}