31 lines
910 B
Bash
31 lines
910 B
Bash
# Template file for 'libkexiv25'
|
|
pkgname=libkexiv25
|
|
version=18.12.2
|
|
revision=1
|
|
wrksrc="${pkgname%5}-${version}"
|
|
build_style=cmake
|
|
configure_args="-DBUILD_TESTING=OFF"
|
|
hostmakedepends="extra-cmake-modules pkg-config"
|
|
makedepends="qt5-devel exiv2-devel"
|
|
short_desc="Library to manipulate pictures metadata"
|
|
maintainer="Denis Revin <denis.revin@gmail.com>"
|
|
license="GPL-2.0-or-later"
|
|
homepage="https://projects.kde.org/projects/kde/kdegraphics/libs/libkexiv2"
|
|
distfiles="${KDE_SITE}/applications/${version}/src/${pkgname%5}-${version}.tar.xz"
|
|
checksum=c94af99abc9fd47300576bf5677ff3b51cf174dfb9a2cba6963188c71ce568c9
|
|
patch_args="-Np1"
|
|
|
|
libkexiv25-devel_package() {
|
|
short_desc+=" - development files"
|
|
depends="${sourcepkg}-${version}_${revision}"
|
|
pkg_install() {
|
|
vmove usr/include
|
|
vmove usr/lib/cmake
|
|
vmove "usr/lib/*.so"
|
|
}
|
|
}
|
|
|
|
if [ "$CROSS_BUILD" ]; then
|
|
hostmakedepends+=" qt5-host-tools qt5-qmake"
|
|
fi
|