void-packages/srcpkgs/libkexiv2/template

25 lines
801 B
Bash

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