New package: libokular5-23.08.5

This commit is contained in:
Đoàn Trần Công Danh 2024-05-14 11:48:47 +07:00
parent 7e67f64ff2
commit 4d6b98555c
3 changed files with 41 additions and 1 deletions

View File

@ -1769,7 +1769,8 @@ libspiro.so.1 libspiro-20190731_1
libopenjp2.so.7 libopenjpeg2-2.1.0_1
libcln.so.6 cln-1.3.3_1
libchm.so.0 libchmlib-0.40_1
libOkular5Core.so.11 libokular-22.08.0_1
libOkular5Core.so.11 libokular5-23.08.5_1
libOkular6Core.so.1 libokular-24.02.0_1
libmnl.so.0 libmnl-1.0.3_1
libnftnl.so.11 libnftnl-1.1.2_1
libfcgi.so.0 fcgi-2.4.0_2

1
srcpkgs/libokular5-devel Symbolic link
View File

@ -0,0 +1 @@
libokular5

View File

@ -0,0 +1,38 @@
# Template file for 'libokular5'
pkgname=libokular5
version=23.08.5
revision=1
build_style=cmake
configure_args="-DMEINPROC5_EXECUTABLE=/usr/bin/meinproc5"
hostmakedepends="extra-cmake-modules pkg-config gettext kcoreaddons
qt5-qmake qt5-host-tools kconfig kdoctools"
makedepends="discount-devel djvulibre-devel ebook-tools-devel khtml-devel
kpty-devel libchmlib-devel libkexiv25-devel libqmobipocket-devel
libspectre-devel libzip-devel plasma-framework-devel poppler-qt5-devel
purpose-devel qca-qt5-devel qt5-speech-devel threadweaver-devel"
depends="hicolor-icon-theme"
checkdepends="ebook-tools dbus"
short_desc="KDE Document Viewer"
maintainer="John <me@johnnynator.dev>"
license="GPL-2.0-only"
homepage="https://kde.org/applications/en/graphics/org.kde.okular"
distfiles="${KDE_SITE}/release-service/${version}/src/okular-${version}.tar.xz"
checksum=d5d51f69b176a250907ee70e8f97143fc9d705cee3ef7ff448626c8a529ce364
make_check=no # old lib of KDE 5
CFLAGS=-D_GNU_SOURCE=1
post_install() {
rm -rf "${DESTDIR}/usr/bin"
rm -rf "${DESTDIR}/usr/share"
}
libokular5-devel_package() {
conflicts="libokular-devel"
short_desc+=" - development files"
depends="${sourcepkg}>=${version}_${revision}"
pkg_install() {
vmove usr/include
vmove usr/lib/cmake
vmove "usr/lib/*.so"
}
}