mirror of
https://github.com/morgan9e/warehouse
synced 2026-04-15 00:34:42 +09:00
Move Flatpak manifest to build-aux
This commit is contained in:
2
.github/workflows/flatpak-builder.yml
vendored
2
.github/workflows/flatpak-builder.yml
vendored
@@ -18,4 +18,4 @@ jobs:
|
|||||||
uses: flatpak/flatpak-github-actions/flatpak-builder@v6.1
|
uses: flatpak/flatpak-github-actions/flatpak-builder@v6.1
|
||||||
with:
|
with:
|
||||||
bundle: io.github.flattool.Warehouse.flatpak
|
bundle: io.github.flattool.Warehouse.flatpak
|
||||||
manifest-path: io.github.flattool.Warehouse.json
|
manifest-path: build-aux/io.github.flattool.Warehouse.json
|
||||||
|
|||||||
57
build-aux/io.github.flattool.Warehouse.json
Normal file
57
build-aux/io.github.flattool.Warehouse.json
Normal 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" : ".."
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
@@ -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": "."
|
|
||||||
}
|
|
||||||
]
|
|
||||||
}
|
|
||||||
]
|
|
||||||
}
|
|
||||||
Reference in New Issue
Block a user