summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2024-11-07 17:09:22 +0100
committerAndreas Sturmlechner <asturm@gentoo.org>2024-11-07 20:06:02 +0100
commit7ee1c7e86616e01df9d6a741b17ba6c82df6e4e3 (patch)
tree7beef868d369b8963c41ed5992dfde71c1989f7b /kde-apps/okular
parentkde-apps/libksane-common: 24.08.3 version bump (diff)
downloadgentoo-7ee1c7e86616e01df9d6a741b17ba6c82df6e4e3.tar.gz
gentoo-7ee1c7e86616e01df9d6a741b17ba6c82df6e4e3.tar.bz2
gentoo-7ee1c7e86616e01df9d6a741b17ba6c82df6e4e3.zip
kde-apps/okular: 24.08.3 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-24.08.3.ebuild100
2 files changed, 101 insertions, 0 deletions
diff --git a/kde-apps/okular/Manifest b/kde-apps/okular/Manifest
index fb1736a9eceb..e7e43cfabb8b 100644
--- a/kde-apps/okular/Manifest
+++ b/kde-apps/okular/Manifest
@@ -1,2 +1,3 @@
DIST okular-24.08.1.tar.xz 8030632 BLAKE2B 7bbec257944ec7732696e7271544e1d64c24438ad035368164e5188adc9bfd0a5d6d41d2653d2149105b03fcbae24c5a1dc9af7af2d3d3b87b4d092881854d23 SHA512 33c12c58aee0c7f3072f82895f7b4b67993b25d0a2f6f3c43a1810f5e2a9f2e905ba277f13a513a0f38e21b72681542868a40a941ab3a3321d6f71b2966cf589
DIST okular-24.08.2.tar.xz 8050372 BLAKE2B fd7e36c6d919e46abdeffe233a30069ce7e419cc5fcc73905865d95a3b34184869eda1ae6f92c997db2d3ca00ae9f48a223ae54e400bc9d419abbdaeed10d9e6 SHA512 c24f260cdf21489ad8b674412332b2803602e8aa1e008ecdff76dd8aa80e91aa9e73767e7a1112648d9938e744bdde716bb05143704d9c02ff1db7c08ed5aef6
+DIST okular-24.08.3.tar.xz 8050372 BLAKE2B bf2697ae7fdca75c5a1ee3ee1bb3f44b1f79bdf60356e9e966f519502c39f0fa1be952a5a9a4455a7547252b1bf4167a48467b217f5f9229bc33f8563d2d3d0e SHA512 5f8b2c1a0353180bad6a0c706a4ce4db2a5b897e91d4c0baa24daff17ba8e789d70b8be2e5d95eab2b5f104f87dd24065178a27106b22ff2f4f73c61e5d91872
diff --git a/kde-apps/okular/okular-24.08.3.ebuild b/kde-apps/okular/okular-24.08.3.ebuild
new file mode 100644
index 000000000000..b93a699608d9
--- /dev/null
+++ b/kde-apps/okular/okular-24.08.3.ebuild
@@ -0,0 +1,100 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+ECM_HANDBOOK="optional"
+ECM_TEST="forceoptional"
+PVCUT=$(ver_cut 1-3)
+KFMIN=6.5.0
+QTMIN=6.7.2
+inherit ecm gear.kde.org
+
+DESCRIPTION="Universal document viewer based on KDE Frameworks"
+HOMEPAGE="https://okular.kde.org https://apps.kde.org/okular/"
+
+LICENSE="GPL-2" # TODO: CHECK
+SLOT="6"
+KEYWORDS="~amd64 ~arm64 ~ppc64 ~riscv ~x86"
+IUSE="crypt djvu epub markdown mobi +pdf phonon +postscript qml share speech +tiff"
+
+# slot op: Uses Qt6::CorePrivate
+DEPEND="
+ >=dev-qt/qtbase-${QTMIN}:6=[dbus,gui,widgets,X,xml]
+ >=dev-qt/qtdeclarative-${QTMIN}:6
+ >=dev-qt/qtsvg-${QTMIN}:6
+ >=kde-apps/libkexiv2-${PVCUT}:6
+ >=kde-frameworks/karchive-${KFMIN}:6
+ >=kde-frameworks/kbookmarks-${KFMIN}:6
+ >=kde-frameworks/kcolorscheme-${KFMIN}:6
+ >=kde-frameworks/kcompletion-${KFMIN}:6
+ >=kde-frameworks/kconfig-${KFMIN}:6
+ >=kde-frameworks/kconfigwidgets-${KFMIN}:6
+ >=kde-frameworks/kcoreaddons-${KFMIN}:6
+ >=kde-frameworks/kcrash-${KFMIN}:6
+ >=kde-frameworks/ki18n-${KFMIN}:6
+ >=kde-frameworks/kio-${KFMIN}:6
+ >=kde-frameworks/kitemviews-${KFMIN}:6
+ >=kde-frameworks/kparts-${KFMIN}:6
+ >=kde-frameworks/kpty-${KFMIN}:6
+ >=kde-frameworks/ktextwidgets-${KFMIN}:6
+ >=kde-frameworks/kwidgetsaddons-${KFMIN}:6
+ >=kde-frameworks/kwindowsystem-${KFMIN}:6[X]
+ >=kde-frameworks/kxmlgui-${KFMIN}:6
+ >=kde-frameworks/threadweaver-${KFMIN}:6
+ kde-plasma/plasma-activities:6
+ media-libs/freetype
+ sys-libs/zlib
+ crypt? ( >=kde-frameworks/kwallet-${KFMIN}:6 )
+ djvu? ( app-text/djvu )
+ epub? ( app-text/ebook-tools )
+ markdown? ( >=app-text/discount-2.2.7-r1:= )
+ mobi? ( >=kde-apps/kdegraphics-mobipocket-${PVCUT}:6 )
+ pdf? ( >=app-text/poppler-23.12.0[nss,qt6] )
+ phonon? ( >=media-libs/phonon-4.12.0[qt6(+)] )
+ postscript? ( app-text/libspectre )
+ share? ( >=kde-frameworks/purpose-${KFMIN}:6 )
+ speech? ( >=dev-qt/qtspeech-${QTMIN}:6 )
+ tiff? ( media-libs/tiff:= )
+"
+RDEPEND="${DEPEND}
+ >=kde-frameworks/kimageformats-${KFMIN}:6
+ qml? ( >=kde-frameworks/kirigami-${KFMIN}:6 )
+"
+
+PATCHES=(
+ "${FILESDIR}/${PN}-24.04.80-tests.patch" # bug 734138
+ "${FILESDIR}/${PN}-20.08.2-hide-mobile-app.patch" # avoid same-name entry
+ "${FILESDIR}/${PN}-23.08.5-implicit-vasprintf.patch" # bug 922345; pending upstream
+)
+
+src_configure() {
+ local mycmakeargs=(
+ -DCMAKE_DISABLE_FIND_PACKAGE_LibZip=ON
+ -DFORCE_NOT_REQUIRED_DEPENDENCIES="KF6DocTools;LibZip;KF6Wallet;DjVuLibre;EPub;Discount;QMobipocket6;Poppler;LibSpectre;KF6Purpose;Qt6TextToSpeech;TIFF;"
+ -DOKULAR_UI=$(usex qml "both" "desktop")
+ $(cmake_use_find_package crypt KF6Wallet)
+ $(cmake_use_find_package djvu DjVuLibre)
+ $(cmake_use_find_package epub EPub)
+ $(cmake_use_find_package markdown Discount)
+ $(cmake_use_find_package mobi QMobipocket6)
+ $(cmake_use_find_package pdf Poppler)
+ $(cmake_use_find_package phonon Phonon4Qt6)
+ $(cmake_use_find_package postscript LibSpectre)
+ $(cmake_use_find_package share KF6Purpose)
+ $(cmake_use_find_package speech Qt6TextToSpeech)
+ $(cmake_use_find_package tiff TIFF)
+ )
+ ecm_src_configure
+}
+
+src_test() {
+ # mainshelltest hangs, bug #603116
+ # parttest hangs, bug #641728, annotationtoolbartest fails, KDE-Bug #429640
+ # signunsignedfieldtest fails, whatever. bug #852749
+ local myctestargs=(
+ -E "(mainshelltest|parttest|annotationtoolbartest|signunsignedfieldtest)"
+ )
+
+ ecm_src_test
+}