2020-07-08 10:42:25 -04:00
|
|
|
SUMMARY = "Window and compositing manager based on Clutter"
|
2022-05-28 11:20:07 -04:00
|
|
|
LICENSE = "GPL-2.0-only"
|
2020-07-08 10:42:25 -04:00
|
|
|
LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263"
|
|
|
|
|
|
|
|
DEPENDS = " \
|
|
|
|
xserver-xorg-cvt-native \
|
|
|
|
libsm \
|
|
|
|
virtual/libx11 \
|
|
|
|
libxi \
|
|
|
|
glib-2.0 \
|
|
|
|
libwacom \
|
|
|
|
xcomposite \
|
|
|
|
libinput \
|
2023-09-29 12:46:16 -04:00
|
|
|
libei \
|
2020-07-08 10:42:25 -04:00
|
|
|
libcanberra \
|
|
|
|
mesa \
|
|
|
|
upower \
|
2022-05-28 11:20:07 -04:00
|
|
|
xwayland \
|
2020-07-08 10:42:25 -04:00
|
|
|
gtk+3 \
|
|
|
|
gdk-pixbuf \
|
|
|
|
cairo \
|
|
|
|
pango \
|
|
|
|
gsettings-desktop-schemas \
|
|
|
|
json-glib \
|
|
|
|
gnome-desktop \
|
|
|
|
gnome-settings-daemon \
|
|
|
|
libxtst \
|
|
|
|
libxkbfile \
|
2023-09-29 12:46:16 -04:00
|
|
|
startup-notification \
|
2020-07-08 10:42:25 -04:00
|
|
|
xinerama \
|
|
|
|
graphene \
|
|
|
|
graphene-native \
|
|
|
|
wayland-protocols \
|
|
|
|
wayland-native \
|
|
|
|
zenity \
|
|
|
|
gobject-introspection \
|
|
|
|
gobject-introspection-native \
|
|
|
|
"
|
|
|
|
|
2022-05-28 11:20:07 -04:00
|
|
|
RDEPENDS:${PN} += " xwayland zenity"
|
2020-07-08 10:42:25 -04:00
|
|
|
|
2023-09-29 12:46:16 -04:00
|
|
|
SRCREV = "d195a063858494cf9c222c5928b1ca1d5eec8624"
|
2020-07-08 10:42:25 -04:00
|
|
|
|
2021-12-16 10:19:43 -05:00
|
|
|
EXTERNAL_TREE_VAR="CITADEL_MUTTER_PATH"
|
2023-09-29 12:46:16 -04:00
|
|
|
GIT_URI = "git://github.com/brl/mutter.git;branch=citadel-45.0;protocol=https"
|
2021-05-05 08:45:55 -04:00
|
|
|
|
2021-12-16 10:19:43 -05:00
|
|
|
GNOMEBASEBUILDCLASS = "meson"
|
2021-05-05 08:45:55 -04:00
|
|
|
|
2021-12-16 10:19:43 -05:00
|
|
|
inherit gnomebase gsettings gobject-introspection gettext upstream-version-is-even features_check external-tree
|
2020-07-08 10:42:25 -04:00
|
|
|
|
|
|
|
# x11 is still mandatory - see meson.build
|
|
|
|
REQUIRED_DISTRO_FEATURES = "x11 systemd"
|
|
|
|
|
|
|
|
# systemd can be replaced by libelogind (not available atow - make systemd
|
|
|
|
# mandatory distro feature)
|
|
|
|
LOGIND ?= "systemd"
|
|
|
|
|
|
|
|
|
|
|
|
EXTRA_OEMESON += " \
|
|
|
|
-Dremote_desktop=false \
|
2021-05-05 08:45:55 -04:00
|
|
|
-Dtests=false \
|
2020-07-08 10:42:25 -04:00
|
|
|
-Dprofiler=false \
|
|
|
|
-Dcogl_tests=false \
|
|
|
|
-Dlibwacom=true \
|
|
|
|
-Dxwayland_initfd=disabled \
|
|
|
|
-Dxwayland_path=/usr/bin/Xwayland \
|
|
|
|
-Dgles2_libname=libGLESv2.so.2 \
|
|
|
|
"
|
|
|
|
|
2023-09-29 12:46:16 -04:00
|
|
|
MUTTER_API_NAME = "mutter-13"
|
2020-07-08 10:42:25 -04:00
|
|
|
|
2022-05-28 11:20:07 -04:00
|
|
|
do_install:append() {
|
2020-07-08 10:42:25 -04:00
|
|
|
# Add gir links in standard paths. That makes dependents life much easier
|
|
|
|
# to find them
|
|
|
|
install -d ${D}${datadir}/gir-1.0
|
|
|
|
for gir_full in `find ${D}${libdir}/${MUTTER_API_NAME} -name '*.gir'`; do
|
|
|
|
gir=`basename "$gir_full"`
|
|
|
|
ln -sr "${D}${libdir}/${MUTTER_API_NAME}/$gir" "${D}${datadir}/gir-1.0/$gir"
|
|
|
|
done
|
|
|
|
}
|
|
|
|
|
|
|
|
PACKAGES =+ "${PN}-tests"
|
|
|
|
|
2022-05-28 11:20:07 -04:00
|
|
|
FILES:${PN} += " \
|
2020-07-08 10:42:25 -04:00
|
|
|
${datadir}/gnome-control-center \
|
|
|
|
${libdir}/${MUTTER_API_NAME}/lib*${SOLIBS} \
|
|
|
|
${libdir}/${MUTTER_API_NAME}/*.typelib \
|
|
|
|
${libdir}/${MUTTER_API_NAME}/plugins \
|
|
|
|
"
|
|
|
|
|
2022-05-28 11:20:07 -04:00
|
|
|
FILES:${PN}-tests += " \
|
2020-07-08 10:42:25 -04:00
|
|
|
${datadir}/installed-tests \
|
|
|
|
${datadir}/${MUTTER_API_NAME}/tests \
|
|
|
|
${libexecdir}/installed-tests/${MUTTER_API_NAME} \
|
|
|
|
"
|
|
|
|
|
2022-05-28 11:20:07 -04:00
|
|
|
FILES:${PN}-dev += " \
|
2020-07-08 10:42:25 -04:00
|
|
|
${libdir}/${MUTTER_API_NAME}/*.gir \
|
|
|
|
${libdir}/${MUTTER_API_NAME}/lib*.so \
|
|
|
|
"
|
|
|
|
|
|
|
|
|