2020-07-08 10:42:25 -04:00
|
|
|
SUMMARY = "Window and compositing manager based on Clutter"
|
|
|
|
LICENSE = "GPLv2"
|
|
|
|
LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263"
|
|
|
|
|
|
|
|
DEPENDS = " \
|
|
|
|
xserver-xorg-cvt-native \
|
|
|
|
libsm \
|
|
|
|
virtual/libx11 \
|
|
|
|
libxi \
|
|
|
|
glib-2.0 \
|
|
|
|
libwacom \
|
|
|
|
xcomposite \
|
|
|
|
libinput \
|
|
|
|
libcanberra \
|
|
|
|
mesa \
|
|
|
|
upower \
|
|
|
|
xserver-xorg \
|
|
|
|
gtk+3 \
|
|
|
|
gdk-pixbuf \
|
|
|
|
cairo \
|
|
|
|
pango \
|
|
|
|
gsettings-desktop-schemas \
|
|
|
|
json-glib \
|
|
|
|
gnome-desktop \
|
|
|
|
gnome-settings-daemon \
|
|
|
|
libxtst \
|
|
|
|
libxkbfile \
|
|
|
|
xinerama \
|
|
|
|
graphene \
|
|
|
|
graphene-native \
|
|
|
|
wayland-protocols \
|
|
|
|
wayland-native \
|
|
|
|
zenity \
|
|
|
|
gobject-introspection \
|
|
|
|
gobject-introspection-native \
|
|
|
|
"
|
|
|
|
|
2020-10-30 14:55:28 -04:00
|
|
|
RDEPENDS_${PN} += " xserver-xorg-xwayland zenity"
|
2020-07-08 10:42:25 -04:00
|
|
|
|
|
|
|
GNOMEBASEBUILDCLASS = "meson"
|
|
|
|
|
2020-10-30 14:55:28 -04:00
|
|
|
inherit gnomebase gsettings gobject-introspection gettext upstream-version-is-even features_check
|
2020-07-08 10:42:25 -04:00
|
|
|
|
2021-05-05 08:45:55 -04:00
|
|
|
def gnome_verdir(v):
|
|
|
|
return oe.utils.trim_version(v, 1)
|
|
|
|
|
2021-10-04 08:38:09 -04:00
|
|
|
SRC_URI = "${GNOME_MIRROR}/${GNOMEBN}/${@gnome_verdir("${PV}")}/${GNOMEBN}-${PV}.tar.${GNOME_COMPRESS_TYPE};name=archive \
|
|
|
|
file://0001-Fix-libmutter_dep-in-meson.build-for-Citadel-builds.patch \
|
|
|
|
file://0001-Citadel-changes-to-Mutter.patch \
|
|
|
|
"
|
2021-05-05 08:45:55 -04:00
|
|
|
|
2021-11-29 19:16:51 -05:00
|
|
|
SRC_URI[archive.sha256sum] = "58e63fd0bc43f35134f21313aff4aebf92c829d6df4dc99a044a1e376691e3f3"
|
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 \
|
|
|
|
"
|
|
|
|
|
2021-10-06 15:27:34 -04:00
|
|
|
MUTTER_API_NAME = "mutter-9"
|
2020-07-08 10:42:25 -04:00
|
|
|
|
|
|
|
do_install_append() {
|
|
|
|
# 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"
|
|
|
|
|
|
|
|
FILES_${PN} += " \
|
|
|
|
${datadir}/gnome-control-center \
|
|
|
|
${libdir}/${MUTTER_API_NAME}/lib*${SOLIBS} \
|
|
|
|
${libdir}/${MUTTER_API_NAME}/*.typelib \
|
|
|
|
${libdir}/${MUTTER_API_NAME}/plugins \
|
|
|
|
"
|
|
|
|
|
|
|
|
FILES_${PN}-tests += " \
|
|
|
|
${datadir}/installed-tests \
|
|
|
|
${datadir}/${MUTTER_API_NAME}/tests \
|
|
|
|
${libexecdir}/installed-tests/${MUTTER_API_NAME} \
|
|
|
|
"
|
|
|
|
|
|
|
|
FILES_${PN}-dev += " \
|
|
|
|
${libdir}/${MUTTER_API_NAME}/*.gir \
|
|
|
|
${libdir}/${MUTTER_API_NAME}/lib*.so \
|
|
|
|
"
|
|
|
|
|
|
|
|
|