Merge pull request #424 from orbea/compton
meson: Allow building without compton compat.
This commit is contained in:
commit
00a0d27007
15
meson.build
15
meson.build
|
@ -70,11 +70,14 @@ subdir('src')
|
||||||
subdir('man')
|
subdir('man')
|
||||||
|
|
||||||
install_data('bin/picom-trans', install_dir: get_option('bindir'))
|
install_data('bin/picom-trans', install_dir: get_option('bindir'))
|
||||||
install_data('compton.desktop', install_dir: 'share/applications')
|
|
||||||
install_data('picom.desktop', install_dir: 'share/applications')
|
install_data('picom.desktop', install_dir: 'share/applications')
|
||||||
install_data('media/icons/48x48/compton.png',
|
|
||||||
install_dir: 'share/icons/hicolor/48x48/apps')
|
|
||||||
install_data('media/compton.svg',
|
|
||||||
install_dir: 'share/icons/hicolor/scalable/apps')
|
|
||||||
|
|
||||||
meson.add_install_script('meson/install.sh')
|
if get_option('compton')
|
||||||
|
install_data('compton.desktop', install_dir: 'share/applications')
|
||||||
|
install_data('media/icons/48x48/compton.png',
|
||||||
|
install_dir: 'share/icons/hicolor/48x48/apps')
|
||||||
|
install_data('media/compton.svg',
|
||||||
|
install_dir: 'share/icons/hicolor/scalable/apps')
|
||||||
|
|
||||||
|
meson.add_install_script('meson/install.sh')
|
||||||
|
endif
|
||||||
|
|
|
@ -9,6 +9,8 @@ option('dbus', type: 'boolean', value: true, description: 'Enable support for D-
|
||||||
|
|
||||||
option('xrescheck', type: 'boolean', value: false, description: 'Enable X resource leak checker (for debug only)')
|
option('xrescheck', type: 'boolean', value: false, description: 'Enable X resource leak checker (for debug only)')
|
||||||
|
|
||||||
|
option('compton', type: 'boolean', value: true, description: 'Install backwards compat with compton')
|
||||||
|
|
||||||
option('with_docs', type: 'boolean', value: false, description: 'Build documentation and man pages')
|
option('with_docs', type: 'boolean', value: false, description: 'Build documentation and man pages')
|
||||||
|
|
||||||
option('modularize', type: 'boolean', value: false, description: 'Build with clang\'s module system')
|
option('modularize', type: 'boolean', value: false, description: 'Build with clang\'s module system')
|
||||||
|
|
Loading…
Reference in New Issue