Patrick Williams | 8dd6848 | 2022-10-04 07:57:18 -0500 | [diff] [blame] | 1 | require recipes-graphics/xorg-driver/xorg-driver-video.inc |
| 2 | |
| 3 | LIC_FILES_CHKSUM = "file://COPYING;md5=aabff1606551f9461ccf567739af63dc" |
| 4 | |
| 5 | SUMMARY = "X.Org X server -- ATI Radeon video driver" |
| 6 | |
| 7 | DESCRIPTION = "Open-source X.org graphics driver for ATI Radeon graphics" |
| 8 | |
| 9 | DEPENDS += "virtual/libx11 libxvmc drm \ |
| 10 | virtual/libgl xorgproto libpciaccess" |
| 11 | |
| 12 | inherit features_check |
| 13 | |
| 14 | REQUIRED_DISTRO_FEATURES += "opengl" |
| 15 | |
| 16 | SRC_URI = "git://git@gitlab.freedesktop.org/xorg/driver/xf86-video-ati.git;branch=master" |
| 17 | SRCREV = "7a6a34af026f0bef8080b91baf97a729380bca01" |
| 18 | |
| 19 | SRC_URI[sha256sum] = "659f5a1629eea5f5334d9b39b18e6807a63aa1efa33c1236d9cc53acbb223c49" |
| 20 | |
| 21 | PV = "19.1.0+git${SRCPV}" |
| 22 | |
| 23 | S = "${WORKDIR}/git" |
| 24 | |
| 25 | PACKAGECONFIG ??= "udev" |
| 26 | PACKAGECONFIG[udev] = "--enable-udev,--disable-udev,udev" |
| 27 | PACKAGECONFIG[glamor] = "--enable-glamor,--disable-glamor" |
| 28 | |
| 29 | RDEPENDS:${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 | |
| 36 | RRECOMMENDS:${PN} += "linux-firmware-radeon" |
| 37 | |
| 38 | PACKAGES =+ "${PN}-config" |
| 39 | |
| 40 | FILES:${PN}-config = "${datadir}/X11/xorg.conf.d" |
| 41 | FILES:${PN} += "${datadir}/X11" |