Adapta: patch scripts for inkscape 1.0

This commit is contained in:
Jürgen Buchmüller 2020-06-03 21:16:55 +02:00
parent 76792e43a9
commit 233dd71b3d

View file

@ -16,5 +16,15 @@ distfiles="https://github.com/adapta-project/adapta-gtk-theme/archive/$version.t
checksum=fb8fc11b770be59e1673b8f2d917704fc34e53aee5fb02fed70d83909d3309bd
pre_configure() {
#
# Inkscape command line options changed for version 1.0.
# The export type is derived from the filename suffix and
# may be specified explicitly with e.g. --export-type="png".
#
# Previous: --export-png=filename.png
# Current : --export-type="png" --export-filename=filename.png
#
find -name "*.sh" -print0 | xargs -0 \
sed -i -e "s;--export-png=;--export-type=\"png\" --export-filename=;"
NOCONFIGURE=1 ./autogen.sh
}