Add meson build system (#1)

Initial meson build system support. We do not create .desktop file yet, but we need an option to open media files from GUI first anyway.
This commit is contained in:
Rafostar
2020-09-08 19:55:59 +02:00
committed by GitHub
parent fd22457857
commit edcc7b71b9
11 changed files with 104 additions and 58 deletions

View File

@@ -4,8 +4,9 @@ const { Interface } = imports.clapper_src.interface;
const { Player } = imports.clapper_src.player;
const { Window } = imports.clapper_src.window;
const APP_NAME = 'Clapper';
const APP_ID = `com.github.rafostar.${APP_NAME}`;
const APP_NAME = pkg.name.substring(
pkg.name.lastIndexOf('.') + 1
);
let { debug } = Debug;
@@ -22,7 +23,7 @@ var App = GObject.registerClass({
GLib.set_prgname(APP_NAME);
super._init({
application_id: APP_ID
application_id: pkg.name
});
let defaults = {