void-packages/srcpkgs/kfilemetadata5/template
2019-06-08 22:30:33 +02:00

27 lines
993 B
Bash

# Template file for 'kfilemetadata5'
pkgname=kfilemetadata5
version=5.59.0
revision=1
wrksrc="${pkgname%5}-${version}"
build_style=cmake
configure_args="-DBUILD_TESTING=OFF"
hostmakedepends="kcoreaddons extra-cmake-modules pkg-config qt5-host-tools qt5-qmake
kcoreaddons python"
makedepends="karchive-devel ki18n-devel poppler-qt5-devel kcoreaddons-devel
taglib-devel exiv2-devel ffmpeg-devel attr-devel ebook-tools-devel"
short_desc="Simple library for extracting the text and metadata"
maintainer="John <johnz@posteo.net>"
license="LGPL-2.1-or-later"
homepage="https://projects.kde.org/projects/frameworks/kfilemetadata"
distfiles="${KDE_SITE}/frameworks/${version%.*}/${pkgname%5}-${version}.tar.xz"
checksum=7aeacfc538375dae4c8b3ab6411216a48a6971f012f1ab1b9d1e0f835429d6c9
kfilemetadata5-devel_package() {
short_desc+=" - development"
depends="${makedepends} ${sourcepkg}>=${version}_${revision}"
pkg_install() {
vmove usr/include
vmove usr/lib/cmake
vmove "usr/lib/*.so"
}
}