Merge pull request #14159 from lazka/babl-0.1.98

babl: Update to 0.1.98
This commit is contained in:
Christoph Reiter
2022-11-19 16:47:45 +01:00
committed by GitHub
2 changed files with 6 additions and 21 deletions

View File

@@ -1,12 +0,0 @@
diff -urN babl-0.1.90/meson.build.orig babl-0.1.90/meson.build
--- babl-0.1.90/meson.build.orig 2022-02-21 22:30:17.000000000 +0100
+++ babl-0.1.90/meson.build 2022-06-26 15:03:59.971061600 +0200
@@ -55,7 +55,7 @@
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))

View File

@@ -6,8 +6,8 @@ pkgname="${MINGW_PACKAGE_PREFIX}-${_realname}"
provides=("${MINGW_PACKAGE_PREFIX}-${_realname}-git")
conflicts=("${MINGW_PACKAGE_PREFIX}-${_realname}-git")
replaces=("${MINGW_PACKAGE_PREFIX}-${_realname}"-git)
pkgver=0.1.92
pkgrel=2
pkgver=0.1.98
pkgrel=1
pkgdesc="Dynamic Pixel Format Translation Library (mingw-w64)"
arch=('any')
mingw_arch=('mingw32' 'mingw64' 'ucrt64' 'clang64' 'clang32' 'clangarm64')
@@ -23,11 +23,9 @@ depends=("${MINGW_PACKAGE_PREFIX}-gcc-libs"
"${MINGW_PACKAGE_PREFIX}-lcms2")
options=('strip' 'staticlibs')
source=("https://download.gimp.org/pub/babl/${pkgver%.*}/${_realname}-${pkgver}.tar.xz"
"001-file-open-unicode.patch"
"002-meson-lower-case.patch")
sha256sums=('f667735028944b6375ad18f160a64ceb93f5c7dccaa9d8751de359777488a2c1'
'98cf43394eb1d1a8140438fbb745ed31f3768c07086afab297e4be9d609d07c5'
'b638f63ce354e45fb1a5419bde9be046aa3286df23193bd299a402889b1543f8')
"001-file-open-unicode.patch")
sha256sums=('f3b222f84e462735de63fa9c3651942f2b78fd314c73a22e05ff7c73afd23af1'
'98cf43394eb1d1a8140438fbb745ed31f3768c07086afab297e4be9d609d07c5')
apply_patch_with_msg() {
for _patch in "$@"
@@ -40,8 +38,7 @@ apply_patch_with_msg() {
prepare() {
cd ${srcdir}/${_realname}-${pkgver}
apply_patch_with_msg \
001-file-open-unicode.patch \
002-meson-lower-case.patch
001-file-open-unicode.patch
}
build() {