site  contact  subhomenews

xf86-video-mach64 compiled in OE

March 09, 2022 — BarryK

I posted yesterday that some Xorg video drivers failed to compile:

I found the xf86-video-mach64 source with fixes:

Yes, compiles in OpenEmbedded. Here is the recipe, meta-quirky/recipes-quirky/xorg-driver/

# Recipe created by recipetool
# recipetool create -o

require recipes-graphics/xorg-driver/

LIC_FILES_CHKSUM = "file://COPYING;md5=be79d1b174a1e5b7e9303201e18d45f4"

SRC_URI = "${PV}.tar.gz"

SRC_URI[md5sum] = "ea9be37b4878982c7fe9e01a824a4053"
SRC_URI[sha256sum] = "aeb5a4c8e7ca9bf7c2ae62d347c71fd49c7fb2fdcd04fa587fdddceb52e842ec"

DEPENDS = "xserver-xorg xorgproto libdrm libpciaccess xcb-proto"

inherit pkgconfig autotools

# only because configure is broken for cross-compile...
#EXTRA_OECONF = "--disable-dri"
# no, do it this way:
# ref:
EXTRA_OECONF = "ac_cv_file__usr_include_xorg_dri_h=yes \
ac_cv_file__usr_include_xorg_sarea_h=yes \
ac_cv_file__usr_include_xorg_dristruct_h=yes \

FILES_${PN} += "${datadir}/X11 ${libdir}/xorg"

SUMMARY = "The Xorg driver for ATi Mach64 video chips"

Don't know if will bother trying to fix the others.   

Tags: easy