meson.build 2.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061
  1. project('publicate', 'vala', 'c')
  2. add_project_arguments(['--disable-warnings', '--enable-checking'], language: 'vala')
  3. sources = files('App.vala')
  4. sources += files('Window.vala')
  5. sources += files('ZoomSpinButton.vala')
  6. sources += files('StartupMenu.vala')
  7. sources += files('FileExplorer.vala')
  8. sources += files('Editor.vala')
  9. sources += files('SaveProgress.vala')
  10. sources += files('Savable.vala')
  11. sources += files('FileChooser.vala')
  12. sources += files('FileCreationPopover.vala')
  13. sources += files('LicenceChooser.vala')
  14. sources += files('Editors/EditorWidget.vala')
  15. sources += files('Editors/MarkdownEditor.vala')
  16. sources += files('Editors/PlainTextEditor.vala')
  17. sources += files('Editors/MetadataEditor.vala')
  18. sources += files('Editors/VideoManifestEditor.vala')
  19. sources += files('Editors/UnsupportedEditor.vala')
  20. sources += files('Wizards/Wizard.vala')
  21. sources += files('Wizards/Standard.vala')
  22. sources += files('Wizards/Video.vala')
  23. sources += files('Video/VideoProcessor.vala')
  24. sources += files('Video/VideoInfo.vala')
  25. sources += files('Video/EncodingProfile.vala')
  26. sources += files('Video/TheoraProfiles.vala')
  27. sources += files('Video/Vp9Profiles.vala')
  28. sources += files('Video/Encoder.vala')
  29. sources += files('Licences/Licence.vala')
  30. sources += files('Licences/AllRightsReserved.vala')
  31. sources += files('Licences/CreativeCommons.vala')
  32. sources += files('Licences/CreativeCommonsBy.vala')
  33. sources += files('Licences/CreativeCommonsByNc.vala')
  34. sources += files('Licences/CreativeCommonsByNcNd.vala')
  35. sources += files('Licences/CreativeCommonsByNcSa.vala')
  36. sources += files('Licences/CreativeCommonsByNd.vala')
  37. sources += files('Licences/CreativeCommonsBySa.vala')
  38. dependencies = [
  39. dependency('glib-2.0'),
  40. dependency('gobject-2.0'),
  41. dependency('json-glib-1.0'),
  42. dependency('gio-2.0'),
  43. dependency('gee-0.8'),
  44. dependency('libadwaita-1'),
  45. dependency('invercargill'),
  46. dependency('gtk4'),
  47. dependency('gtkcommonmark'),
  48. dependency('libppub'),
  49. dependency('gtksourceview-5'),
  50. dependency('libspelling-1'),
  51. ]
  52. executable('publicate', sources, dependencies: dependencies, install: true)
  53. install_data('../nz.barrow.billy.publicate.svg', install_dir: get_option('datadir') / 'icons/hicolor/scalable/apps')
  54. install_data('../nz.barrow.billy.publicate-symbolic.svg', install_dir: get_option('datadir') / 'icons/hicolor/symbolic/apps')
  55. install_data('../nz.barrow.billy.publicate.desktop', install_dir: get_option('datadir') / 'applications')