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

Commit 78bda9d

Browse files
authored
Fixing flatpak build (#273)
2 parents 553b4b0 + a7fdcef commit 78bda9d

File tree

3 files changed

+120
-18
lines changed

3 files changed

+120
-18
lines changed

com.github.GradienceTeam.Gradience.Devel.json

Lines changed: 70 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"app-id" : "com.github.GradienceTeam.Gradience.Devel",
33
"runtime" : "org.gnome.Platform",
4-
"runtime-version" : "master",
4+
"runtime-version" : "42",
55
"sdk" : "org.gnome.Sdk",
66
"command" : "gradience",
77
"finish-args" : [
@@ -27,17 +27,17 @@
2727
"modules" : [
2828
"pypi-dependencies.json",
2929
{
30-
"name": "python-lxml",
31-
"buildsystem": "simple",
32-
"build-commands": [
30+
"name" : "python-lxml",
31+
"buildsystem" : "simple",
32+
"build-commands" : [
3333
"python3 setup.py build --with-cython",
3434
"python3 setup.py install --prefix=/app --root=/"
3535
],
36-
"sources": [
36+
"sources" : [
3737
{
38-
"type": "archive",
39-
"url": "https://github.com/lxml/lxml/releases/download/lxml-4.9.1/lxml-4.9.1.tar.gz",
40-
"sha256": "fe749b052bb7233fe5d072fcb549221a8cb1a16725c47c37e42b0b9cb3ff2c3f"
38+
"type" : "archive",
39+
"url" : "https://github.com/lxml/lxml/releases/download/lxml-4.9.1/lxml-4.9.1.tar.gz",
40+
"sha256" : "fe749b052bb7233fe5d072fcb549221a8cb1a16725c47c37e42b0b9cb3ff2c3f"
4141
}
4242
]
4343
},
@@ -53,22 +53,79 @@
5353
]
5454
},
5555
{
56-
"name": "libportal",
56+
"name": "libsass",
57+
"buildsystem": "simple",
58+
"build-commands": [
59+
"autoreconf --force --install",
60+
"./configure --enable-shared --prefix=/app",
61+
"make",
62+
"make install"
63+
],
64+
"sources": [
65+
{
66+
"type": "git",
67+
"url": "https://github.com/sass/libsass.git",
68+
"tag": "3.6.5"
69+
}
70+
]
71+
},
72+
{
73+
"name": "sassc",
74+
"buildsystem": "simple",
75+
"build-commands": [
76+
"autoreconf --force --install",
77+
"./configure --prefix=/app",
78+
"make",
79+
"make install"
80+
],
81+
"sources": [
82+
{
83+
"type": "git",
84+
"url": "https://github.com/sass/sassc.git",
85+
"tag": "3.6.2"
86+
}
87+
]
88+
},
89+
{
90+
"name": "libadwaita",
5791
"buildsystem": "meson",
58-
"config-opts": ["-Ddocs=false", "-Dvapi=false", "-Dbackends=gtk4"],
92+
"config-opts": [
93+
"-Dvapi=false",
94+
"-Dtests=false",
95+
"-Dexamples=false",
96+
"-Dintrospection=enabled"
97+
],
5998
"sources": [
6099
{
61100
"type": "git",
62-
"url": "https://github.com/flatpak/libportal",
63-
"branch": "main"
101+
"url": "https://gitlab.gnome.org/GNOME/libadwaita.git",
102+
"tag": "1.2.beta"
103+
}
104+
]
105+
},
106+
{
107+
"name" : "libportal",
108+
"buildsystem" : "meson",
109+
"config-opts" : [
110+
"-Ddocs=false",
111+
"-Dvapi=false",
112+
"-Dbackends=gtk4"
113+
],
114+
"sources" : [
115+
{
116+
"type" : "git",
117+
"url" : "https://github.com/flatpak/libportal",
118+
"branch" : "main"
64119
}
65120
]
66121
},
67122
{
68123
"name" : "gradience",
69124
"builddir" : true,
70125
"buildsystem" : "meson",
71-
"config-opts": ["-Dbuildtype=debug"],
126+
"config-opts" : [
127+
"-Dbuildtype=debug"
128+
],
72129
"sources" : [
73130
{
74131
"type" : "git",

com.github.GradienceTeam.Gradience.json

Lines changed: 48 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -52,10 +52,49 @@
5252
}
5353
]
5454
},
55+
{
56+
"name": "libsass",
57+
"buildsystem": "simple",
58+
"build-commands": [
59+
"autoreconf --force --install",
60+
"./configure --enable-shared --prefix=/app",
61+
"make",
62+
"make install"
63+
],
64+
"sources": [
65+
{
66+
"type": "git",
67+
"url": "https://github.com/sass/libsass.git",
68+
"tag": "3.6.5"
69+
}
70+
]
71+
},
72+
{
73+
"name": "sassc",
74+
"buildsystem": "simple",
75+
"build-commands": [
76+
"autoreconf --force --install",
77+
"./configure --prefix=/app",
78+
"make",
79+
"make install"
80+
],
81+
"sources": [
82+
{
83+
"type": "git",
84+
"url": "https://github.com/sass/sassc.git",
85+
"tag": "3.6.2"
86+
}
87+
]
88+
},
5589
{
5690
"name": "libadwaita",
5791
"buildsystem": "meson",
58-
"config-opts": ["-Dvapi=false", "-Dtests=false", "-Dexamples=false", "-Dintrospection=true"],
92+
"config-opts": [
93+
"-Dvapi=false",
94+
"-Dtests=false",
95+
"-Dexamples=false",
96+
"-Dintrospection=enabled"
97+
],
5998
"sources": [
6099
{
61100
"type": "git",
@@ -67,7 +106,11 @@
67106
{
68107
"name": "libportal",
69108
"buildsystem": "meson",
70-
"config-opts": ["-Ddocs=false", "-Dvapi=false", "-Dbackends=gtk4"],
109+
"config-opts": [
110+
"-Ddocs=false",
111+
"-Dvapi=false",
112+
"-Dbackends=gtk4"
113+
],
71114
"sources": [
72115
{
73116
"type": "git",
@@ -80,7 +123,9 @@
80123
"name" : "gradience",
81124
"builddir" : true,
82125
"buildsystem" : "meson",
83-
"config-opts": ["-Dbuildtype=release"],
126+
"config-opts": [
127+
"-Dbuildtype=release"
128+
],
84129
"sources" : [
85130
{
86131
"type" : "dir",

pypi-dependencies.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,8 +50,8 @@
5050
},
5151
{
5252
"type": "file",
53-
"url": "https://files.pythonhosted.org/packages/5a/d8/ab8f7bc42d944b4c9f018884299e561c272f7efe4d64c09f3254e48c63d8/material_color_utilities_python-0.1.4-py3-none-any.whl",
54-
"sha256": "017fdc343a2d4f5d22a3f4a0ca7653ae7ea8fbdc31162ac1503a60a2f1857f4e"
53+
"url": "https://files.pythonhosted.org/packages/31/65/a8e0f3e2bad0d4eabeb1931b22cdae08344a955f28022dc83420a128683c/material_color_utilities_python-0.1.5-py2.py3-none-any.whl",
54+
"sha256": "48abd8695a1355ab3ad43fe314ca8664c66282a86fbf94a717571273bf422bdf"
5555
}
5656
]
5757
},

0 commit comments

Comments
 (0)