summaryrefslogtreecommitdiff
path: root/kde-apps/okular
diff options
context:
space:
mode:
Diffstat (limited to 'kde-apps/okular')
-rw-r--r--kde-apps/okular/Manifest2
-rw-r--r--kde-apps/okular/okular-24.08.0.ebuild99
2 files changed, 101 insertions, 0 deletions
diff --git a/kde-apps/okular/Manifest b/kde-apps/okular/Manifest
index af2cbce46168..6faad5ad6b6b 100644
--- a/kde-apps/okular/Manifest
+++ b/kde-apps/okular/Manifest
@@ -4,6 +4,8 @@ AUX okular-23.08.5-implicit-vasprintf.patch 964 BLAKE2B 4a29253fe6f6cc0de8e60a2c
AUX okular-24.04.80-tests.patch 1711 BLAKE2B a653423e1511e280ff3c24b8d35de898908cd297a8486158b22e24cfdf3b0fe1f38f96877d619e107f12151b6de28d87120c61fd3350b2b5f122bb5bb6cc84d0 SHA512 0060ee64238c8e4b5069994f24928b13e194acfbc26715b798638af2c89049a1f452d6c18ead3dc2dc4ba289580d8f6aefea8a5820213136117728706d28a749
DIST okular-23.08.5.tar.xz 8515760 BLAKE2B ec8ddf33917cc092e23934cc184280bf69fd92e184f05a14a3b0ec3636f00a90e35ab7c5b05e6b4083a4a94fb3d8725aa7b71686d5fe1d8962c4678690670f29 SHA512 c9e8b430fa4a5486cee0587f9beb077b4e8b5476f00ed42c9369fbb195ad9733ed310e01ebefc3c08cf78a53a3e72eab44c42a236b3dcad7e02421a864331dd6
DIST okular-24.05.2.tar.xz 8016384 BLAKE2B 21a33ec0b9a451267f6772c460076c3150e02a76d0cf68ae80fda6567c1687ffeb96fe96dcb81bda20d3ada8cf89f782b133619755f80cce32cbc9804af9064c SHA512 029358a7c8935994a3a2949dc2e4629cd9dae9f8589d53759ce42696c9f5ac649d35d841b7ed826daf518c64971a84b04c86ff23c61964369933fa27841e0ceb
+DIST okular-24.08.0.tar.xz 8027692 BLAKE2B 4d62a464020953410773612fcfa8dbecf9e779246cc0aaa8a3eccdfca8bb1b0b634a990caaa3b3923b2e9dccb7d6354dc5de871adb5db1c76a862348ef536d9e SHA512 c647d728a7084c39d8ed951ce9d828d64de4f5f5888751e565f64683c8563834abb4fd3d97a182c04b6df5dd614f74b9802392fce4ffa71444aeec09bc4d7a9e
EBUILD okular-23.08.5.ebuild 3740 BLAKE2B eaa2b9d832a0af554696996ec9600c08b60b537f6ec0044d4f9324956135aac3ab13eaef40b494a2a260af082616a7639e08d561bafd7470059e0adf45618a1f SHA512 975a16bfd14af2ec70e27d26b4827df1370252f24a24b816ede3aedeeb8212049c03fc59f5ef56667463e82cbd2bd2c8641b60bf670e3d9a815b5f886b74f007
EBUILD okular-24.05.2.ebuild 3289 BLAKE2B af972fdfd236c0f047c4e212f66bdff392c35193ab88d4ce21d12e6abcca7cd212ab32f0fb56e02777f43855f7a6d78fca3435842725b0b2741730592a0dbf1f SHA512 b57210ac53f32775765762de9d35c58bfb1d416085d1c703c590547c32d9eb03af0cfe226bb02849c1895e9ef182f870dcb59628c24915dc38697c67b782ba88
+EBUILD okular-24.08.0.ebuild 3289 BLAKE2B f168c38cbf6515a3a0d285d1894fdeb1e97e479c80960fc83fad57680c51496953b31f6266f0b457ec75dfc04df35acce08456f10d05e68f12970d033d3fa235 SHA512 fb7c555dea3bde4559156199c3a5848f4b114a61b71f730a6899149ae2a49ef6c260e607af33ba2de641f2c419d06ade76e473d5420e30befa4d815731d4c73f
MISC metadata.xml 1158 BLAKE2B 531049f2d7584fc27dc696e31f98257f9cfa2586c29598a547933d29058131aa07a6a2662f3b61312f24c43d826f8ce99c17c6ebfd4372fe22900aea020c5e46 SHA512 51112b94fab4711ef02e962ff7346bfad44ab22878196bc16e809bd3cd1ff25282b7871cfeaacff5ed3ccd1f32cff4c948a4706bbb993055cdae93a6bc8a6686
diff --git a/kde-apps/okular/okular-24.08.0.ebuild b/kde-apps/okular/okular-24.08.0.ebuild
new file mode 100644
index 000000000000..c39154790f33
--- /dev/null
+++ b/kde-apps/okular/okular-24.08.0.ebuild
@@ -0,0 +1,99 @@
+# 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,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
+ >=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
+)
+
+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
+}