void-packages/srcpkgs/kfilemetadata5/template
2020-09-13 19:25:05 +02:00

28 lines
1,021 B
Bash

# Template file for 'kfilemetadata5'
pkgname=kfilemetadata5
version=5.74.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
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=c5fab0101a39265eeb1884522ed548ae106cd434d6313be1fc0bdba4f29dc5a8
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"
}
}