"Fossies" - the Fresh Open Source Software Archive

Member "revelation-0.5.4/meson.build" (4 Oct 2020, 1332 Bytes) of package /linux/privat/revelation-0.5.4.tar.xz:


As a special service "Fossies" has tried to format the requested text file into HTML format (style: standard) with prefixed line numbers. Alternatively you can here view or download the uninterpreted source code file.

    1 project('revelation',
    2     version : '0.5.4',
    3     meson_version: '>= 0.51.0'
    4 )
    5 
    6 # Importing modules
    7 gnome = import('gnome')
    8 i18n = import('i18n')
    9 python = import('python')
   10 
   11 # Module objects
   12 py_installation = python.find_installation('python3',
   13   modules: ['Cryptodome',
   14             'pwquality'] )
   15 
   16 # Dependencies
   17 dependency('gobject-introspection-1.0', version: '>= 1.35.0')
   18 dependency('gtk+-3.0', version: '>= 3.22')
   19 dependency('glib-2.0')
   20 dependency('pygobject-3.0', version: '>= 3.29.1')
   21 
   22 rvl_name = meson.project_name().to_lower()
   23 rvl_namespace = 'info.olasagasti.revelation'
   24 rvl_datadir = join_paths(get_option('prefix'), get_option('datadir'))
   25 rvl_appstreamdir = join_paths(rvl_datadir, 'metainfo')
   26 rvl_pkgdatadir = join_paths(rvl_datadir, rvl_name)
   27 rvl_version = meson.project_version()
   28 
   29 bindir = join_paths(get_option('prefix'), get_option('bindir'))
   30 libdir = join_paths(py_installation.get_install_dir(), rvl_name)
   31 
   32 subdir('src')
   33 subdir('data')
   34 subdir('po')
   35 
   36 meson.add_install_script('meson_post_install.py')
   37 
   38 output = '\n' + meson.project_name() + ' ' + rvl_version + ' configure summary\n'
   39 output += '============================\n\n'
   40 output += 'pythondir.: ' + libdir + '\n'
   41 output += 'bindir....: ' + bindir + '\n'
   42 output += 'datadir...: ' + rvl_datadir + '\n'
   43 output += 'pkgdatadir: ' + rvl_pkgdatadir
   44 message(output)
   45