diff options
author | V3n3RiX <venerix@koprulu.sector> | 2024-10-11 04:04:15 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2024-10-11 04:04:15 +0100 |
commit | 61af1efe96cf1037982d2fc90af0749b5ec5a0c6 (patch) | |
tree | fd4966f3b19ef9b18ed5024d7e2f48ef73eb2fee /kde-apps/okular | |
parent | 3aae425b3c39d02e2dc917db0fae8c225c158ca1 (diff) |
gentoo auto-resync : 11:10:2024 - 04:04:14
Diffstat (limited to 'kde-apps/okular')
-rw-r--r-- | kde-apps/okular/Manifest | 2 | ||||
-rw-r--r-- | kde-apps/okular/okular-24.08.2.ebuild | 100 |
2 files changed, 102 insertions, 0 deletions
diff --git a/kde-apps/okular/Manifest b/kde-apps/okular/Manifest index bd8a2ca81989..6bd4cc962e5b 100644 --- a/kde-apps/okular/Manifest +++ b/kde-apps/okular/Manifest @@ -3,6 +3,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-24.05.2.tar.xz 8016384 BLAKE2B 21a33ec0b9a451267f6772c460076c3150e02a76d0cf68ae80fda6567c1687ffeb96fe96dcb81bda20d3ada8cf89f782b133619755f80cce32cbc9804af9064c SHA512 029358a7c8935994a3a2949dc2e4629cd9dae9f8589d53759ce42696c9f5ac649d35d841b7ed826daf518c64971a84b04c86ff23c61964369933fa27841e0ceb DIST okular-24.08.1.tar.xz 8030632 BLAKE2B 7bbec257944ec7732696e7271544e1d64c24438ad035368164e5188adc9bfd0a5d6d41d2653d2149105b03fcbae24c5a1dc9af7af2d3d3b87b4d092881854d23 SHA512 33c12c58aee0c7f3072f82895f7b4b67993b25d0a2f6f3c43a1810f5e2a9f2e905ba277f13a513a0f38e21b72681542868a40a941ab3a3321d6f71b2966cf589 +DIST okular-24.08.2.tar.xz 8050372 BLAKE2B fd7e36c6d919e46abdeffe233a30069ce7e419cc5fcc73905865d95a3b34184869eda1ae6f92c997db2d3ca00ae9f48a223ae54e400bc9d419abbdaeed10d9e6 SHA512 c24f260cdf21489ad8b674412332b2803602e8aa1e008ecdff76dd8aa80e91aa9e73767e7a1112648d9938e744bdde716bb05143704d9c02ff1db7c08ed5aef6 EBUILD okular-24.05.2.ebuild 3372 BLAKE2B 81e4e61c505c1591046d835b6e879d57257f195deb55adf7ac65ddb4c0f1d03779430a6b7e4142b9b4c6e29834467d3ebac3a1f003dddd6132935a0ca726f0d6 SHA512 e99e9565111a23a60c74912d2bcca4d8c3136f18fb4fc254295f76977f5670eff2734720929221c51bed6e8db6bf51fe8fbeb4620c421a657afa9b8a10e05fdc EBUILD okular-24.08.1.ebuild 3377 BLAKE2B 8bc79dc6ac29f6fe48e1784991d8e22673dc2a77568e7f495fc3438e375eb4bc17791f0eeca7c89cacc1f7cc0d75b3f9b7b78292bd78d09a468d481307553c7e SHA512 8723ead1a2f16a19541637d23affe1b4678246ab6402ca7aec7d68504bf7b1cea5fa74e5a252b834169e50d493407d25fbf09f5ae1d905d6bb868aac209a27ee +EBUILD okular-24.08.2.ebuild 3377 BLAKE2B 8bc79dc6ac29f6fe48e1784991d8e22673dc2a77568e7f495fc3438e375eb4bc17791f0eeca7c89cacc1f7cc0d75b3f9b7b78292bd78d09a468d481307553c7e SHA512 8723ead1a2f16a19541637d23affe1b4678246ab6402ca7aec7d68504bf7b1cea5fa74e5a252b834169e50d493407d25fbf09f5ae1d905d6bb868aac209a27ee MISC metadata.xml 1013 BLAKE2B caf7f5f5e74b5f98fe33eeebabf09945fee0feb0b1295baca9ef9f65f2cac8c788fd1b02d64d3f50189df7d987ae7ff9bc481ae33ee0ee0917632df1214acf24 SHA512 932e7a992cef55bc0aed5015c0ef8e889f10d0e2978385a5063b1bc0e9e5f1e6326a674c67b788657c84536957aeda120cd4f424f60cd70396d6b88e604c7c9c diff --git a/kde-apps/okular/okular-24.08.2.ebuild b/kde-apps/okular/okular-24.08.2.ebuild new file mode 100644 index 000000000000..0fc2469a4917 --- /dev/null +++ b/kde-apps/okular/okular-24.08.2.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,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 + "${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 +} |