mirror of
https://github.com/johrpan/musicus.git
synced 2025-10-26 03:47:23 +01:00
Update build system and Flatpak manifest
This commit is contained in:
parent
1788303bf3
commit
b9c874ab8c
26 changed files with 317 additions and 160 deletions
27
meson.build
27
meson.build
|
|
@ -1,20 +1,35 @@
|
|||
project('musicus', 'rust',
|
||||
version: '0.1.0',
|
||||
meson_version: '>= 0.62.0',
|
||||
default_options: [ 'warning_level=2', 'werror=false', ],
|
||||
project(
|
||||
'musicus',
|
||||
'rust',
|
||||
version: '0.1.0',
|
||||
meson_version: '>= 0.62.0',
|
||||
)
|
||||
|
||||
i18n = import('i18n')
|
||||
gnome = import('gnome')
|
||||
|
||||
# TODO: Add dependency checks for required shared libraries like SQLite,
|
||||
# GStreamer (including plugins), Gtk, Libadwaita etc.
|
||||
|
||||
name = 'Musicus'
|
||||
base_id = 'de.johrpan.Musicus'
|
||||
app_id = base_id
|
||||
path_id = '/de/johrpan/Musicus'
|
||||
profile = get_option('profile')
|
||||
datadir = get_option('prefix') / get_option('datadir')
|
||||
localedir = get_option('prefix') / get_option('localedir')
|
||||
bindir = get_option('prefix') / get_option('bindir')
|
||||
|
||||
if profile == 'development'
|
||||
app_id = '@0@.Devel'.format(app_id)
|
||||
endif
|
||||
|
||||
subdir('data')
|
||||
subdir('src')
|
||||
subdir('po')
|
||||
|
||||
gnome.post_install(
|
||||
glib_compile_schemas: true,
|
||||
gtk_update_icon_cache: true,
|
||||
glib_compile_schemas: true,
|
||||
gtk_update_icon_cache: true,
|
||||
update_desktop_database: true,
|
||||
)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue