From d3071acad2aa59a4e3efb9c297f2cd26c97c1d78 Mon Sep 17 00:00:00 2001 From: Ilya Fedin Date: Fri, 4 Nov 2022 14:02:52 +0400 Subject: [PATCH] Build newer glibmm in snap --- snap/snapcraft.yaml | 28 ++++++++++++++++++++++++++-- 1 file changed, 26 insertions(+), 2 deletions(-) diff --git a/snap/snapcraft.yaml b/snap/snapcraft.yaml index bfa50c7388..586fd1cda1 100644 --- a/snap/snapcraft.yaml +++ b/snap/snapcraft.yaml @@ -95,7 +95,6 @@ parts: - libasound2-dev - libavif-dev - libglib2.0-dev - - libglibmm-2.4-dev - libheif-dev - libopus-dev - libpulse-dev @@ -109,7 +108,6 @@ parts: - libasound2 - libavif13 - libglib2.0-0 - - libglibmm-2.4-1v5 - libheif1 - libopus0 - libpulse0 @@ -157,6 +155,7 @@ parts: - desktop-qt - ffmpeg - libjxl + - glibmm - mozjpeg - openal - openssl @@ -218,6 +217,31 @@ parts: after: - mozjpeg + glibmm: + source: https://github.com/GNOME/glibmm.git + source-depth: 1 + source-tag: 2.72.1 + plugin: meson + build-packages: + - meson + - ninja-build + - libglib2.0-dev + - libxml-parser-perl + stage-packages: + - libglib2.0-0 + meson-parameters: + - --buildtype=release + - --prefix=/usr + - -Dbuild-documentation=false + - -Dbuild-examples=false + - -Dsigc++-3.0:build-documentation=false + - -Dsigc++-3.0:build-examples=false + - -Dmm-common:use-network=true + prime: + - -./usr/include + - -./usr/lib/$CRAFT_ARCH_TRIPLET/pkgconfig + - -./usr/lib/$CRAFT_ARCH_TRIPLET/*.so + libjxl: source: https://github.com/libjxl/libjxl.git source-depth: 1