1SUMMARY = "X.Org X server configuration file" 2HOMEPAGE = "http://www.x.org" 3SECTION = "x11/base" 4LICENSE = "MIT" 5LIC_FILES_CHKSUM = "file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420" 6 7SRC_URI = "file://xorg.conf" 8SRC_URI:append:qemuall = " file://noblank.conf" 9 10S = "${WORKDIR}/sources" 11UNPACKDIR = "${S}" 12 13CONFFILES:${PN} = "${sysconfdir}/X11/xorg.conf" 14 15PACKAGE_ARCH = "${MACHINE_ARCH}" 16ALLOW_EMPTY:${PN} = "1" 17 18do_install () { 19 if test -s ${S}/xorg.conf; then 20 install -d ${D}/${sysconfdir}/X11 21 install -m 0644 ${S}/xorg.conf ${D}/${sysconfdir}/X11/ 22 fi 23 24 if test -s ${S}/noblank.conf; then 25 install -d ${D}/${sysconfdir}/X11/xorg.conf.d 26 install -m 0644 ${S}/noblank.conf ${D}/${sysconfdir}/X11/xorg.conf.d/ 27 fi 28} 29