mirror of
https://github.com/davatorium/rofi.git
synced 2024-11-18 13:54:36 -05:00
meson: Add default theme GResource bits
Signed-off-by: Quentin Glidic <sardemff7+git@sardemff7.net>
This commit is contained in:
parent
cc3d889fea
commit
3c37ba7a1c
3 changed files with 7 additions and 1 deletions
|
@ -142,6 +142,7 @@ rofi_CFLAGS=\
|
||||||
-I$(top_srcdir)/include/\
|
-I$(top_srcdir)/include/\
|
||||||
-I$(top_builddir)/lexer/\
|
-I$(top_builddir)/lexer/\
|
||||||
-I$(top_srcdir)/lexer/\
|
-I$(top_srcdir)/lexer/\
|
||||||
|
-I$(top_builddir)/resources/\
|
||||||
-I$(top_srcdir)/config/\
|
-I$(top_srcdir)/config/\
|
||||||
-I$(top_builddir)/\
|
-I$(top_builddir)/\
|
||||||
-Werror=missing-prototypes\
|
-Werror=missing-prototypes\
|
||||||
|
|
|
@ -195,9 +195,14 @@ theme_parser_sources = files('lexer/theme-parser.y')
|
||||||
|
|
||||||
theme_lexer = flex.process(theme_lexer_sources)
|
theme_lexer = flex.process(theme_lexer_sources)
|
||||||
theme_parser = bison.process(theme_parser_sources)
|
theme_parser = bison.process(theme_parser_sources)
|
||||||
|
|
||||||
|
gnome = import('gnome')
|
||||||
|
default_theme = gnome.compile_resources('resources', files('resources/resources.xml'))
|
||||||
|
|
||||||
rofi = executable('rofi', rofi_sources + [
|
rofi = executable('rofi', rofi_sources + [
|
||||||
theme_lexer,
|
theme_lexer,
|
||||||
theme_parser,
|
theme_parser,
|
||||||
|
default_theme,
|
||||||
],
|
],
|
||||||
dependencies: deps,
|
dependencies: deps,
|
||||||
install: true,
|
install: true,
|
||||||
|
|
|
@ -52,7 +52,7 @@
|
||||||
#endif
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#include "resources/resources.h"
|
#include "resources.h"
|
||||||
|
|
||||||
#include "rofi.h"
|
#include "rofi.h"
|
||||||
#include "display.h"
|
#include "display.h"
|
||||||
|
|
Loading…
Reference in a new issue