blob: ab030723c624690f4031d5b957f2c29adba1f3f4 [file] [log] [blame]
Andrew Geissler517393d2023-01-13 08:55:19 -06001SUMMARY = "SM: Session Management library"
2
3DESCRIPTION = "The Session Management Library (SMlib) is a low-level \"C\" \
4language interface to XSMP. The purpose of the X Session Management \
5Protocol (XSMP) is to provide a uniform mechanism for users to save and \
6restore their sessions. A session is a group of clients, each of which \
7has a particular state."
8
9require xorg-lib-common.inc
10
11LICENSE = "MIT"
12LIC_FILES_CHKSUM = "file://COPYING;md5=c0fb37f44e02bdbde80546024400728d"
13
14DEPENDS += "libice xorgproto xtrans"
15
16# libSM can work without libuuid, we explicitly disable it to break the following circular dependency
17# when DISTRO_FEATURES contains 'systemd' and 'x11'.
18# systemd -> dbus -> libsm -> util-linux -> systemd
19EXTRA_OECONF += "--without-libuuid"
20
21PE = "1"
22
23XORG_PN = "libSM"
24
25SRC_URI[sha256sum] = "fdcbe51e4d1276b1183da77a8a4e74a137ca203e0bcfb20972dd5f3347e97b84"
26
27PACKAGECONFIG ??= "${@bb.utils.filter('DISTRO_FEATURES', 'ipv6', d)}"
28PACKAGECONFIG[ipv6] = "--enable-ipv6,--disable-ipv6,"
29
30BBCLASSEXTEND = "native nativesdk"