Skip to content

Commit

Permalink
Fixup pixdecor and filters submodules (#239)
Browse files Browse the repository at this point in the history
Optionally build with -Denable_pixdecor=true -Denable_filters=true
  • Loading branch information
soreau authored Apr 27, 2024
1 parent 58f85c7 commit 5f1be14
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
8 changes: 8 additions & 0 deletions meson.build
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,14 @@ if get_option('enable_focus_request') == true
focus_request = subproject('focus-request')
endif

if get_option('enable_pixdecor') == true
pixdecor = subproject('pixdecor')
endif

if get_option('enable_filters') == true
filters = subproject('filters')
endif

add_project_arguments(['-DWLR_USE_UNSTABLE'], language: ['cpp', 'c'])
add_project_arguments(['-DWAYFIRE_PLUGIN'], language: ['cpp', 'c'])
add_project_link_arguments(['-rdynamic'], language:'cpp')
Expand Down
2 changes: 2 additions & 0 deletions meson_options.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
option('enable_windecor', type: 'boolean', value: 'false', description: 'Install windecor plugin')
option('enable_wayfire_shadows', type: 'boolean', value: 'false', description: 'Install wayfire shadows plugin')
option('enable_focus_request', type: 'boolean', value: 'false', description: 'Install wayfire focus-request plugin')
option('enable_pixdecor', type: 'boolean', value: 'false', description: 'Install wayfire pixdecor plugin')
option('enable_filters', type: 'boolean', value: 'false', description: 'Install wayfire filters plugin')

0 comments on commit 5f1be14

Please sign in to comment.