2022-09-04 16:07:01 +00:00
|
|
|
# Forked from Alpine to apply mobile adaptivity patches
|
|
|
|
|
|
|
|
pkgname=mutter-mobile
|
2023-04-05 16:47:54 +00:00
|
|
|
pkgver=44_git20230405
|
2023-05-26 07:04:08 +00:00
|
|
|
pkgrel=1
|
2022-09-04 16:07:01 +00:00
|
|
|
pkgdesc="clutter-based window manager and compositor"
|
|
|
|
url="https://wiki.gnome.org/Projects/Mutter/"
|
2022-10-26 18:25:26 +00:00
|
|
|
# ricsv64: doesn't build currently:
|
|
|
|
# https://builds.sr.ht/~postmarketos/job/869829#task-pmbootstrap_build-1224
|
|
|
|
arch="all !riscv64"
|
2022-09-04 16:07:01 +00:00
|
|
|
license="GPL-2.0-or-later"
|
|
|
|
depends="
|
|
|
|
gnome-settings-daemon
|
|
|
|
gsettings-desktop-schemas
|
2022-11-27 16:38:40 +00:00
|
|
|
mutter-mobile-schemas
|
2022-09-04 16:07:01 +00:00
|
|
|
xkeyboard-config
|
|
|
|
xwayland
|
|
|
|
"
|
|
|
|
makedepends="
|
|
|
|
at-spi2-core-dev
|
|
|
|
cairo-dev
|
|
|
|
dbus-dev
|
|
|
|
elogind-dev
|
|
|
|
eudev-dev
|
|
|
|
fribidi-dev
|
|
|
|
gdk-pixbuf-dev
|
|
|
|
glib-dev
|
|
|
|
gnome-desktop-dev
|
|
|
|
gnome-settings-daemon-dev
|
|
|
|
gobject-introspection-dev
|
|
|
|
graphene-dev
|
|
|
|
gtk+3.0-dev
|
|
|
|
json-glib-dev
|
|
|
|
libcanberra-dev
|
|
|
|
libdrm-dev
|
|
|
|
libgudev-dev
|
|
|
|
libice-dev
|
|
|
|
libinput-dev
|
|
|
|
libsm-dev
|
|
|
|
libwacom-dev
|
|
|
|
libx11-dev
|
|
|
|
libxau-dev
|
|
|
|
libxcb-dev
|
|
|
|
libxcomposite-dev
|
|
|
|
libxcursor-dev
|
|
|
|
libxdamage-dev
|
|
|
|
libxext-dev
|
|
|
|
libxfixes-dev
|
|
|
|
libxi-dev
|
|
|
|
libxinerama-dev
|
|
|
|
libxkbcommon-dev
|
|
|
|
libxkbfile-dev
|
|
|
|
libxrandr-dev
|
|
|
|
libxrender-dev
|
|
|
|
libxtst-dev
|
|
|
|
mesa-dev
|
|
|
|
meson
|
|
|
|
pango-dev
|
|
|
|
pipewire-dev
|
|
|
|
startup-notification-dev
|
|
|
|
wayland-dev
|
|
|
|
wayland-protocols
|
|
|
|
xorg-server
|
|
|
|
"
|
|
|
|
options="!check" # Can't be run with release builds
|
|
|
|
provides="mutter=$pkgver-r$pkgrel"
|
|
|
|
subpackages="$pkgname-dbg $pkgname-dev $pkgname-doc $pkgname-lang $pkgname-schemas::noarch"
|
2023-04-05 16:47:54 +00:00
|
|
|
_commit="780aadd4ed77ca6a8312acb3ab13decdb5b6d569"
|
2022-09-04 16:07:01 +00:00
|
|
|
source="mutter-$_commit.tar.gz::https://gitlab.gnome.org/verdre/mutter/-/archive/$_commit/mutter-$_commit.tar.gz
|
2022-11-17 18:14:53 +00:00
|
|
|
fixudev-req.patch
|
|
|
|
pcversion.patch
|
|
|
|
"
|
2022-09-04 16:07:01 +00:00
|
|
|
builddir="$srcdir/mutter-$_commit"
|
|
|
|
|
2023-05-26 07:04:08 +00:00
|
|
|
prepare() {
|
|
|
|
default_prepare
|
|
|
|
|
|
|
|
sed -i "s/libmutter_api_version = '.*'/libmutter_api_version = '99'/g" meson.build
|
|
|
|
}
|
|
|
|
|
2022-09-04 16:07:01 +00:00
|
|
|
build() {
|
|
|
|
abuild-meson \
|
|
|
|
-Degl_device=true \
|
|
|
|
-Dudev=true \
|
|
|
|
-Dnative_backend=true \
|
|
|
|
-Dintrospection=true \
|
|
|
|
-Dxwayland_path=/usr/bin/Xwayland \
|
|
|
|
-Dremote_desktop=true \
|
|
|
|
-Dprofiler=false \
|
|
|
|
-Dtests=false \
|
|
|
|
-Dinstalled_tests=false \
|
|
|
|
. output
|
|
|
|
meson compile ${JOBS:+-j ${JOBS}} -C output
|
|
|
|
}
|
|
|
|
|
|
|
|
schemas() {
|
|
|
|
pkgdesc="Mutter schemas related files"
|
|
|
|
provides="mutter-schemas=$pkgver-r$pkgrel"
|
|
|
|
depends=""
|
|
|
|
|
|
|
|
amove usr/share/glib-2.0/schemas
|
|
|
|
amove usr/share/GConf/gsettings
|
|
|
|
amove usr/share/gnome-control-center/keybindings
|
|
|
|
}
|
|
|
|
|
|
|
|
lang() {
|
|
|
|
default_lang
|
|
|
|
provides="mutter-lang=$pkgver-r$pkgrel"
|
|
|
|
}
|
|
|
|
|
|
|
|
package() {
|
|
|
|
DESTDIR="$pkgdir" meson install --no-rebuild -C output
|
|
|
|
}
|
|
|
|
|
|
|
|
sha512sums="
|
2023-04-05 16:47:54 +00:00
|
|
|
74f795fe187244c892eee97010c524e6b27651ed42e4cc68ff387e4ccbe65a6947a87eb7f633862996251f4aa023422e3e7088e70d8ecb8056dd9ff67d52131a mutter-780aadd4ed77ca6a8312acb3ab13decdb5b6d569.tar.gz
|
2022-09-04 16:07:01 +00:00
|
|
|
6f21171bbd0ad0fc67cbaf5fb1478b22b482a9ae33b9328cc51a5dd31bcf7d95cd41e6cbbac21d3d8801cc064a62a64ae38ed7d0501ab605b861058c32f3bc30 fixudev-req.patch
|
2022-11-17 18:14:53 +00:00
|
|
|
bb46a4692aaff0c9e6092d1ba80d19b336035e983f0f20a437a586757bc2530860f50fbd46b09f73e88f0dd80ea7188d1df467b8f762918717785e618b6e9c4b pcversion.patch
|
2022-09-04 16:07:01 +00:00
|
|
|
"
|