Skip to content

Commit

Permalink
Add meson
Browse files Browse the repository at this point in the history
  • Loading branch information
danirabbit committed Oct 2, 2024
1 parent 11894b7 commit 11d3954
Showing 1 changed file with 35 additions and 0 deletions.
35 changes: 35 additions & 0 deletions session/meson.build
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
autostartdir = get_option('sysconfdir') / 'xdg' / 'autostart'
schemadir = get_option('datadir') / 'glib-2.0' / 'schemas'

install_data(
'autostart.desktop',
install_dir: autostartdir,
rename: meson.project_name() + '.desktop'
)

install_data(
'compositor-autostart.desktop',
install_dir: autostartdir,
rename: meson.project_name() + '.compositor.desktop'
)

install_data(
'installer.desktop',
install_dir: get_option('datadir') / 'xsessions'
)

install_data(
'installer.session',
install_dir: get_option('datadir') / 'gnome-session' / 'sessions'
)

install_data(
'installer-default-settings.gschema.override',
install_dir: schemadir
)

install_subdir(
'gsd',
install_dir: autostartdir,
strip_directory: true
)

0 comments on commit 11d3954

Please sign in to comment.