31 lines
1016 B
Bash
31 lines
1016 B
Bash
# Template file for 'kfilemetadata5'
|
|
pkgname=kfilemetadata5
|
|
version=5.49.0
|
|
revision=1
|
|
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.1-or-later"
|
|
homepage="https://projects.kde.org/projects/frameworks/kfilemetadata5"
|
|
distfiles="${KDE_SITE}/frameworks/${version%.*}/${pkgname%5}-${version}.tar.xz"
|
|
checksum=00cd6d49c8046a83eb2d40309c375bf5c36f532281ea92b5c3e04d645f0db310
|
|
|
|
if [ "$CROSS_BUILD" ]; then
|
|
hostmakedepends+=" qt5-host-tools qt5-qmake python"
|
|
fi
|
|
|
|
kfilemetadata5-devel_package() {
|
|
short_desc+=" - development"
|
|
depends="${makedepends} ${sourcepkg}>=${version}_${revision}"
|
|
pkg_install() {
|
|
vmove usr/include
|
|
vmove usr/lib/cmake
|
|
vmove "usr/lib/*.so"
|
|
}
|
|
}
|