void-packages/srcpkgs/babl/template
2021-05-14 17:38:25 -03:00

27 lines
864 B
Bash

# Template file for 'babl'
pkgname=babl
version=0.1.86
revision=1
build_style=meson
build_helper=gir
configure_args="-Dwith-docs=false -Denable-gir=true"
hostmakedepends="pkg-config vala-devel gobject-introspection"
makedepends="lcms2-devel vala-devel"
short_desc="Dynamic pixel format translation library"
maintainer="Enno Boland <gottox@voidlinux.org>"
license="LGPL-3.0-only"
homepage="http://gegl.org/babl/"
changelog="https://raw.githubusercontent.com/GNOME/babl/master/NEWS"
distfiles="https://download.gimp.org/pub/babl/${version%.*}/babl-${version}.tar.xz"
checksum=0b3f595159ad1b216cd729c0504c3a5f6cf780c641f4dc63fc164f3c0382c8f0
babl-devel_package() {
depends="${sourcepkg}>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
vmove "usr/lib/*.so"
vmove "usr/share/gir-*"
}
}