Skip to content

Commit

Permalink
Fix flatpak build
Browse files Browse the repository at this point in the history
Also, update gtksourceview dependency
  • Loading branch information
Denis Zheleztsov committed Dec 9, 2021
1 parent f48f87d commit 3dba44c
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 9 deletions.
2 changes: 1 addition & 1 deletion meson.build
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ deps = [
dependency('gee-0.8'),
dependency('gstreamer-1.0'),
dependency('gstreamer-base-1.0'),
dependency('gtksourceview-3.0'),
dependency('gtksourceview-4'),
meson.get_compiler('c').find_library('m', required: false)
]

Expand Down
21 changes: 13 additions & 8 deletions org.vaccine.app.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"app-id": "org.vaccine.app",
"runtime": "org.gnome.Platform",
"runtime-version": "3.24",
"runtime-version": "3.38",
"sdk": "org.gnome.Sdk",
"command": "vaccine",
"finish-args": [
Expand All @@ -13,11 +13,15 @@
"--talk-name=ca.desrt.dconf",
"--env=DCONF_USER_CONFIG_DIR=.config/dconf"
],
"cleanup": ["*.a", "*.la", "/include"],
"cleanup": [
"*.a",
"*.la",
"/include"
],
"modules": [
{
"name": "gee-0.8",
"build-options" : {
"build-options": {
"env": {
"PKG_CONFIG_GOBJECT_INTROSPECTION_1_0_GIRDIR": "/app/share/gir-1.0",
"PKG_CONFIG_GOBJECT_INTROSPECTION_1_0_TYPELIBDIR": "/app/lib/girepository-1.0"
Expand All @@ -26,17 +30,18 @@
"sources": [
{
"type": "git",
"url": "git://git.gnome.org/libgee"
"url": "https://gitlab.gnome.org/giuliobenetti/libgee.git"
}
]
},
{
"name": "gtksourceview",
"buildsystem": "meson",
"sources": [
{
"type": "git",
"url": "git://git.gnome.org/gtksourceview",
"branch": "gnome-3-24"
"url": "https://gitlab.gnome.org/taozuhong/gtksourceview.git",
"branch": "4.6.1"
}
]
},
Expand All @@ -46,8 +51,8 @@
"builddir": true,
"sources": [
{
"type": "git",
"url": "https://github.com/VaccineApp/vaccine.git"
"type": "dir",
"path": "."
}
]
}
Expand Down

0 comments on commit 3dba44c

Please sign in to comment.