diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 4807573..352c1f4 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -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: @@ -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 }} diff --git a/flatpak/io.github.bytezz.IPLookup.Devel.json b/flatpak/io.github.bytezz.IPLookup.Devel.json new file mode 100644 index 0000000..3e670a7 --- /dev/null +++ b/flatpak/io.github.bytezz.IPLookup.Devel.json @@ -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" : "../" + } + ] + } + ] +} diff --git a/io.github.bytezz.IPLookup.json b/flatpak/io.github.bytezz.IPLookup.json similarity index 91% rename from io.github.bytezz.IPLookup.json rename to flatpak/io.github.bytezz.IPLookup.json index 3e59999..d69f276 100644 --- a/io.github.bytezz.IPLookup.json +++ b/flatpak/io.github.bytezz.IPLookup.json @@ -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" : [ @@ -30,7 +30,7 @@ "sources" : [ { "type" : "dir", - "path" : "./" + "path" : "../" } ] }