void-packages/srcpkgs/libkexiv25/template

26 lines
813 B
Bash

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