Skip to content

Commit

Permalink
Distro packaging updates (#176)
Browse files Browse the repository at this point in the history
* Remove unused meson scripts

* Add confiure options for environment specific integrations
  • Loading branch information
SparkyBluefang authored Feb 5, 2024
1 parent e00c218 commit f30b9d1
Show file tree
Hide file tree
Showing 5 changed files with 18 additions and 27 deletions.
12 changes: 0 additions & 12 deletions libxapp/install_generated_header.py

This file was deleted.

12 changes: 0 additions & 12 deletions meson-scripts/install_generated_header.py

This file was deleted.

10 changes: 10 additions & 0 deletions meson_options.txt
Original file line number Diff line number Diff line change
Expand Up @@ -28,3 +28,13 @@ option('debian_derivative',
value: false,
description: 'Use paths specific to Debian and derivatives.'
)
option('mate',
type: 'boolean',
value: true,
description: 'Install mate specific items.'
)
option('xfce',
type: 'boolean',
value: true,
description: 'Install xfce specific items.'
)
7 changes: 5 additions & 2 deletions scripts/meson.build
Original file line number Diff line number Diff line change
@@ -1,8 +1,11 @@
scripts = files(
'pastebin',
'upload-system-info',
'xapp-gpu-offload',
'xfce4-set-wallpaper')
'xapp-gpu-offload')

if get_option('xfce')
scripts += files('xfce4-set-wallpaper')
endif

install_data(scripts,
install_dir: join_paths(get_option('prefix'), get_option('bindir')),
Expand Down
4 changes: 3 additions & 1 deletion status-applets/meson.build
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
subdir('mate')
if get_option('mate')
subdir('mate')
endif

0 comments on commit f30b9d1

Please sign in to comment.