diff --git a/srcpkgs/Adapta/template b/srcpkgs/Adapta/template index 9d3899056b4..03a736b1cc8 100644 --- a/srcpkgs/Adapta/template +++ b/srcpkgs/Adapta/template @@ -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 }