blob: 9452c3a9154c4a7531bead2b42aec03f7bdd1043 [file] [log] [blame]
Patrick Williams8dd68482022-10-04 07:57:18 -05001require recipes-graphics/xorg-driver/xorg-driver-video.inc
2
3LIC_FILES_CHKSUM = "file://COPYING;md5=aabff1606551f9461ccf567739af63dc"
4
5SUMMARY = "X.Org X server -- ATI Radeon video driver"
6
7DESCRIPTION = "Open-source X.org graphics driver for ATI Radeon graphics"
8
9DEPENDS += "virtual/libx11 libxvmc drm \
10 virtual/libgl xorgproto libpciaccess"
11
12inherit features_check
13
14REQUIRED_DISTRO_FEATURES += "opengl"
15
16SRC_URI = "git://git@gitlab.freedesktop.org/xorg/driver/xf86-video-ati.git;branch=master"
17SRCREV = "7a6a34af026f0bef8080b91baf97a729380bca01"
18
19SRC_URI[sha256sum] = "659f5a1629eea5f5334d9b39b18e6807a63aa1efa33c1236d9cc53acbb223c49"
20
21PV = "19.1.0+git${SRCPV}"
22
23S = "${WORKDIR}/git"
24
25PACKAGECONFIG ??= "udev"
26PACKAGECONFIG[udev] = "--enable-udev,--disable-udev,udev"
27PACKAGECONFIG[glamor] = "--enable-glamor,--disable-glamor"
28
29RDEPENDS:${PN}:append = "\
30 ${@bb.utils.contains('PACKAGECONFIG', 'glamor', 'libegl', '', d)} \
31 mesa-megadriver \
32 xserver-xorg-extension-glx \
33 xserver-xorg-module-exa \
34"
35
36RRECOMMENDS:${PN} += "linux-firmware-radeon"
37
38PACKAGES =+ "${PN}-config"
39
40FILES:${PN}-config = "${datadir}/X11/xorg.conf.d"
41FILES:${PN} += "${datadir}/X11"