1*4882a593SmuzhiyunSUMMARY = "SM: Session Management library" 2*4882a593Smuzhiyun 3*4882a593SmuzhiyunDESCRIPTION = "The Session Management Library (SMlib) is a low-level \"C\" \ 4*4882a593Smuzhiyunlanguage interface to XSMP. The purpose of the X Session Management \ 5*4882a593SmuzhiyunProtocol (XSMP) is to provide a uniform mechanism for users to save and \ 6*4882a593Smuzhiyunrestore their sessions. A session is a group of clients, each of which \ 7*4882a593Smuzhiyunhas a particular state." 8*4882a593Smuzhiyun 9*4882a593Smuzhiyunrequire xorg-lib-common.inc 10*4882a593Smuzhiyun 11*4882a593SmuzhiyunLICENSE = "MIT" 12*4882a593SmuzhiyunLIC_FILES_CHKSUM = "file://COPYING;md5=c0fb37f44e02bdbde80546024400728d" 13*4882a593Smuzhiyun 14*4882a593SmuzhiyunDEPENDS += "libice xorgproto xtrans" 15*4882a593Smuzhiyun 16*4882a593Smuzhiyun# libSM can work without libuuid, we explicitly disable it to break the following circular dependency 17*4882a593Smuzhiyun# when DISTRO_FEATURES contains 'systemd' and 'x11'. 18*4882a593Smuzhiyun# systemd -> dbus -> libsm -> util-linux -> systemd 19*4882a593SmuzhiyunEXTRA_OECONF += "--without-libuuid" 20*4882a593Smuzhiyun 21*4882a593SmuzhiyunPE = "1" 22*4882a593Smuzhiyun 23*4882a593SmuzhiyunXORG_PN = "libSM" 24*4882a593Smuzhiyun 25*4882a593SmuzhiyunSRC_URI[md5sum] = "87c7fad1c1813517979184c8ccd76628" 26*4882a593SmuzhiyunSRC_URI[sha256sum] = "2d264499dcb05f56438dee12a1b4b71d76736ce7ba7aa6efbf15ebb113769cbb" 27*4882a593Smuzhiyun 28*4882a593SmuzhiyunPACKAGECONFIG ??= "${@bb.utils.filter('DISTRO_FEATURES', 'ipv6', d)}" 29*4882a593SmuzhiyunPACKAGECONFIG[ipv6] = "--enable-ipv6,--disable-ipv6," 30*4882a593Smuzhiyun 31*4882a593SmuzhiyunBBCLASSEXTEND = "native nativesdk" 32