xserver-xorg: Add PACKAGECONFIG for crypto libraries
Default to libcrypto (openssl) as before. (From OE-Core rev: 21c78275f4c805f63ee20ad7f8a18359094a8c09) Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
parent
34798fa0c5
commit
48575116da
|
@ -27,7 +27,7 @@ inherit distro_features_check
|
|||
REQUIRED_DISTRO_FEATURES = "x11"
|
||||
|
||||
PROTO_DEPS = "randrproto renderproto fixesproto damageproto xextproto xproto xf86dgaproto xf86miscproto xf86vidmodeproto compositeproto recordproto resourceproto videoproto scrnsaverproto xineramaproto fontsproto kbproto inputproto bigreqsproto xcmiscproto presentproto"
|
||||
LIB_DEPS = "pixman libxfont xtrans libxau libxext libxdmcp libdrm libxkbfile libpciaccess openssl libgcrypt"
|
||||
LIB_DEPS = "pixman libxfont xtrans libxau libxext libxdmcp libdrm libxkbfile libpciaccess"
|
||||
DEPENDS = "${PROTO_DEPS} ${LIB_DEPS} font-util"
|
||||
|
||||
# Split out some modules and extensions from the main package
|
||||
|
@ -117,10 +117,10 @@ EXTRA_OECONF += "--with-fop=no \
|
|||
--sysconfdir=/etc/X11 \
|
||||
--localstatedir=/var \
|
||||
--with-xkb-output=/var/lib/xkb \
|
||||
--with-sha1=libcrypto \
|
||||
"
|
||||
|
||||
PACKAGECONFIG ??= "dri2 udev ${@bb.utils.contains('DISTRO_FEATURES', 'opengl', 'dri glx', '', d)} \
|
||||
PACKAGECONFIG ??= "dri2 udev ${XORG_CRYPTO} \
|
||||
${@bb.utils.contains('DISTRO_FEATURES', 'opengl', 'dri glx', '', d)} \
|
||||
${@bb.utils.contains("DISTRO_FEATURES", "wayland", "xwayland", "", d)} \
|
||||
${@bb.utils.contains("DISTRO_FEATURES", "systemd", "systemd", "", d)} \
|
||||
"
|
||||
|
@ -139,6 +139,12 @@ PACKAGECONFIG[systemd] = "--with-systemd-daemon,--without-systemd-daemon,systemd
|
|||
PACKAGECONFIG[xinerama] = "--enable-xinerama,--disable-xinerama,xineramaproto"
|
||||
PACKAGECONFIG[xwayland] = "--enable-xwayland,--disable-xwayland,wayland libepoxy"
|
||||
|
||||
# Xorg requires a SHA1 implementation, pick one
|
||||
XORG_CRYPTO ??= "openssl"
|
||||
PACKAGECONFIG[openssl] = "--with-sha1=libcrypto,,openssl"
|
||||
PACKAGECONFIG[nettle] = "--with-sha1=libnettle,,nettle"
|
||||
PACKAGECONFIG[gcrypt] = "--with-sha1=libgcrypt,,libgcrypt"
|
||||
|
||||
do_install_append () {
|
||||
# Its assumed base-files creates this for us
|
||||
rmdir ${D}${localstatedir}/log/
|
||||
|
|
Loading…
Reference in New Issue