void-packages/srcpkgs/kfilemetadata5/template
2021-08-17 00:06:52 +02:00

27 lines
984 B
Bash

# Template file for 'kfilemetadata5'
pkgname=kfilemetadata5
version=5.85.0
revision=1
wrksrc="${pkgname%5}-${version}"
build_style=cmake
hostmakedepends="kcoreaddons extra-cmake-modules pkg-config qt5-host-tools qt5-qmake
gettext kcoreaddons python3"
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 <me@johnnynator.dev>"
license="LGPL-2.1-or-later"
homepage="https://invent.kde.org/frameworks/kfilemetadata"
distfiles="${KDE_SITE}/frameworks/${version%.*}/${pkgname%5}-${version}.tar.xz"
checksum=3d4ee4bfe3856917671c5f8c3c0f43b70e7ddee952f0afb4a8105749e217251e
kfilemetadata5-devel_package() {
short_desc+=" - development"
depends="${makedepends} ${sourcepkg}>=${version}_${revision}"
pkg_install() {
vmove usr/include
vmove usr/lib/cmake
vmove usr/lib/qt5/mkspecs
vmove "usr/lib/*.so"
}
}