void-packages/srcpkgs/okular/template

35 lines
1.1 KiB
Text
Raw Normal View History

2014-08-06 00:21:26 +00:00
# Template file for 'okular'
pkgname=okular
version=4.13.3
revision=1
build_style=cmake
# XXX libepub, libkscreen
configure_args="-Wno-dev -DKDE4_BUILD_TESTS=OFF -DWITH_ActiveApp=OFF"
hostmakedepends="cmake automoc4 pkg-config"
makedepends="glib-devel libressl-devel qt-devel phonon-devel kdelibs-devel>=${version}
kde-runtime-devel>=${version} qimageblitz-devel libchmlib-devel djvulibre-devel libspectre-devel
libkexiv2-devel poppler-qt4-devel qca-devel kactivities-devel>=${version} freetype-devel"
depends="hicolor-icon-theme"
short_desc="KDE Document Viewer"
maintainer="Juan RP <xtraeme@gmail.com>"
license="GPL, LGPL, FDL"
homepage="http://kde.org/applications/graphics/okular/"
distfiles="http://download.kde.org/stable/${version}/src/${pkgname}-${version}.tar.xz"
checksum=3047ab703bc5447d22a7c6a308910a70afee82d603c7f5b37a6d5a0976511f5d
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
}
}