void-packages/srcpkgs/libkdcraw5/template

25 lines
799 B
Bash

# Template file for 'libkdcraw5'
pkgname=libkdcraw5
version=17.12.0
revision=1
wrksrc="libkdcraw-${version}"
build_style=cmake
hostmakedepends="extra-cmake-modules pkg-config qt5-qmake qt5-host-tools"
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"
homepage="https://www.kde.org/applications/graphics/"
distfiles="https://download.kde.org/stable/applications/${version}/src/libkdcraw-${version}.tar.xz"
checksum=2771f2b23ad54ca04d7ca4ef76423a1157c7d35b9ae9d31b2a364e41e2e60ff1
libkdcraw5-devel_package() {
depends="${sourcepkg}>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/*.so
vmove usr/lib/cmake
}
}