Skip to content
This repository has been archived by the owner on Apr 22, 2024. It is now read-only.

Commit

Permalink
build: update build files to compile on gnome 42
Browse files Browse the repository at this point in the history
  • Loading branch information
oae committed Mar 20, 2022
1 parent 46727b4 commit 497eb08
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions docs.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
"Gdk": ["4.0", "3.0"],
"GdkPixbuf": ["2.0"],
"GLib": ["2.0"],
"Meta": ["9"],
"Cogl": ["9"]
"Meta": ["10"],
"Cogl": ["10"]
}
}
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"scripts": {
"build": "yarn run lock:types && yarn run build:types && yarn run build:ts && yarn run build:extension",
"clean": "yarn run clean:ts && yarn run build:types",
"lock:types": "cross-env XDG_DATA_DIRS=$XDG_DATA_DIRS:/usr/share/gnome-shell:/usr/lib/mutter-9 yarn run gi-ts config --lock",
"lock:types": "cross-env XDG_DATA_DIRS=$XDG_DATA_DIRS:/usr/share/gnome-shell:/usr/lib/mutter-10 yarn run gi-ts config --lock",
"build:types": "yarn run clean:types && gi-ts generate",
"clean:types": "rm -rf ./@types",
"build:ts": "yarn run clean:ts && rollup -c",
Expand Down
2 changes: 1 addition & 1 deletion resources/metadata.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,5 @@
"version": 999,
"settings-schema": "org.gnome.shell.extensions.extensions-sync",
"url": "https://github.com/oae/gnome-shell-extensions-sync",
"shell-version": ["40", "41"]
"shell-version": ["40", "41", "42"]
}
2 changes: 1 addition & 1 deletion rollup.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ const globals = {
'@imports/glib2': 'imports.gi.GLib',
'@imports/st1': 'imports.gi.St',
'@imports/shell0': 'imports.gi.Shell',
'@imports/meta9': 'imports.gi.Meta',
'@imports/meta10': 'imports.gi.Meta',
'@imports/soup2': 'imports.gi.Soup',
'@imports/gobject2': 'imports.gi.GObject',
};
Expand Down
2 changes: 1 addition & 1 deletion src/shell/index.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { execute, logger } from '@esync/utils';
import { File, FileCreateFlags, file_new_tmp, Settings } from '@imports/gio2';
import { PRIORITY_DEFAULT } from '@imports/glib2';
import { is_wayland_compositor, restart } from '@imports/meta9';
import { is_wayland_compositor, restart } from '@imports/meta10';

const debug = logger('shell');

Expand Down

0 comments on commit 497eb08

Please sign in to comment.