Move Flatpak manifest to build-aux

This commit is contained in:
Hari Rana
2024-10-06 19:01:10 -04:00
parent b4e930f31e
commit 946d91365c
3 changed files with 58 additions and 56 deletions

View File

@@ -18,4 +18,4 @@ jobs:
uses: flatpak/flatpak-github-actions/flatpak-builder@v6.1
with:
bundle: io.github.flattool.Warehouse.flatpak
manifest-path: io.github.flattool.Warehouse.json
manifest-path: build-aux/io.github.flattool.Warehouse.json

View File

@@ -0,0 +1,57 @@
{
"id" : "io.github.flattool.Warehouse",
"runtime" : "org.gnome.Platform",
"runtime-version" : "47",
"sdk" : "org.gnome.Sdk",
"command" : "warehouse",
"finish-args" : [
"--share=ipc",
"--socket=fallback-x11",
"--device=dri",
"--socket=wayland",
"--talk-name=org.freedesktop.Flatpak",
"--filesystem=/var/lib/flatpak/:ro",
"--filesystem=~/.local/share/flatpak/:ro",
"--filesystem=~/.var/app/",
"--filesystem=host-etc"
],
"cleanup" : [
"/include",
"/lib/pkgconfig",
"/man",
"/share/doc",
"/share/gtk-doc",
"/share/man",
"/share/pkgconfig",
"*.la",
"*.a"
],
"modules" : [
{
"name" : "blueprint-compiler",
"buildsystem" : "meson",
"sources" : [
{
"type" : "git",
"url" : "https://gitlab.gnome.org/jwestman/blueprint-compiler",
"tag" : "v0.14.0"
}
],
"cleanup" : [
"*"
]
},
{
"name" : "warehouse",
"builddir" : true,
"buildsystem" : "meson",
"config-opts": [ "-Dprofile=development" ],
"sources" : [
{
"type" : "dir",
"path" : ".."
}
]
}
]
}

View File

@@ -1,55 +0,0 @@
{
"id": "io.github.flattool.Warehouse",
"runtime": "org.gnome.Platform",
"runtime-version": "47",
"sdk": "org.gnome.Sdk",
"command": "warehouse",
"finish-args": [
"--share=ipc",
"--socket=fallback-x11",
"--device=dri",
"--socket=wayland",
"--talk-name=org.freedesktop.Flatpak",
"--filesystem=/var/lib/flatpak/:ro",
"--filesystem=~/.local/share/flatpak/:ro",
"--filesystem=~/.var/app/",
"--filesystem=host-etc"
],
"cleanup": [
"/include",
"/lib/pkgconfig",
"/man",
"/share/doc",
"/share/gtk-doc",
"/share/man",
"/share/pkgconfig",
"*.la",
"*.a"
],
"modules": [
{
"name": "blueprint-compiler",
"buildsystem": "meson",
"sources": [
{
"type": "git",
"url": "https://gitlab.gnome.org/jwestman/blueprint-compiler",
"tag": "v0.14.0"
}
],
"cleanup": ["*"]
},
{
"name": "warehouse",
"builddir": true,
"buildsystem": "meson",
"config-opts": ["-Dprofile=default"],
"sources": [
{
"type": "dir",
"path": "."
}
]
}
]
}