babl: update to 0.1.96.

This commit is contained in:
Michal Vasilek 2022-06-20 13:36:46 +02:00
parent 7aa51bd28e
commit 51432cc265
2 changed files with 10 additions and 38 deletions

View file

@ -1,33 +0,0 @@
From b05b2826365a7dbc6ca1bf0977b848055cd0cbb6 Mon Sep 17 00:00:00 2001
From: Eli Schwartz <eschwartz@archlinux.org>
Date: Sun, 13 Mar 2022 20:26:05 -0400
Subject: [PATCH] meson: fix misspelled kwarg name
set10 doesn't have a `Description` kwarg, it does have a `description`
kwarg though.
This caused the conf variable to not have a description when it should
have one, and newer versions of Meson with better argument validation
error out with:
meson.build:58:5: ERROR: configuration_data.set10 got unknown keyword arguments "Description"
---
meson.build | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/meson.build b/meson.build
index 55054f441..8c93be9d1 100644
--- a/meson.build
+++ b/meson.build
@@ -55,7 +55,7 @@ lib_name = meson.project_name() + '-' + api_version
stability_version_number = (major_version != 0 ? minor_version : micro_version)
stable = (stability_version_number % 2 == 0)
-conf.set10('BABL_UNSTABLE', not stable, Description:
+conf.set10('BABL_UNSTABLE', not stable, description:
'Define to 1 if this is an unstable version of BABL.')
conf.set ('BABL_MAJOR_VERSION', '@0@'.format(major_version))
--
GitLab

View file

@ -1,6 +1,6 @@
# Template file for 'babl'
pkgname=babl
version=0.1.88
version=0.1.96
revision=1
build_style=meson
build_helper=gir
@ -10,16 +10,21 @@ 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"
homepage="https://gegl.org/babl/"
changelog="https://gitlab.gnome.org/GNOME/babl/-/raw/master/NEWS"
distfiles="https://download.gimp.org/pub/babl/${version%.*}/babl-${version}.tar.xz"
checksum=4f0d7f4aaa0bb2e725f349adf7b351a957d9fb26d555d9895a7af816b4167039
checksum=33673fe459a983f411245a49f81fd7f1966af1ea8eca9b095a940c542b8545f6
case "$XBPS_TARGET_MACHINE" in
arm*) configure_args+=" -Db_lto=false"
esac
babl-devel_package() {
depends="${sourcepkg}>=${version}_${revision}"
depends="lcms2-devel ${sourcepkg}>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/share/vala
vmove usr/lib/pkgconfig
vmove "usr/lib/*.so"
vmove "usr/share/gir-*"