Skip to content

Commit

Permalink
Reorganize flatpak recipes
Browse files Browse the repository at this point in the history
Move flatpak json to flatpak/ folder
Create flatpak Devel json
Edit github Action CI
  • Loading branch information
Bytezz committed Oct 30, 2023
1 parent 56abd9a commit 4f761e3
Show file tree
Hide file tree
Showing 3 changed files with 42 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
name: Flatpak
runs-on: ubuntu-latest
container:
image: bilelmoussaoui/flatpak-github-actions:gnome-44
image: bilelmoussaoui/flatpak-github-actions:gnome-45
options: --privileged
strategy:
matrix:
Expand All @@ -33,6 +33,6 @@ jobs:
- uses: flatpak/flatpak-github-actions/flatpak-builder@v5
with:
bundle: iplookup.flatpak
manifest-path: io.github.bytezz.IPLookup.json
manifest-path: flatpak/io.github.bytezz.IPLookup.json
arch: ${{ matrix.arch }}
cache-key: flatpak-builder-${{ github.sha }}
38 changes: 38 additions & 0 deletions flatpak/io.github.bytezz.IPLookup.Devel.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
{
"app-id" : "io.github.bytezz.IPLookup",
"runtime" : "org.gnome.Platform",
"runtime-version" : "master",
"sdk" : "org.gnome.Sdk",
"command" : "iplookup",
"finish-args" : [
"--share=network",
"--share=ipc",
"--socket=fallback-x11",
"--device=dri",
"--socket=wayland"
],
"cleanup" : [
"/include",
"/lib/pkgconfig",
"/man",
"/share/doc",
"/share/gtk-doc",
"/share/man",
"/share/pkgconfig",
"*.la",
"*.a"
],
"modules" : [
{
"name" : "iplookup",
"builddir" : true,
"buildsystem" : "meson",
"sources" : [
{
"type" : "dir",
"path" : "../"
}
]
}
]
}
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"app-id" : "io.github.bytezz.IPLookup",
"runtime" : "org.gnome.Platform",
"runtime-version" : "master",
"runtime-version" : "45",
"sdk" : "org.gnome.Sdk",
"command" : "iplookup",
"finish-args" : [
Expand Down Expand Up @@ -30,7 +30,7 @@
"sources" : [
{
"type" : "dir",
"path" : "./"
"path" : "../"
}
]
}
Expand Down

0 comments on commit 4f761e3

Please sign in to comment.