Skip to content

Commit 9667f59

Browse files
committed
babl: Update to 0.1.118
1 parent a8b4581 commit 9667f59

File tree

2 files changed

+6
-51
lines changed

2 files changed

+6
-51
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: 6 additions & 22 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')
@@ -19,26 +19,8 @@ makedepends=("${MINGW_PACKAGE_PREFIX}-cc"
1919
"${MINGW_PACKAGE_PREFIX}-pkgconf")
2020
depends=("${MINGW_PACKAGE_PREFIX}-cc-libs"
2121
"${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-
}
22+
source=("https://download.gimp.org/pub/babl/${pkgver%.*}/${_realname}-${pkgver}.tar.xz")
23+
sha256sums=('c3febe923e225c2a58f952689a89bb1db956788bfecb18a7eff6fc94da9e2469')
4224

4325
build() {
4426
mkdir -p "build-${MSYSTEM}" && cd "build-${MSYSTEM}"
@@ -50,10 +32,12 @@ build() {
5032
MSYS2_ARG_CONV_EXCL="--prefix=" \
5133
meson setup \
5234
--prefix="${MINGW_PREFIX}" \
35+
--auto-features=enabled \
36+
--wrap-mode=nodownload \
5337
--buildtype=plain \
54-
-Dwith-lcms=true \
5538
-Denable-gir=true \
5639
-Dwith-docs=false \
40+
-Dgi-docgen=disabled \
5741
${_arch_opt} \
5842
"../${_realname}-${pkgver}"
5943

0 commit comments

Comments
 (0)