summaryrefslogtreecommitdiff
path: root/packages/xserver-common/xserver-common_1.22.bb
blob: 63a74496e7cfe3f0a448f149bc603e4f312fedcd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
DESCRIPTION = "Common X11 scripts and support files"
LICENSE = "GPL"
SECTION = "x11"
RDEPENDS_${PN} = "xmodmap xrandr xdpyinfo"
PR = "r10"

PACKAGE_ARCH = "all"

# we are using a gpe-style Makefile
inherit gpe

SRC_URI_append = " file://setDPI.sh "
SRC_URI_append_angstrom = " file://kdrive-1.4-fixes.patch;patch=1 \
                            file://xorg-fixes.patch;patch=1 \
			    file://gta-xorg-fixes.patch;patch=1 \
                            file://default.xmodmap \
                            file://98keymap-fixup "

do_install_append() {
	install -m 0755 "${WORKDIR}/setDPI.sh" "${D}/etc/X11/Xinit.d/50setdpi"
	install -m 0755 "${WORKDIR}/98keymap-fixup" "${D}/etc/X11/Xinit.d/"
}

do_install_append_angstrom() {
        install -m 0644 ${WORKDIR}/default.xmodmap ${D}/etc/X11/
}