]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commitdiff
xorg-lib-common: Add variable to set tarball type
authorRobert Joslyn <robert.joslyn@redrectangle.org>
Sun, 4 Sep 2022 18:53:36 +0000 (11:53 -0700)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 5 Sep 2022 15:48:44 +0000 (16:48 +0100)
Upstream has switched some new releases from bz2 to xz compression. Add
an XORG_EXT variable so recipes can set the file name extension needed
for the compression type.

Signed-off-by: Robert Joslyn <robert.joslyn@redrectangle.org>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
meta/recipes-graphics/xorg-lib/xorg-lib-common.inc

index 60bc8c76fac281ae5ab07a7f35475b2784dd6412..68137c414708e7deb0fe979930d0f6edd3117b2e 100644 (file)
@@ -6,8 +6,9 @@ LICENSE = "MIT"
 DEPENDS = "util-macros"
 
 XORG_PN = "${BPN}"
+XORG_EXT ?= "tar.bz2"
 
-SRC_URI = "${XORG_MIRROR}/individual/lib/${XORG_PN}-${PV}.tar.bz2"
+SRC_URI = "${XORG_MIRROR}/individual/lib/${XORG_PN}-${PV}.${XORG_EXT}"
 
 S = "${WORKDIR}/${XORG_PN}-${PV}"