xref: /OK3568_Linux_fs/yocto/meta-rockchip/recipes-graphics/xorg-xserver/xserver-xorg_%.bbappend (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1*4882a593Smuzhiyun# Copyright (C) 2019, Fuzhou Rockchip Electronics Co., Ltd
2*4882a593Smuzhiyun# Released under the MIT license (see COPYING.MIT for the terms)
3*4882a593Smuzhiyun
4*4882a593SmuzhiyunDEPENDS:append = " automake-native autoconf-native util-macros-native font-util-native xtrans-native libxshmfence rockchip-librga"
5*4882a593Smuzhiyun
6*4882a593SmuzhiyunSRCREV = "${AUTOREV}"
7*4882a593SmuzhiyunSRC_URI:append = " git://github.com/JeffyCN/xorg-xserver;protocol=https;nobranch=1;branch=${PV}_2023_07_18;"
8*4882a593SmuzhiyunSRC_URI:remove = "https://www.x.org/releases//individual/xserver/xorg-server-${PV}.tar.bz2"
9*4882a593SmuzhiyunS = "${WORKDIR}/git"
10*4882a593Smuzhiyun
11*4882a593SmuzhiyunFILESEXTRAPATHS:prepend := "${THISDIR}/files:"
12*4882a593Smuzhiyun
13*4882a593SmuzhiyunSRC_URI:append = " file://20-modesetting.conf"
14*4882a593Smuzhiyun
15*4882a593Smuzhiyundo_configure:prepend() {
16*4882a593Smuzhiyun    NOCONFIGURE="yes" ${S}/autogen.sh
17*4882a593Smuzhiyun}
18*4882a593Smuzhiyun
19*4882a593Smuzhiyundo_install:append() {
20*4882a593Smuzhiyun    install -d ${D}${datadir}/X11/xorg.conf.d
21*4882a593Smuzhiyun    install -m 0755 ${WORKDIR}/20-modesetting.conf \
22*4882a593Smuzhiyun        ${D}${datadir}/X11/xorg.conf.d/20-modesetting.conf
23*4882a593Smuzhiyun}
24