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"
This commit is contained in:
Érico Rolim 2021-02-01 01:02:17 -03:00 committed by Érico Nogueira Rolim
parent f4edf61c18
commit e225924783

View file

@ -1,27 +1,19 @@
# Template file for 'babl' # Template file for 'babl'
pkgname=babl pkgname=babl
version=0.1.78 version=0.1.84
revision=1 revision=1
build_style=meson build_style=meson
build_helper=gir build_helper=gir
configure_args="-Dwith-docs=false" configure_args="-Dwith-docs=false -Denable-gir=true"
hostmakedepends="pkg-config vala-devel gobject-introspection" hostmakedepends="pkg-config vala-devel gobject-introspection"
makedepends="lcms2-devel" makedepends="lcms2-devel vala-devel"
short_desc="Dynamic pixel format translation library" short_desc="Dynamic pixel format translation library"
maintainer="Enno Boland <gottox@voidlinux.org>" maintainer="Enno Boland <gottox@voidlinux.org>"
license="LGPL-3.0-only" license="LGPL-3.0-only"
homepage="http://gegl.org/babl/" homepage="http://gegl.org/babl/"
changelog="https://raw.githubusercontent.com/GNOME/babl/master/NEWS" changelog="https://raw.githubusercontent.com/GNOME/babl/master/NEWS"
distfiles="https://download.gimp.org/pub/babl/${version%.*}/babl-${version}.tar.xz" distfiles="https://download.gimp.org/pub/babl/${version%.*}/babl-${version}.tar.xz"
checksum=17d5493633bff5585d9f375bc4df5925157cd1c70ccd7c22a635be75c172523a checksum=e7e38b8441f77feb9dc8231cb434a86190a21f2f3692c281457e99d35e9c34ea
case "$XBPS_TARGET_MACHINE" in
x86_64*|i686*) ;;
*)
configure_args+=" -Denable-sse=false -Denable-sse2=false
-Denable-sse3=false -Denable-sse4_1=false -Denable-avx2=false
-Denable-f16c=false -Denable-mmx=false";;
esac
babl-devel_package() { babl-devel_package() {
depends="${sourcepkg}>=${version}_${revision}" depends="${sourcepkg}>=${version}_${revision}"