blob: 49df690f0ada3e5d6469cc85f12c743b202f69bd [file] [log] [blame]
SUMMARY = "SM: Session Management library"
DESCRIPTION = "The Session Management Library (SMlib) is a low-level \"C\" \
language interface to XSMP. The purpose of the X Session Management \
Protocol (XSMP) is to provide a uniform mechanism for users to save and \
restore their sessions. A session is a group of clients, each of which \
has a particular state."
require xorg-lib-common.inc
LICENSE = "MIT-style"
LIC_FILES_CHKSUM = "file://COPYING;md5=c0fb37f44e02bdbde80546024400728d"
DEPENDS += "libice xorgproto xtrans"
# libSM can work without libuuid, we explicitly disable it to break the following circular dependency
# when DISTRO_FEATURES contains 'systemd' and 'x11'.
# systemd -> dbus -> libsm -> util-linux -> systemd
EXTRA_OECONF += "--without-libuuid"
PE = "1"
XORG_PN = "libSM"
SRC_URI[md5sum] = "87c7fad1c1813517979184c8ccd76628"
SRC_URI[sha256sum] = "2d264499dcb05f56438dee12a1b4b71d76736ce7ba7aa6efbf15ebb113769cbb"
PACKAGECONFIG ??= "${@bb.utils.filter('DISTRO_FEATURES', 'ipv6', d)}"
PACKAGECONFIG[ipv6] = "--enable-ipv6,--disable-ipv6,"
BBCLASSEXTEND = "native nativesdk"