2014-08-06 02:21:26 +02:00
|
|
|
# Template file for 'okular'
|
|
|
|
pkgname=okular
|
2015-05-23 09:51:35 +02:00
|
|
|
version=4.14.3
|
|
|
|
revision=1
|
2014-08-06 02:21:26 +02:00
|
|
|
build_style=cmake
|
|
|
|
# XXX libepub, libkscreen
|
|
|
|
configure_args="-Wno-dev -DKDE4_BUILD_TESTS=OFF -DWITH_ActiveApp=OFF"
|
|
|
|
hostmakedepends="cmake automoc4 pkg-config"
|
2015-03-27 10:50:40 +01:00
|
|
|
makedepends="glib-devel libressl-devel qt-devel phonon-devel kdelibs-devel
|
|
|
|
kde-runtime-devel qimageblitz-devel libchmlib-devel djvulibre-devel libspectre-devel
|
|
|
|
libkexiv2-devel poppler-qt4-devel qca-devel kactivities-devel freetype-devel"
|
2014-08-06 02:21:26 +02:00
|
|
|
depends="hicolor-icon-theme"
|
|
|
|
short_desc="KDE Document Viewer"
|
2015-04-10 09:16:30 +02:00
|
|
|
maintainer="Juan RP <xtraeme@voidlinux.eu>"
|
2014-08-06 02:21:26 +02:00
|
|
|
license="GPL, LGPL, FDL"
|
|
|
|
homepage="http://kde.org/applications/graphics/okular/"
|
|
|
|
distfiles="http://download.kde.org/stable/${version}/src/${pkgname}-${version}.tar.xz"
|
2015-05-23 09:51:35 +02:00
|
|
|
checksum=e6e2125f3ea5d3d5295dfac658814e6c424af710ec330cc74192863977385c46
|
2014-08-06 02:21:26 +02:00
|
|
|
|
|
|
|
libokular_package() {
|
|
|
|
short_desc+=" - runtime library"
|
|
|
|
pkg_install() {
|
|
|
|
vmove usr/lib/*.so.*
|
|
|
|
}
|
|
|
|
}
|
|
|
|
libokular-devel_package() {
|
|
|
|
short_desc+=" - development files"
|
|
|
|
depends="lib${sourcepkg}>=${version}_${revision}"
|
|
|
|
pkg_install() {
|
|
|
|
vmove usr/include
|
|
|
|
vmove usr/lib/cmake
|
|
|
|
vmove usr/lib/*.so
|
|
|
|
}
|
|
|
|
}
|