Skip to content

Commit 7507512

Browse files
committed
babl: Update to 0.1.118
1 parent 632cbc3 commit 7507512

File tree

2 files changed

+8
-52
lines changed

2 files changed

+8
-52
lines changed

mingw-w64-babl/001-file-open-unicode.patch

Lines changed: 0 additions & 29 deletions
This file was deleted.

mingw-w64-babl/PKGBUILD

Lines changed: 8 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
_realname=babl
44
pkgbase=mingw-w64-${_realname}
55
pkgname="${MINGW_PACKAGE_PREFIX}-${_realname}"
6-
pkgver=0.1.116
6+
pkgver=0.1.118
77
pkgrel=1
88
pkgdesc="Dynamic Pixel Format Translation Library (mingw-w64)"
99
arch=('any')
@@ -16,29 +16,12 @@ makedepends=("${MINGW_PACKAGE_PREFIX}-cc"
1616
"${MINGW_PACKAGE_PREFIX}-ninja"
1717
"${MINGW_PACKAGE_PREFIX}-gobject-introspection"
1818
"${MINGW_PACKAGE_PREFIX}-vala"
19-
"${MINGW_PACKAGE_PREFIX}-pkgconf")
19+
"${MINGW_PACKAGE_PREFIX}-pkgconf"
20+
"git")
2021
depends=("${MINGW_PACKAGE_PREFIX}-cc-libs"
2122
"${MINGW_PACKAGE_PREFIX}-lcms2")
22-
source=("https://download.gimp.org/pub/babl/${pkgver%.*}/${_realname}-${pkgver}.tar.xz"
23-
"001-file-open-unicode.patch")
24-
sha256sums=('50fae069867c7ade1259888ff1e3db85fec86d708252e5385b5a4f39a78ec483'
25-
'98cf43394eb1d1a8140438fbb745ed31f3768c07086afab297e4be9d609d07c5')
26-
27-
apply_patch_with_msg() {
28-
for _patch in "$@"
29-
do
30-
msg2 "Applying ${_patch}"
31-
patch -bp1 -i "${srcdir}/${_patch}"
32-
done
33-
}
34-
35-
prepare() {
36-
cd "${_realname}-${pkgver}"
37-
38-
#FIXME: remove this patch on babl 0.1.118
39-
apply_patch_with_msg \
40-
001-file-open-unicode.patch
41-
}
23+
source=("https://download.gimp.org/pub/babl/${pkgver%.*}/${_realname}-${pkgver}.tar.xz")
24+
sha256sums=('c3febe923e225c2a58f952689a89bb1db956788bfecb18a7eff6fc94da9e2469')
4225

4326
build() {
4427
mkdir -p "build-${MSYSTEM}" && cd "build-${MSYSTEM}"
@@ -50,10 +33,12 @@ build() {
5033
MSYS2_ARG_CONV_EXCL="--prefix=" \
5134
meson setup \
5235
--prefix="${MINGW_PREFIX}" \
36+
--auto-features=enabled \
37+
--wrap-mode=nodownload \
5338
--buildtype=plain \
54-
-Dwith-lcms=true \
5539
-Denable-gir=true \
5640
-Dwith-docs=false \
41+
-Dgi-docgen=disabled \
5742
${_arch_opt} \
5843
"../${_realname}-${pkgver}"
5944

0 commit comments

Comments
 (0)