diff options
author | Andreas Sturmlechner <asturm@gentoo.org> | 2024-07-03 18:53:13 +0200 |
---|---|---|
committer | Andreas Sturmlechner <asturm@gentoo.org> | 2024-07-04 13:50:15 +0200 |
commit | bdd77540f528ad5dbd1941d22a8d22f32380a224 (patch) | |
tree | 7b61524c3e3a2c86cbe143ffeb71f212329a8ae6 /kde-apps/okular | |
parent | kde-apps/libksane: 24.05.2 version bump (diff) | |
download | gentoo-bdd77540f528ad5dbd1941d22a8d22f32380a224.tar.gz gentoo-bdd77540f528ad5dbd1941d22a8d22f32380a224.tar.bz2 gentoo-bdd77540f528ad5dbd1941d22a8d22f32380a224.zip |
kde-apps/okular: 24.05.2 version bump
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
Diffstat (limited to 'kde-apps/okular')
-rw-r--r-- | kde-apps/okular/Manifest | 1 | ||||
-rw-r--r-- | kde-apps/okular/okular-24.05.2.ebuild | 99 |
2 files changed, 100 insertions, 0 deletions
diff --git a/kde-apps/okular/Manifest b/kde-apps/okular/Manifest index c2f2e4be78a2..eb49106ca48f 100644 --- a/kde-apps/okular/Manifest +++ b/kde-apps/okular/Manifest @@ -1,2 +1,3 @@ DIST okular-23.08.5.tar.xz 8515760 BLAKE2B ec8ddf33917cc092e23934cc184280bf69fd92e184f05a14a3b0ec3636f00a90e35ab7c5b05e6b4083a4a94fb3d8725aa7b71686d5fe1d8962c4678690670f29 SHA512 c9e8b430fa4a5486cee0587f9beb077b4e8b5476f00ed42c9369fbb195ad9733ed310e01ebefc3c08cf78a53a3e72eab44c42a236b3dcad7e02421a864331dd6 DIST okular-24.05.1.tar.xz 8017872 BLAKE2B b1f6cdd726ea0375ab942d478609c9c0775aea472e3f8767c351c499108c1e9eb932bd613eb8a059fb753181c0902b909fba87d3d3c5d631b2229ab701455fc7 SHA512 43f1cbb9ec33e8c486179eff7641179346f92945205632278c6fcb1a263bb7b2cd2c91ab1b972d09151fb00106c5d78872273bf4fcf2a80ffc1942e30ac856df +DIST okular-24.05.2.tar.xz 8016384 BLAKE2B 21a33ec0b9a451267f6772c460076c3150e02a76d0cf68ae80fda6567c1687ffeb96fe96dcb81bda20d3ada8cf89f782b133619755f80cce32cbc9804af9064c SHA512 029358a7c8935994a3a2949dc2e4629cd9dae9f8589d53759ce42696c9f5ac649d35d841b7ed826daf518c64971a84b04c86ff23c61964369933fa27841e0ceb diff --git a/kde-apps/okular/okular-24.05.2.ebuild b/kde-apps/okular/okular-24.05.2.ebuild new file mode 100644 index 000000000000..a4fc6128c7d2 --- /dev/null +++ b/kde-apps/okular/okular-24.05.2.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.3.0 +QTMIN=6.6.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" +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 +} |