From 4ec9726b922fc6407fe3d630095b7d39d6c42de5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Garc=C3=ADa=20Moreno?= Date: Tue, 14 Nov 2017 15:03:51 +0100 Subject: [PATCH] Meson build system for flatpak --- flatpak/org.gnome.Fractal.json | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/flatpak/org.gnome.Fractal.json b/flatpak/org.gnome.Fractal.json index cc3aca53..e77bbed7 100644 --- a/flatpak/org.gnome.Fractal.json +++ b/flatpak/org.gnome.Fractal.json @@ -14,6 +14,8 @@ "--talk-name=org.freedesktop.Notifications" ], "build-options" : { + "append-path": "/usr/lib/sdk/rust-stable/bin", + "build-args": [ "--share=network" ], "env": { "CARGO_HOME": "/run/build/Fractal/cargo" } @@ -21,10 +23,7 @@ "modules": [ { "name": "Fractal", - "buildsystem": "simple", - "build-commands": [ - "source /usr/lib/sdk/rust-stable/enable.sh && ./configure --prefix=/app && make && make install" - ], + "buildsystem": "meson", "sources": [ { "type": "git",