1*4882a593SmuzhiyunSUMMARY = "Common X11 scripts and support files" 2*4882a593SmuzhiyunLICENSE = "GPL-2.0-only" 3*4882a593SmuzhiyunLIC_FILES_CHKSUM = "file://COPYING;md5=751419260aa954499f7abaabaa882bbe" 4*4882a593Smuzhiyun 5*4882a593SmuzhiyunPR = "r9" 6*4882a593Smuzhiyun 7*4882a593Smuzhiyun# we are using a gpe-style Makefile 8*4882a593Smuzhiyuninherit features_check gpe 9*4882a593Smuzhiyun 10*4882a593SmuzhiyunREQUIRED_DISTRO_FEATURES = "x11" 11*4882a593Smuzhiyun 12*4882a593SmuzhiyunSRC_URI[md5sum] = "82f2f84cd96610e8f7b92c700cd31c14" 13*4882a593SmuzhiyunSRC_URI[sha256sum] = "cd04c33418f776b1e13fcc7af3d6bd0c7cccd03fbabd7dbcd97f88166cc34210" 14*4882a593Smuzhiyun 15*4882a593SmuzhiyunSRC_URI:append = " \ 16*4882a593Smuzhiyun file://0001-COPYING-add-GPLv2-license-file.patch \ 17*4882a593Smuzhiyun file://0002-add-setdpi-Xinit.d-script.patch \ 18*4882a593Smuzhiyun file://0006-add-support-for-etc-X11-xserver-system.patch \ 19*4882a593Smuzhiyun file://0007-use-own-functions-file-instead-etc-init.d-functions.patch \ 20*4882a593Smuzhiyun file://0008-xserver-common-add-dpi-and-nocursor-params-for-gta01.patch \ 21*4882a593Smuzhiyun file://0009-xserver-common-add-support-for-n900-alias-nokia_rx-5.patch \ 22*4882a593Smuzhiyun file://0010-xserver-common-add-support-for-nexus-S-alias-herring.patch \ 23*4882a593Smuzhiyun file://0011-xserver-common-add-support-for-nexus-one-alias-mahim.patch \ 24*4882a593Smuzhiyun file://0012-xserver-common-add-support-for-gta04-alias-OpenPhoen.patch \ 25*4882a593Smuzhiyun file://0013-xserver-common-add-support-for-tuna-alias-Galaxy-Nex.patch \ 26*4882a593Smuzhiyun file://0015-xserver-common-disable-TCP-connections.patch \ 27*4882a593Smuzhiyun file://0001-Don-t-install-Xsession-or-Xserver.patch \ 28*4882a593Smuzhiyun" 29*4882a593Smuzhiyun 30*4882a593Smuzhiyundo_install:append() { 31*4882a593Smuzhiyun sed -i 's:^BINDIR=.*$:BINDIR=${bindir}:' ${D}/etc/X11/xserver-common 32*4882a593Smuzhiyun # Rename all Xsession files not ending with .sh 33*4882a593Smuzhiyun # Unfortunatelly when xinput-calibrator was moved to oe-core 34*4882a593Smuzhiyun # its Xsession file got name 30xinput_calibrate.sh and ls -X sorts it 35*4882a593Smuzhiyun # last, not respecting numbers for sorting them 36*4882a593Smuzhiyun for i in ${D}/${sysconfdir}/X11/Xsession.d/*; do 37*4882a593Smuzhiyun echo $i | grep '.sh$' || mv $i $i.sh 38*4882a593Smuzhiyun done 39*4882a593Smuzhiyun} 40*4882a593Smuzhiyun 41*4882a593SmuzhiyunRDEPENDS:${PN} = "xmodmap xrandr xdpyinfo fbset xinput-calibrator" 42*4882a593Smuzhiyun 43*4882a593SmuzhiyunRCONFLICTS:${PN} = "xserver-kdrive-common x11-common" 44*4882a593SmuzhiyunRREPLACES:${PN} = "xserver-kdrive-common x11-common" 45*4882a593Smuzhiyun 46