Advertisement
Guest User

Untitled

a guest
Nov 4th, 2020
99
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 0.64 KB | None | 0 0
  1. project('test_dbus',
  2.           version: '0.1.0',
  3.     meson_version: '>= 0.50.0',
  4.   default_options: [ 'warning_level=2',
  5.                    ],
  6. )
  7.  
  8. gnome = import('gnome')
  9. i18n = import('i18n')
  10.  
  11. pymod = import('python')
  12. python = pymod.find_installation()
  13. python_version = python.language_version()
  14. python_version_req = '>=3.4'
  15. if not python_version.version_compare(python_version_req)
  16.   error('Requires Python @0@, @1@ found.'.format(python_version_req, python_version))
  17. endif
  18.  
  19. python_dep = dependency('pydbus', required : true)
  20.  
  21. subdir('data')
  22. subdir('src')
  23. subdir('po')
  24.  
  25. meson.add_install_script('build-aux/meson/postinstall.py')
  26.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement