From 997243f6f78a37a5f2c9b066d7b8650fc9684f2e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pablo=20Correa=20G=C3=B3mez?= Date: Fri, 26 May 2023 09:04:08 +0200 Subject: [PATCH] temp/mutter-mobile: force update of libmutter_api_version (MR 4119) The forked version includes some new API, but the maintainer wants to have things as-close-as-possible to upstream. Since APK mostly keeps track of libraries versions, having the same API version as upstream (there's no stable ABI for mutter), makes it possible for APK to confuse with non-mobile mutter. By having an unrealistic API version, we make sure this does not happen to us. Fixes #2127 --- temp/mutter-mobile/APKBUILD | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/temp/mutter-mobile/APKBUILD b/temp/mutter-mobile/APKBUILD index 1db931f73..3a48b7f26 100644 --- a/temp/mutter-mobile/APKBUILD +++ b/temp/mutter-mobile/APKBUILD @@ -2,7 +2,7 @@ pkgname=mutter-mobile pkgver=44_git20230405 -pkgrel=0 +pkgrel=1 pkgdesc="clutter-based window manager and compositor" url="https://wiki.gnome.org/Projects/Mutter/" # ricsv64: doesn't build currently: @@ -72,6 +72,12 @@ source="mutter-$_commit.tar.gz::https://gitlab.gnome.org/verdre/mutter/-/archive " builddir="$srcdir/mutter-$_commit" +prepare() { + default_prepare + + sed -i "s/libmutter_api_version = '.*'/libmutter_api_version = '99'/g" meson.build +} + build() { abuild-meson \ -Degl_device=true \