void-packages/srcpkgs/libkexiv25/template

30 lines
905 B
Bash
Raw Normal View History

2017-09-23 14:33:26 +00:00
# Template file for 'libkexiv25'
pkgname=libkexiv25
2018-01-14 17:27:48 +00:00
version=17.12.1
2017-09-23 14:33:26 +00:00
revision=1
build_style=cmake
configure_args="-DBUILD_TESTING=OFF"
wrksrc="${pkgname%5}-${version}"
2017-12-30 17:26:45 +00:00
hostmakedepends="extra-cmake-modules pkg-config"
2017-09-23 14:33:26 +00:00
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"
2018-01-14 17:27:48 +00:00
checksum=299e83389ee9a99b455466eea5c034a4af0d22f764ceef3716dcb1ab0ad00aa2
2017-09-23 14:33:26 +00:00
libkexiv25-devel_package() {
short_desc+=" - development files"
depends="${sourcepkg}-${version}_${revision}"
pkg_install() {
vmove usr/include
vmove usr/lib/cmake
vmove "usr/lib/*.so"
}
}
2017-12-30 17:26:45 +00:00
if [ -n "$CROSS_BUILD" ]; then
hostmakedepends+=" qt5-host-tools qt5-qmake"
fi