1c5f4690e6
That means that version comparators are not supported anymore in hostmakedepends and makedepends. This will ensure that a pkg is always built with the same build dependencies everywhere, if the srcpkgs tree is uptodate.
34 lines
1.1 KiB
Bash
34 lines
1.1 KiB
Bash
# Template file for 'okular'
|
|
pkgname=okular
|
|
version=4.14.2
|
|
revision=2
|
|
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
|
|
kde-runtime-devel qimageblitz-devel libchmlib-devel djvulibre-devel libspectre-devel
|
|
libkexiv2-devel poppler-qt4-devel qca-devel kactivities-devel 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=01d8704a72ff6ece4d1cee73926f7c5ff7e77fa98733fe0b37e8a824ff965019
|
|
|
|
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
|
|
}
|
|
}
|