void-packages/srcpkgs/kfilemetadata5/template

30 lines
1.0 KiB
Bash
Raw Normal View History

2016-10-13 13:38:56 +02:00
# Template file for 'kfilemetadata5'
pkgname=kfilemetadata5
2017-10-15 10:35:17 +02:00
version=5.39.0
revision=1
2016-10-13 13:38:56 +02:00
build_style=cmake
configure_args="-DBUILD_TESTING=OFF"
wrksrc="${pkgname%5}-${version}"
hostmakedepends="extra-cmake-modules pkg-config"
makedepends="karchive-devel ki18n-devel poppler-qt5-devel taglib-devel exiv2-devel ffmpeg-devel attr-devel ebook-tools-devel"
short_desc="Simple library for extracting the text and metadata"
maintainer="Denis Revin <denis.revin@gmail.com>"
license="LGPL-2"
homepage="https://projects.kde.org/projects/frameworks/kfilemetadata5"
distfiles="http://download.kde.org/stable/frameworks/${version%.*}/${pkgname%5}-${version}.tar.xz"
2017-10-15 10:35:17 +02:00
checksum=0feadb5850557be4d372dcf792c83176276616fc839965c23ed87b7525bc9dd5
2017-05-13 20:44:51 +02:00
if [ -n "$CROSS_BUILD" ]; then
hostmakedepends+=" qt5-host-tools qt5-qmake python"
fi
2016-10-13 13:38:56 +02:00
kfilemetadata5-devel_package() {
short_desc+=" - development"
depends="${makedepends} ${sourcepkg}>=${version}_${revision}"
pkg_install() {
vmove usr/include
vmove usr/lib/cmake
vmove usr/lib/*.so
}
}