void-packages/srcpkgs/babl/template
Érico Rolim e225924783 babl: update to 0.1.84.
- fix vala detection for cross
- remove manual disabling of build options, now that the meson build
style defaults features to "auto" instead of "enabled"
2021-02-01 01:45:38 -03:00

27 lines
864 B
Bash

# Template file for 'babl'
pkgname=babl
version=0.1.84
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=e7e38b8441f77feb9dc8231cb434a86190a21f2f3692c281457e99d35e9c34ea
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-*"
}
}