From d0273c57ec7711f5f186e29c2c97d5ab430ebabf Mon Sep 17 00:00:00 2001 From: Jakob Meier Date: Thu, 29 Feb 2024 18:48:32 +0100 Subject: [PATCH] build .json manifest from git add additional .yml manifest with multiple examples of sources --- flatpak/icu.ccw.Melon.json | 7 +++--- flatpak/icu.ccw.Melon.yml | 46 ++++++++++++++++++++++++++++++++++++++ 2 files changed, 50 insertions(+), 3 deletions(-) create mode 100644 flatpak/icu.ccw.Melon.yml diff --git a/flatpak/icu.ccw.Melon.json b/flatpak/icu.ccw.Melon.json index 0b6d475..fdf1be3 100644 --- a/flatpak/icu.ccw.Melon.json +++ b/flatpak/icu.ccw.Melon.json @@ -33,9 +33,10 @@ "buildsystem" : "meson", "sources" : [ { - "type": "dir", - "path": ".." - } + "type": "git", + "url": "https://codeberg.org/comcloudway/melon", + "branch": "main" + } ] } ] diff --git a/flatpak/icu.ccw.Melon.yml b/flatpak/icu.ccw.Melon.yml new file mode 100644 index 0000000..4de5575 --- /dev/null +++ b/flatpak/icu.ccw.Melon.yml @@ -0,0 +1,46 @@ +--- +app-id: icu.ccw.melon +runtime: org.gnome.Platform +runtime-version: '45' +sdk: org.gnome.Sdk +command: melon +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: + # dependencies + - python3-beautifulsoup4.json + - python3-lxml.json + - python3-requests.json + - python3-unidecode.json + # melon itself + - name: melon + builddir: true + buildsystem: meson + sources: + # uncomment to build local version instead + # - type: dir + # path: ".." + # + # uncomment to build a specific version + # - type: git + # url: https://codeberg.org/comcloudway/melon + # tag: "0.1.2" + # + # build latest main branch + - type: git + url: https://codeberg.org/comcloudway/melon + branch: main -- 2.38.5