Files
tqma6-yocto-mirror/sources/poky/meta/recipes-graphics/xorg-xserver/xserver-xf86-config_0.1.bb

28 lines
732 B
BlitzBasic
Raw Normal View History

SUMMARY = "X.Org X server configuration file"
HOMEPAGE = "http://www.x.org"
SECTION = "x11/base"
LICENSE = "MIT"
LIC_FILES_CHKSUM = "file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420"
SRC_URI = "file://xorg.conf"
SRC_URI:append:qemuall = " file://noblank.conf"
S = "${WORKDIR}"
CONFFILES:${PN} = "${sysconfdir}/X11/xorg.conf"
PACKAGE_ARCH = "${MACHINE_ARCH}"
ALLOW_EMPTY:${PN} = "1"
do_install () {
if test -s ${WORKDIR}/xorg.conf; then
install -d ${D}/${sysconfdir}/X11
install -m 0644 ${WORKDIR}/xorg.conf ${D}/${sysconfdir}/X11/
fi
if test -s ${S}/noblank.conf; then
install -d ${D}/${sysconfdir}/X11/xorg.conf.d
install -m 0644 ${S}/noblank.conf ${D}/${sysconfdir}/X11/xorg.conf.d/
fi
}