From eefb54746ad0b44d7fc4a3a7b8fcbba464cd2877 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marcus=20Gren=C3=A4ngen?= Date: Wed, 10 Jul 2024 22:53:19 +0200 Subject: [PATCH] Add flatpak build scripts --- .gitignore | 3 +++ packaging/flatpak/org.flatpak.tail-tray.yml | 20 ++++++++++++++++++++ 2 files changed, 23 insertions(+) create mode 100644 packaging/flatpak/org.flatpak.tail-tray.yml diff --git a/.gitignore b/.gitignore index e1ca136..68e1666 100644 --- a/.gitignore +++ b/.gitignore @@ -14,3 +14,6 @@ _deps build/ cmake-build-debug/ cmake-build-release/ + +packaging/ +.flatpak-builder/ diff --git a/packaging/flatpak/org.flatpak.tail-tray.yml b/packaging/flatpak/org.flatpak.tail-tray.yml new file mode 100644 index 0000000..1fdeab1 --- /dev/null +++ b/packaging/flatpak/org.flatpak.tail-tray.yml @@ -0,0 +1,20 @@ +id: org.flatpak.tail-tray +runtime: org.kde.Platform +runtime-version: '6.7' +sdk: org.kde.Sdk +command: tail-tray +finish-args: + - --share=ipc + - --socket=x11 + - --filesystem=host + - --socket=fallback-x11 + - --socket=wayland + - --device=dri +modules: + - name: tail-tray + buildsystem: cmake-ninja + config-opts: + - -DCMAKE_BUILD_TYPE=RelWithDebInfo + sources: + - type: dir + path: ../../