author | Christian Heusel
<gromit@archlinux.org> 2024-04-09 13:43:11 UTC |
committer | Christian Heusel
<gromit@archlinux.org> 2024-04-09 14:39:29 UTC |
parent | 8ecc0601972128098cbdbfbbed3bd996ef2fac86 |
PKGBUILD | +5 | -0 |
diff --git a/PKGBUILD b/PKGBUILD index 0bbeefe..8965252 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -43,4 +43,9 @@ check() { package() { cd build DESTDIR="${pkgdir}" ninja install + + # strip the default tile size to make the package reproducible + # https://gitlab.gnome.org/GNOME/gegl/-/issues/368#note_2074468 + sed -i "/tile-cache-size/ s/default-value=\".*\"/default-value=\"\"/" "${pkgdir}/usr/share/gir-1.0/Gegl-${pkgver%.*}.gir" + sed -i "/Default value/ s;<td>[[:digit:]]*</td>;<td></td>;" "${pkgdir}/usr/share/doc/gegl-${pkgver%.*}/property.Config.tile-cache-size.html" }