mirror of
https://github.com/jimeh/build-emacs-for-macos.git
synced 2026-02-19 08:26:39 +00:00
fix(svg): enable SVG by default via librsvg
This commit is contained in:
@@ -314,7 +314,7 @@ class Build
|
||||
configure_flags << '--with-xwidgets'
|
||||
end
|
||||
configure_flags << native_comp_configure_flag if options[:native_comp]
|
||||
configure_flags << '--without-rsvg' unless options[:rsvg]
|
||||
configure_flags << '--without-rsvg' if options[:rsvg] == false
|
||||
|
||||
run_cmd './configure', *configure_flags
|
||||
|
||||
@@ -819,7 +819,7 @@ if __FILE__ == $PROGRAM_NAME
|
||||
work_dir: File.expand_path(__dir__),
|
||||
native_full_aot: false,
|
||||
parallel: Etc.nprocessors,
|
||||
rsvg: false,
|
||||
rsvg: true,
|
||||
xwidgets: true
|
||||
}
|
||||
|
||||
@@ -863,9 +863,10 @@ if __FILE__ == $PROGRAM_NAME
|
||||
cli_options[:native_full_aot] = v
|
||||
end
|
||||
|
||||
opts.on('--rsvg', 'Enable SVG image support via librsvg, ' \
|
||||
'can yield a unstable build (default: disabled)') do
|
||||
cli_options[:rsvg] = true
|
||||
opts.on('--[no-]rsvg',
|
||||
'Enable/disable SVG image support via librsvg ' \
|
||||
'(default: enabled)') do |v|
|
||||
cli_options[:rsvg] = v
|
||||
end
|
||||
|
||||
opts.on('--no-titlebar', 'Apply no-titlebar patch (default: disabled)') do
|
||||
|
||||
Reference in New Issue
Block a user