1 # Maintainer: Daniel Isenmann <daniel@archlinux.org>
4 _tag='ddb6912548e1490edc9638a37b1fa4f16b5e044b'
7 pkgdesc='Dynamic, any to any, pixel format conversion library'
9 url='https://gegl.org/babl/'
11 depends=('glibc' 'lcms2')
12 makedepends=('git' 'meson' 'gobject-introspection' 'vala')
13 source=("git+https://gitlab.gnome.org/GNOME/babl.git#tag=$_tag")
18 git describe --tags | sed 's/^BABL_//;s/_$//;s/_/./g;s/-/+/g'
22 # https://gitlab.gnome.org/GNOME/babl/-/merge_requests/45
23 sed -i s/Description/description/ "${pkgname}"/meson.build
27 arch-meson "${pkgname}" build
32 meson test -C build --print-errorlogs
36 DESTDIR="${pkgdir}" meson install -C build