Skip to content
Snippets Groups Projects

make the package reproducible

Merged Christian Heusel requested to merge 1-reproducibility into main
1 file
+ 5
0
Compare changes
  • Side-by-side
  • Inline
+ 5
0
@@ -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"
}
Loading