29 lines
905 B
Bash
29 lines
905 B
Bash
# Template file for 'libkexiv25'
|
|
pkgname=libkexiv25
|
|
version=17.12.1
|
|
revision=1
|
|
build_style=cmake
|
|
configure_args="-DBUILD_TESTING=OFF"
|
|
wrksrc="${pkgname%5}-${version}"
|
|
hostmakedepends="extra-cmake-modules pkg-config"
|
|
makedepends="qt5-devel exiv2-devel"
|
|
short_desc="A library to manipulate pictures metadata"
|
|
maintainer="Denis Revin <denis.revin@gmail.com>"
|
|
license="GPL-2"
|
|
homepage="https://projects.kde.org/projects/kde/kdegraphics/libs/libkexiv2"
|
|
distfiles="http://download.kde.org/stable/applications/${version}/src/${pkgname%5}-${version}.tar.xz"
|
|
checksum=299e83389ee9a99b455466eea5c034a4af0d22f764ceef3716dcb1ab0ad00aa2
|
|
|
|
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 [ -n "$CROSS_BUILD" ]; then
|
|
hostmakedepends+=" qt5-host-tools qt5-qmake"
|
|
fi
|