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
This commit is contained in:
Pablo Correa Gómez 2023-05-26 09:04:08 +02:00 committed by Clayton Craft
parent bc0ff89fdc
commit 997243f6f7
No known key found for this signature in database
GPG key ID: 4A4CED6D7EDF950A

View file

@ -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 \