Skip to content

Commit f30b9d1

Browse files
Distro packaging updates (#176)
* Remove unused meson scripts * Add confiure options for environment specific integrations
1 parent e00c218 commit f30b9d1

File tree

5 files changed

+18
-27
lines changed

5 files changed

+18
-27
lines changed

libxapp/install_generated_header.py

Lines changed: 0 additions & 12 deletions
This file was deleted.

meson-scripts/install_generated_header.py

Lines changed: 0 additions & 12 deletions
This file was deleted.

meson_options.txt

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,3 +28,13 @@ option('debian_derivative',
2828
value: false,
2929
description: 'Use paths specific to Debian and derivatives.'
3030
)
31+
option('mate',
32+
type: 'boolean',
33+
value: true,
34+
description: 'Install mate specific items.'
35+
)
36+
option('xfce',
37+
type: 'boolean',
38+
value: true,
39+
description: 'Install xfce specific items.'
40+
)

scripts/meson.build

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,11 @@
11
scripts = files(
22
'pastebin',
33
'upload-system-info',
4-
'xapp-gpu-offload',
5-
'xfce4-set-wallpaper')
4+
'xapp-gpu-offload')
5+
6+
if get_option('xfce')
7+
scripts += files('xfce4-set-wallpaper')
8+
endif
69

710
install_data(scripts,
811
install_dir: join_paths(get_option('prefix'), get_option('bindir')),

status-applets/meson.build

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,3 @@
1-
subdir('mate')
1+
if get_option('mate')
2+
subdir('mate')
3+
endif

0 commit comments

Comments
 (0)