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