blob: 3f577bfa05a5c862a53ab0b530cd51e2d61c0009 [file] [log] [blame]
Patrick Williamsb48b7b42016-08-17 15:04:38 -05001SUMMARY = "Common X11 scripts and support files"
Andrew Geissler9aee5002022-03-30 16:27:02 +00002LICENSE = "GPL-2.0-only"
Patrick Williamsb48b7b42016-08-17 15:04:38 -05003LIC_FILES_CHKSUM = "file://COPYING;md5=751419260aa954499f7abaabaa882bbe"
4
Patrick Williamsb48b7b42016-08-17 15:04:38 -05005
6# we are using a gpe-style Makefile
Brad Bishop8410d612019-11-25 09:40:59 -05007inherit features_check gpe
Brad Bishop316dfdd2018-06-25 12:45:53 -04008
9REQUIRED_DISTRO_FEATURES = "x11"
Patrick Williamsb48b7b42016-08-17 15:04:38 -050010
11SRC_URI[md5sum] = "82f2f84cd96610e8f7b92c700cd31c14"
12SRC_URI[sha256sum] = "cd04c33418f776b1e13fcc7af3d6bd0c7cccd03fbabd7dbcd97f88166cc34210"
13
Patrick Williams213cb262021-08-07 19:21:33 -050014SRC_URI:append = " \
Patrick Williamsb48b7b42016-08-17 15:04:38 -050015 file://0001-COPYING-add-GPLv2-license-file.patch \
16 file://0002-add-setdpi-Xinit.d-script.patch \
Patrick Williamsb48b7b42016-08-17 15:04:38 -050017 file://0006-add-support-for-etc-X11-xserver-system.patch \
18 file://0007-use-own-functions-file-instead-etc-init.d-functions.patch \
19 file://0008-xserver-common-add-dpi-and-nocursor-params-for-gta01.patch \
20 file://0009-xserver-common-add-support-for-n900-alias-nokia_rx-5.patch \
21 file://0010-xserver-common-add-support-for-nexus-S-alias-herring.patch \
22 file://0011-xserver-common-add-support-for-nexus-one-alias-mahim.patch \
23 file://0012-xserver-common-add-support-for-gta04-alias-OpenPhoen.patch \
24 file://0013-xserver-common-add-support-for-tuna-alias-Galaxy-Nex.patch \
Patrick Williamsb48b7b42016-08-17 15:04:38 -050025 file://0015-xserver-common-disable-TCP-connections.patch \
Brad Bishop6e60e8b2018-02-01 10:27:11 -050026 file://0001-Don-t-install-Xsession-or-Xserver.patch \
Patrick Williamsb48b7b42016-08-17 15:04:38 -050027"
28
Patrick Williams213cb262021-08-07 19:21:33 -050029do_install:append() {
Patrick Williamsb48b7b42016-08-17 15:04:38 -050030 sed -i 's:^BINDIR=.*$:BINDIR=${bindir}:' ${D}/etc/X11/xserver-common
31 # Rename all Xsession files not ending with .sh
32 # Unfortunatelly when xinput-calibrator was moved to oe-core
33 # its Xsession file got name 30xinput_calibrate.sh and ls -X sorts it
34 # last, not respecting numbers for sorting them
35 for i in ${D}/${sysconfdir}/X11/Xsession.d/*; do
36 echo $i | grep '.sh$' || mv $i $i.sh
37 done
38}
39
Patrick Williams213cb262021-08-07 19:21:33 -050040RDEPENDS:${PN} = "xmodmap xrandr xdpyinfo fbset xinput-calibrator"
Patrick Williamsb48b7b42016-08-17 15:04:38 -050041
Patrick Williams213cb262021-08-07 19:21:33 -050042RCONFLICTS:${PN} = "xserver-kdrive-common x11-common"
43RREPLACES:${PN} = "xserver-kdrive-common x11-common"
Patrick Williamsb48b7b42016-08-17 15:04:38 -050044