void-packages/srcpkgs/libkexiv25/template

26 lines
813 B
Bash

# Template file for 'libkexiv25'
pkgname=libkexiv25
version=20.08.2
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=793c4d11bb1b60beca7b25a2427650b3f358364c55be022dfd4a7ccfd889578d
libkexiv25-devel_package() {
short_desc+=" - development files"
depends="${sourcepkg}-${version}_${revision}"
pkg_install() {
vmove usr/include
vmove usr/lib/cmake
vmove "usr/lib/*.so"
}
}