void-packages/srcpkgs/libkdcraw5/template

26 lines
809 B
Bash

# Template file for 'libkdcraw5'
# XXX: sync version with libkdcraw
pkgname=libkdcraw5
version=24.05.1
revision=1
build_style=cmake
hostmakedepends="extra-cmake-modules pkg-config qt5-qmake qt5-host-tools
gettext"
makedepends="qt5-devel libraw-devel"
short_desc="C++ interface around LibRaw library used to decode RAW"
maintainer="Helmut Pozimski <helmut@pozimski.eu>"
license="GPL-2.0-or-later"
homepage="https://www.kde.org/applications/graphics/"
distfiles="${KDE_SITE}/release-service/${version}/src/libkdcraw-${version}.tar.xz"
checksum=cffaa1cdb9d1f4ec44e48d12ed0007fa70b5af625f548178710526b2421daa7a
libkdcraw5-devel_package() {
depends="${sourcepkg}>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove "usr/lib/*.so"
vmove usr/lib/cmake
}
}