community/mutter: fix .pc file for apk

This commit is contained in:
psykose 2022-10-26 22:28:02 +00:00
parent a3977bfdcc
commit dcdb90ed57
2 changed files with 17 additions and 1 deletions

View File

@ -2,7 +2,7 @@
# Maintainer: Rasmus Thomsen <oss@cogitri.dev>
pkgname=mutter
pkgver=43.0
pkgrel=0
pkgrel=1
pkgdesc="clutter-based window manager and compositor"
url="https://wiki.gnome.org/Projects/Mutter/"
arch="all"
@ -67,6 +67,7 @@ options="!check" # Can't be run with release builds
subpackages="$pkgname-dbg $pkgname-dev $pkgname-doc $pkgname-lang $pkgname-schemas::noarch"
source="https://download.gnome.org/sources/mutter/${pkgver%.*}/mutter-$pkgver.tar.xz
fixudev-req.patch
pcversion.patch
"
build() {
@ -99,4 +100,5 @@ package() {
sha512sums="
e7169dcefbc5f1d47581981ceec4d6ac47d75ed9d4ef0b18adfe1dc632645217c4546fdf004544902642b3e0dbb48f6025ab9a5ad9670765ccd972c6409e8611 mutter-43.0.tar.xz
3e5dd59f2f2fd80edde13f64d70d52a023dec303fd8dbfa3ded0d77faf7643179f2ad74d4acd3450decb67deaf6ac85a7af5146fa96f33917b4363f884413af9 fixudev-req.patch
bb46a4692aaff0c9e6092d1ba80d19b336035e983f0f20a437a586757bc2530860f50fbd46b09f73e88f0dd80ea7188d1df467b8f762918717785e618b6e9c4b pcversion.patch
"

View File

@ -0,0 +1,14 @@
apk-tools 2.12.10 fails with this in a .pc depends file
diff --git a/meson.build b/meson.build
index 3550496..15b9e7d 100644
--- a/meson.build
+++ b/meson.build
@@ -25,7 +25,7 @@ uprof_req = '>= 0.3'
pango_req = '>= 1.46.0'
cairo_req = '>= 1.10.0'
pangocairo_req = '>= 1.20'
-gsettings_desktop_schemas_req = '>= 40.alpha'
+gsettings_desktop_schemas_req = '>= 40'
json_glib_req = '>= 0.12.0'
xcomposite_req = '>= 0.4'
xkbcommon_req = '>= 0.4.3'