As this was recently applied upstream, apply to the forked package Link: https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/4850 Link: https://gitlab.alpinelinux.org/alpine/aports/-/commit/732334134c9677994d622eb90cef9facd0fe47d9 Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7909>
118 lines
2.9 KiB
Bash
118 lines
2.9 KiB
Bash
# Forked from Alpine to add systemd!
|
|
# Co-Maintainer: Pablo Correa Gomez <pabloyoyoista@postmarketos.org>
|
|
# Co-Maintainer: Achill Gilgenast <achill@achill.org>
|
|
maintainer="Newbyte <newbyte@postmarketos.org>"
|
|
pkgname=mutter
|
|
_pkgver=49.4
|
|
pkgver=9999$_pkgver
|
|
pkgrel=1
|
|
pkgdesc="clutter-based window manager and compositor"
|
|
url="https://gitlab.gnome.org/GNOME/mutter"
|
|
# armhf: pmb#2618
|
|
arch="all !armhf"
|
|
license="GPL-2.0-or-later"
|
|
depends="
|
|
gnome-settings-daemon
|
|
gsettings-desktop-schemas
|
|
mutter-schemas
|
|
xkeyboard-config
|
|
"
|
|
makedepends="
|
|
at-spi2-core-dev
|
|
cairo-dev
|
|
dbus-dev
|
|
fribidi-dev
|
|
gdk-pixbuf-dev
|
|
glib-dev
|
|
libglycin-dev
|
|
gnome-desktop-dev
|
|
gnome-settings-daemon-dev
|
|
gobject-introspection-dev
|
|
graphene-dev
|
|
gtk4.0-dev
|
|
json-glib-dev
|
|
lcms2-dev
|
|
libadwaita-dev
|
|
libcanberra-dev
|
|
libdisplay-info-dev
|
|
libdrm-dev
|
|
libei-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
|
|
py3-argcomplete
|
|
py3-docutils
|
|
startup-notification-dev
|
|
wayland-dev
|
|
wayland-protocols
|
|
xkeyboard-config-dev
|
|
xwayland-dev
|
|
|
|
systemd-dev
|
|
"
|
|
# TODO: crossdirect disabled due to armv7 crosscompile failure on x86_64, see
|
|
# https://gitlab.com/postmarketOS/pmaports/-/merge_requests/5115#note_1899890119
|
|
options="!check !pmb:crossdirect" # Can't be run with release builds
|
|
subpackages="$pkgname-dbg $pkgname-dev $pkgname-doc $pkgname-lang $pkgname-schemas::noarch $pkgname-udev"
|
|
source="https://download.gnome.org/sources/mutter/${_pkgver%%.*}/mutter-$_pkgver.tar.xz
|
|
fixudev-req.patch
|
|
pcversion.patch
|
|
fix-crtc-plane-switch.patch
|
|
"
|
|
builddir="$srcdir/$pkgname-$_pkgver"
|
|
|
|
build() {
|
|
abuild-meson \
|
|
-Db_lto=true \
|
|
-Dudev=true \
|
|
-Dnative_backend=true \
|
|
-Dintrospection=true \
|
|
-Dremote_desktop=true \
|
|
-Dprofiler=false \
|
|
-Ddevkit=enabled \
|
|
-Dtests=disabled \
|
|
. output
|
|
meson compile -C output
|
|
}
|
|
|
|
schemas() {
|
|
pkgdesc="Mutter schemas related files"
|
|
depends=""
|
|
|
|
amove usr/share/glib-2.0/schemas
|
|
amove usr/share/GConf/gsettings
|
|
amove usr/share/gnome-control-center/keybindings
|
|
}
|
|
|
|
package() {
|
|
DESTDIR="$pkgdir" meson install --no-rebuild -C output
|
|
}
|
|
|
|
sha512sums="
|
|
d4cc6f9bd5367644a121bec23cfee30aa736e692cf5bdaba638635817d34f00eed6fa31e9dcbffae0c58bf7c0483d58a2c595e210071646ce361fb86650cd301 mutter-49.4.tar.xz
|
|
60eb075a88ca301470130d17371c1410220be0c7d5a929f6b528ec838a1133ebccf46d29f448060043e94c2edf4615ae431927911bede1972ac37f04ff9f29b4 fixudev-req.patch
|
|
52ae70a818ab1bbeeeb1259405c964baf48cd793385fae9200b57b7160cb8094041b2c2336fc57349e562aa142d631c5668a2d0a4dc32f6a6854c0ea2bb0d2c0 pcversion.patch
|
|
a476f55b7b5615607fec8a339cb5c34f19d714e188eda7adfd5fd068f03504e3bb4ce4dbde76691a08cbdef90d1f16b1bd1c63460c3db25cff73d0d19cd2e59b fix-crtc-plane-switch.patch
|
|
"
|