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

Commit 497eb08

Browse files
committed
build: update build files to compile on gnome 42
1 parent 46727b4 commit 497eb08

File tree

5 files changed

+6
-6
lines changed

5 files changed

+6
-6
lines changed

docs.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
"Gdk": ["4.0", "3.0"],
1919
"GdkPixbuf": ["2.0"],
2020
"GLib": ["2.0"],
21-
"Meta": ["9"],
22-
"Cogl": ["9"]
21+
"Meta": ["10"],
22+
"Cogl": ["10"]
2323
}
2424
}

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
"scripts": {
88
"build": "yarn run lock:types && yarn run build:types && yarn run build:ts && yarn run build:extension",
99
"clean": "yarn run clean:ts && yarn run build:types",
10-
"lock:types": "cross-env XDG_DATA_DIRS=$XDG_DATA_DIRS:/usr/share/gnome-shell:/usr/lib/mutter-9 yarn run gi-ts config --lock",
10+
"lock:types": "cross-env XDG_DATA_DIRS=$XDG_DATA_DIRS:/usr/share/gnome-shell:/usr/lib/mutter-10 yarn run gi-ts config --lock",
1111
"build:types": "yarn run clean:types && gi-ts generate",
1212
"clean:types": "rm -rf ./@types",
1313
"build:ts": "yarn run clean:ts && rollup -c",

resources/metadata.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,5 +5,5 @@
55
"version": 999,
66
"settings-schema": "org.gnome.shell.extensions.extensions-sync",
77
"url": "https://github.com/oae/gnome-shell-extensions-sync",
8-
"shell-version": ["40", "41"]
8+
"shell-version": ["40", "41", "42"]
99
}

rollup.config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ const globals = {
1515
'@imports/glib2': 'imports.gi.GLib',
1616
'@imports/st1': 'imports.gi.St',
1717
'@imports/shell0': 'imports.gi.Shell',
18-
'@imports/meta9': 'imports.gi.Meta',
18+
'@imports/meta10': 'imports.gi.Meta',
1919
'@imports/soup2': 'imports.gi.Soup',
2020
'@imports/gobject2': 'imports.gi.GObject',
2121
};

src/shell/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import { execute, logger } from '@esync/utils';
22
import { File, FileCreateFlags, file_new_tmp, Settings } from '@imports/gio2';
33
import { PRIORITY_DEFAULT } from '@imports/glib2';
4-
import { is_wayland_compositor, restart } from '@imports/meta9';
4+
import { is_wayland_compositor, restart } from '@imports/meta10';
55

66
const debug = logger('shell');
77

0 commit comments

Comments
 (0)