Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixing flatpak build #273

Merged
merged 2 commits into from
Aug 26, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
83 changes: 70 additions & 13 deletions com.github.GradienceTeam.Gradience.Devel.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"app-id" : "com.github.GradienceTeam.Gradience.Devel",
"runtime" : "org.gnome.Platform",
"runtime-version" : "master",
"runtime-version" : "42",
"sdk" : "org.gnome.Sdk",
"command" : "gradience",
"finish-args" : [
Expand All @@ -27,17 +27,17 @@
"modules" : [
"pypi-dependencies.json",
{
"name": "python-lxml",
"buildsystem": "simple",
"build-commands": [
"name" : "python-lxml",
"buildsystem" : "simple",
"build-commands" : [
"python3 setup.py build --with-cython",
"python3 setup.py install --prefix=/app --root=/"
],
"sources": [
"sources" : [
{
"type": "archive",
"url": "https://github.com/lxml/lxml/releases/download/lxml-4.9.1/lxml-4.9.1.tar.gz",
"sha256": "fe749b052bb7233fe5d072fcb549221a8cb1a16725c47c37e42b0b9cb3ff2c3f"
"type" : "archive",
"url" : "https://github.com/lxml/lxml/releases/download/lxml-4.9.1/lxml-4.9.1.tar.gz",
"sha256" : "fe749b052bb7233fe5d072fcb549221a8cb1a16725c47c37e42b0b9cb3ff2c3f"
}
]
},
Expand All @@ -53,22 +53,79 @@
]
},
{
"name": "libportal",
"name": "libsass",
"buildsystem": "simple",
"build-commands": [
"autoreconf --force --install",
"./configure --enable-shared --prefix=/app",
"make",
"make install"
],
"sources": [
{
"type": "git",
"url": "https://github.com/sass/libsass.git",
"tag": "3.6.5"
}
]
},
{
"name": "sassc",
"buildsystem": "simple",
"build-commands": [
"autoreconf --force --install",
"./configure --prefix=/app",
"make",
"make install"
],
"sources": [
{
"type": "git",
"url": "https://github.com/sass/sassc.git",
"tag": "3.6.2"
}
]
},
{
"name": "libadwaita",
"buildsystem": "meson",
"config-opts": ["-Ddocs=false", "-Dvapi=false", "-Dbackends=gtk4"],
"config-opts": [
"-Dvapi=false",
"-Dtests=false",
"-Dexamples=false",
"-Dintrospection=enabled"
],
"sources": [
{
"type": "git",
"url": "https://github.com/flatpak/libportal",
"branch": "main"
"url": "https://gitlab.gnome.org/GNOME/libadwaita.git",
"tag": "1.2.beta"
}
]
},
{
"name" : "libportal",
"buildsystem" : "meson",
"config-opts" : [
"-Ddocs=false",
"-Dvapi=false",
"-Dbackends=gtk4"
],
"sources" : [
{
"type" : "git",
"url" : "https://github.com/flatpak/libportal",
"branch" : "main"
}
]
},
{
"name" : "gradience",
"builddir" : true,
"buildsystem" : "meson",
"config-opts": ["-Dbuildtype=debug"],
"config-opts" : [
"-Dbuildtype=debug"
],
"sources" : [
{
"type" : "git",
Expand Down
51 changes: 48 additions & 3 deletions com.github.GradienceTeam.Gradience.json
Original file line number Diff line number Diff line change
Expand Up @@ -52,10 +52,49 @@
}
]
},
{
"name": "libsass",
"buildsystem": "simple",
"build-commands": [
"autoreconf --force --install",
"./configure --enable-shared --prefix=/app",
"make",
"make install"
],
"sources": [
{
"type": "git",
"url": "https://github.com/sass/libsass.git",
"tag": "3.6.5"
}
]
},
{
"name": "sassc",
"buildsystem": "simple",
"build-commands": [
"autoreconf --force --install",
"./configure --prefix=/app",
"make",
"make install"
],
"sources": [
{
"type": "git",
"url": "https://github.com/sass/sassc.git",
"tag": "3.6.2"
}
]
},
{
"name": "libadwaita",
"buildsystem": "meson",
"config-opts": ["-Dvapi=false", "-Dtests=false", "-Dexamples=false", "-Dintrospection=true"],
"config-opts": [
"-Dvapi=false",
"-Dtests=false",
"-Dexamples=false",
"-Dintrospection=enabled"
],
"sources": [
{
"type": "git",
Expand All @@ -67,7 +106,11 @@
{
"name": "libportal",
"buildsystem": "meson",
"config-opts": ["-Ddocs=false", "-Dvapi=false", "-Dbackends=gtk4"],
"config-opts": [
"-Ddocs=false",
"-Dvapi=false",
"-Dbackends=gtk4"
],
"sources": [
{
"type": "git",
Expand All @@ -80,7 +123,9 @@
"name" : "gradience",
"builddir" : true,
"buildsystem" : "meson",
"config-opts": ["-Dbuildtype=release"],
"config-opts": [
"-Dbuildtype=release"
],
"sources" : [
{
"type" : "dir",
Expand Down
4 changes: 2 additions & 2 deletions pypi-dependencies.json
Original file line number Diff line number Diff line change
Expand Up @@ -50,8 +50,8 @@
},
{
"type": "file",
"url": "https://files.pythonhosted.org/packages/5a/d8/ab8f7bc42d944b4c9f018884299e561c272f7efe4d64c09f3254e48c63d8/material_color_utilities_python-0.1.4-py3-none-any.whl",
"sha256": "017fdc343a2d4f5d22a3f4a0ca7653ae7ea8fbdc31162ac1503a60a2f1857f4e"
"url": "https://files.pythonhosted.org/packages/31/65/a8e0f3e2bad0d4eabeb1931b22cdae08344a955f28022dc83420a128683c/material_color_utilities_python-0.1.5-py2.py3-none-any.whl",
"sha256": "48abd8695a1355ab3ad43fe314ca8664c66282a86fbf94a717571273bf422bdf"
}
]
},
Expand Down