Adapta: patch scripts for inkscape 1.0
This commit is contained in:
parent
76792e43a9
commit
233dd71b3d
1 changed files with 10 additions and 0 deletions
|
@ -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
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue