void-packages/srcpkgs/libkexiv2/template

25 lines
817 B
Bash

# Template file for 'libkexiv2'
pkgname=libkexiv2
version=24.08.1
revision=1
build_style=cmake
configure_args="-DBUILD_TESTING=OFF -DQT_MAJOR_VERSION=6"
hostmakedepends="extra-cmake-modules pkg-config qt6-base qt6-tools"
makedepends="qt6-base-devel exiv2-devel"
short_desc="Library to manipulate pictures metadata"
maintainer="Luciogi <githubvoidlinux.supremacy429@passinbox.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=27d8b61e05869cfdee685183919cb31442db785d0b440399c8ba846294a7be67
libkexiv2-devel_package() {
short_desc+=" - development files"
depends="${sourcepkg}-${version}_${revision}"
pkg_install() {
vmove usr/include
vmove usr/lib/cmake
vmove "usr/lib/*.so"
}
}