Commit 9fed9f2a authored by Christian Hergert's avatar Christian Hergert

beautifier: embed beautifier resources

Now that this is statically linked into libgnome-builer-plugins.so, we need
to embed our resources too.
parent e5fa540b
<?xml version="1.0" encoding="UTF-8"?>
<gresources>
<gresource prefix="/org/gnome/builder/plugins/beautifier_plugin">
<file>beautifier.plugin</file>
<file>gtk/menus.ui</file>
<file>data/xml/config.ini</file>
<file>data/d/config.ini</file>
<file>data/d/d.cfg</file>
<file>data/python/config.ini</file>
<file>data/c/config.ini</file>
<file>data/c/gnu-indent.cfg</file>
<file>data/c/linux-kernel.cfg</file>
<file>data/c/k&amp;r.cfg</file>
<file>data/html/tidy-autoindent.cfg</file>
<file>data/html/config.ini</file>
<file>data/html/tidy-indent.cfg</file>
<file>data/automake/config.ini</file>
<file>data/objc/config.ini</file>
<file>data/objc/objc.cfg</file>
<file>data/global.ini</file>
<file>data/c-sharp/config.ini</file>
<file>data/c-sharp/mono.cfg</file>
<file>internal/align_makefile.py</file>
</gresource>
</gresources>
<?xml version="1.0" encoding="UTF-8"?>
<gresources>
<gresource prefix="/org/gnome/builder/plugins/beautifier_plugin">
<file>beautifier.plugin</file>
<file>gtk/menus.ui</file>
</gresource>
</gresources>
if get_option('with_beautifier')
beautifier_resources = gnome.compile_resources(
'gb-beautifier-resources',
'gb-beautifier.gresource.xml',
'beautifier-resources',
'beautifier.gresource.xml',
c_name: 'gb_beautifier'
)
......@@ -22,8 +22,4 @@ beautifier_sources = [
gnome_builder_plugins_sources += files(beautifier_sources)
gnome_builder_plugins_sources += beautifier_resources[0]
beautifier_datadir = join_paths(get_option('prefix'), plugindatadir, 'beautifier_plugin')
install_subdir('beautifier_plugin/data', install_dir: beautifier_datadir)
install_subdir('beautifier_plugin/internal', install_dir: beautifier_datadir)
endif
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment