Here is a patch for okular.
The package compiles with libretools (x86_64)
It doesn't compile on armv7h because not all required packages
from Archlinuxarm repos are in Parabola repos.
It works (tested on x86_64)
Changes:
- reorganized package lists
- removed unused optdepends
From 07d3b52d19a2d1efb91c2fae9e1bd6a48612c758 Mon Sep 17 00:00:00 2001
From: SolveFinder <[email protected]>
Date: Mon, 11 Mar 2024 22:50:30 +0300
Subject: [PATCH] okular: upgrade to v24.02.0
---
libre/okular/PKGBUILD | 64 ++++++++++++++++++++++++++++++++++---------
1 file changed, 51 insertions(+), 13 deletions(-)
diff --git a/libre/okular/PKGBUILD b/libre/okular/PKGBUILD
index 86a1103cc..a39aa2e3e 100644
--- a/libre/okular/PKGBUILD
+++ b/libre/okular/PKGBUILD
@@ -8,11 +8,11 @@
# parabola changes and rationale:
# - disable DRM
-# - replace non-free optdepends
+# - remove unrar support
pkgname=okular
-pkgver=23.08.2
+pkgver=24.02.0
pkgrel=1
pkgrel+=.parabola1
pkgdesc='Document Viewer'
@@ -20,20 +20,58 @@ pkgdesc+=', with copy-protection anti-feature disabled, without nonfree recommen
arch=(x86_64)
arch+=(i686 armv7h)
url='https://apps.kde.org/okular/'
-license=(GPL LGPL FDL)
-groups=(kde-applications kde-graphics)
-depends=(djvulibre libspectre libkexiv2 poppler-qt5 kpty5 kactivities5 threadweaver5 kparts5 purpose5 discount phonon-qt5)
-makedepends=(extra-cmake-modules ebook-tools kdegraphics-mobipocket kdoctools5 khtml chmlib)
+license=(GPL-2.0-or-later LGPL-2.0-or-later)
+depends=(discount
+ djvulibre
+ freetype2
+ gcc-libs
+ glibc
+ plasma-activities
+ karchive
+ kbookmarks
+ kcolorscheme
+ kcompletion
+ kconfig
+ kconfigwidgets
+ kcoreaddons
+ kcrash
+ ki18n
+ kio
+ kitemviews
+ kparts
+ kpty
+ ktextwidgets
+ kwallet
+ kwidgetsaddons
+ kwindowsystem
+ kxmlgui
+ libjpeg-turbo
+ libkexiv2
+ libspectre
+ libtiff
+ phonon-qt6
+ poppler-qt6
+ purpose
+ qt6-base
+ qt6-declarative
+ qt6-speech
+ qt6-svg
+ threadweaver
+ zlib)
+makedepends=(ebook-tools
+ extra-cmake-modules
+ kdegraphics-mobipocket
+ kdoctools)
optdepends=('ebook-tools: mobi and epub support'
- 'kdegraphics-mobipocket: mobi support' 'libzip: CHM support'
- 'khtml: CHM support' 'chmlib: CHM support' 'calligra: ODT and ODP support'
- 'unarchiver: Comic Book Archive support'
- 'kde-cli-tools: to configure web shortcuts' 'plasma-workspace: to configure web shortcuts')
+ 'kdegraphics-mobipocket: mobi support'
+ 'unarchiver: Comic Book Archive support')
+groups=(kde-applications
+ kde-graphics)
source=(https://download.kde.org/stable/release-service/$pkgver/src/$pkgname-$pkgver.tar.xz{,.sig})
source+=(disable-drm.patch)
-sha256sums=('25a69e1e666925e52c57d1b09beb72ad3a61a61328daf042359c3f6a740f2edd'
- 'SKIP'
- '83cf760b3ae6e03d49e02369375dae3ecc05a6800d512dd9ffeaac1648c19457')
+sha256sums=('fc265548f859562c54cd40587ff3c6a1c2d0f7926617951b06e6145d1f42938c'
+ 'SKIP')
+sha256sums+=('83cf760b3ae6e03d49e02369375dae3ecc05a6800d512dd9ffeaac1648c19457')
validpgpkeys=(CA262C6C83DE4D2FB28A332A3A6A4DB839EAA6D7 # Albert Astals Cid <[email protected]>
F23275E4BF10AFC1DF6914A6DBD2CE893E2D1C87 # Christoph Feck <[email protected]>
D81C0CB38EB725EF6691C385BB463350D6EF31EF) # Heiko Becker <[email protected]>
--
2.44.0
_______________________________________________
Dev mailing list
[email protected]
https://lists.parabola.nu/mailman/listinfo/dev