28 lines
975 B
Bash
28 lines
975 B
Bash
# Template file for 'kfilemetadata5'
|
|
pkgname=kfilemetadata5
|
|
version=5.116.0
|
|
revision=1
|
|
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 ffmpeg6-devel attr-devel ebook-tools-devel
|
|
libqmobipocket-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=195c2c8c4a18a24552fd1c020335f7e1e564c3acfaec4e918319d62c8067ce8f
|
|
|
|
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"
|
|
}
|
|
}
|