void-packages/srcpkgs/libkexiv25/template

26 lines
813 B
Bash

# Template file for 'libkexiv25'
pkgname=libkexiv25
version=21.08.3
revision=1
wrksrc="libkexiv2-${version}"
build_style=cmake
configure_args="-DBUILD_TESTING=OFF"
hostmakedepends="extra-cmake-modules pkg-config qt5-host-tools qt5-qmake"
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://invent.kde.org/graphics/libkexiv2"
distfiles="${KDE_SITE}/release-service/${version}/src/libkexiv2-${version}.tar.xz"
checksum=166126f6d42a390afebc8f75b719e0b64fccacab299d52a991d083fbeb68a895
libkexiv25-devel_package() {
short_desc+=" - development files"
depends="${sourcepkg}-${version}_${revision}"
pkg_install() {
vmove usr/include
vmove usr/lib/cmake
vmove "usr/lib/*.so"
}
}