mirror of
https://github.com/Rafostar/clapper.git
synced 2025-08-31 00:11:59 +02:00
Add Clapper usage as GTK widget
This commit is contained in:
@@ -1,8 +1,12 @@
|
||||
imports.gi.versions.Gdk = '4.0';
|
||||
imports.gi.versions.Gtk = '4.0';
|
||||
imports.searchPath.unshift('@importspath@');
|
||||
|
||||
const CLAPPER_PATH = '@importspath@';
|
||||
imports.searchPath.unshift(CLAPPER_PATH);
|
||||
|
||||
const ClapperSrc = imports.clapper_src;
|
||||
ClapperSrc.misc.clapperPath = CLAPPER_PATH;
|
||||
ClapperSrc.misc.clapperVersion = '@PACKAGE_VERSION@';
|
||||
|
||||
var { App } = ClapperSrc.app;
|
||||
var { Widget } = ClapperSrc.widget;
|
||||
|
@@ -3,6 +3,7 @@ gjsdir = join_paths(sharedir, 'gjs-1.0')
|
||||
importspath = join_paths(sharedir, meson.project_name())
|
||||
|
||||
gjs_conf = configuration_data()
|
||||
gjs_conf.set('PACKAGE_VERSION', meson.project_version())
|
||||
gjs_conf.set('importspath', importspath)
|
||||
|
||||
configure_file(
|
||||
|
Reference in New Issue
Block a user