project('publicate', 'vala', 'c') add_project_arguments(['--disable-warnings', '--enable-checking'], language: 'vala') sources = files('App.vala') sources += files('Window.vala') sources += files('ZoomSpinButton.vala') sources += files('StartupMenu.vala') sources += files('FileExplorer.vala') sources += files('Editor.vala') sources += files('SaveProgress.vala') sources += files('Savable.vala') sources += files('FileChooser.vala') sources += files('FileCreationPopover.vala') sources += files('LicenceChooser.vala') sources += files('Editors/EditorWidget.vala') sources += files('Editors/MarkdownEditor.vala') sources += files('Editors/PlainTextEditor.vala') sources += files('Editors/MetadataEditor.vala') sources += files('Editors/VideoManifestEditor.vala') sources += files('Editors/UnsupportedEditor.vala') sources += files('Wizards/Wizard.vala') sources += files('Wizards/Standard.vala') sources += files('Wizards/Video.vala') sources += files('Video/VideoProcessor.vala') sources += files('Video/VideoInfo.vala') sources += files('Video/EncodingProfile.vala') sources += files('Video/TheoraProfiles.vala') sources += files('Video/Vp9Profiles.vala') sources += files('Video/Encoder.vala') sources += files('Licences/Licence.vala') sources += files('Licences/AllRightsReserved.vala') sources += files('Licences/CreativeCommons.vala') sources += files('Licences/CreativeCommonsBy.vala') sources += files('Licences/CreativeCommonsByNc.vala') sources += files('Licences/CreativeCommonsByNcNd.vala') sources += files('Licences/CreativeCommonsByNcSa.vala') sources += files('Licences/CreativeCommonsByNd.vala') sources += files('Licences/CreativeCommonsBySa.vala') dependencies = [ dependency('glib-2.0'), dependency('gobject-2.0'), dependency('json-glib-1.0'), dependency('gio-2.0'), dependency('gee-0.8'), dependency('libadwaita-1'), dependency('invercargill'), dependency('gtk4'), dependency('gtkcommonmark'), dependency('libppub'), dependency('gtksourceview-5'), dependency('libspelling-1'), ] executable('publicate', sources, dependencies: dependencies, install: true) install_data('../nz.barrow.billy.publicate.svg', install_dir: get_option('datadir') / 'icons/hicolor/scalable/apps') install_data('../nz.barrow.billy.publicate-symbolic.svg', install_dir: get_option('datadir') / 'icons/hicolor/symbolic/apps') install_data('../nz.barrow.billy.publicate.desktop', install_dir: get_option('datadir') / 'applications')