From 2617be61e80a136d3afbc796c2baab92aafb538e Mon Sep 17 00:00:00 2001 From: ashuntu Date: Thu, 31 Oct 2024 12:38:57 +0100 Subject: [PATCH] feat: Add 32-bit GameMode libraries --- snap/snapcraft.yaml | 31 ++++++++++++++++++++++++++----- 1 file changed, 26 insertions(+), 5 deletions(-) diff --git a/snap/snapcraft.yaml b/snap/snapcraft.yaml index 074f314..1d0c539 100644 --- a/snap/snapcraft.yaml +++ b/snap/snapcraft.yaml @@ -312,21 +312,42 @@ parts: source: https://github.com/FeralInteractive/gamemode.git source-tag: "1.8.2" plugin: meson + build-environment: + - CC: gcc -m32 + - CXX: g++ -m32 + - PKG_CONFIG_PATH: /usr/lib/i386-linux-gnu/pkgconfig:/usr/lib/x86_64-linux-gnu/pkgconfig:/usr/lib/pkgconfig organize: snap/steam/current/usr: usr meson-parameters: - --prefix=/usr + - --libdir=lib/i386-linux-gnu build-packages: - - libsystemd-dev + - libsystemd-dev:i386 + - libdbus-1-dev:i386 - pkg-config - - libdbus-1-dev - stage-packages: - - libinih1 - prime: + stage: - usr/bin/gamemode* - usr/lib/*/libgamemode*.so.* - usr/lib/*/libinih.so.* + gamemode64: + after: [meson-deps, gamemode] + source: https://github.com/FeralInteractive/gamemode.git + source-tag: "1.8.2" + plugin: meson + organize: + snap/steam/current/usr: usr + meson-parameters: + - --prefix=/usr + - --libdir=lib/x86_64-linux-gnu + build-packages: + - libsystemd-dev + - libdbus-1-dev + - pkg-config + stage: + - usr/lib/*/libgamemode*.so.* + - usr/lib/*/libinih.so.* + debug-tools: plugin: nil stage-packages: