diff options
author | Siddharth Doshi <sdoshi@mvista.com> | 2023-10-16 20:13:49 +0530 |
---|---|---|
committer | Steve Sakoman <steve@sakoman.com> | 2023-10-20 05:35:30 -1000 |
commit | c7ddb9b19845a1d9b749896ea978fd72b7aa104b (patch) | |
tree | 6e5b66fd45c7d5c3f48445f939f334dd28c272ac | |
parent | ffbede6d58cc55c690c6eb8e049dc173270fa9fc (diff) | |
download | poky-c7ddb9b19845a1d9b749896ea978fd72b7aa104b.tar.gz |
xorg-lib-common: Add variable to set tarball type
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.
Following the approach in oe-core/master: 6a8068e036b4b2a40b38896275b936916b4db76e
xorg-lib-common: Add variable to set tarball type use a variable for the tarball suffix/compression format.
(From OE-Core rev: ff386fb5632c26ceb12d2381e9128b0546aef795)
Signed-off-by: Robert Joslyn <robert.joslyn@redrectangle.org>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Siddharth Doshi <sdoshi@mvista.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
-rw-r--r-- | meta/recipes-graphics/xorg-lib/xorg-lib-common.inc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/meta/recipes-graphics/xorg-lib/xorg-lib-common.inc b/meta/recipes-graphics/xorg-lib/xorg-lib-common.inc index a566eaa45e..1e8525d874 100644 --- a/meta/recipes-graphics/xorg-lib/xorg-lib-common.inc +++ b/meta/recipes-graphics/xorg-lib/xorg-lib-common.inc | |||
@@ -6,8 +6,9 @@ LICENSE = "MIT-X" | |||
6 | DEPENDS = "util-macros" | 6 | DEPENDS = "util-macros" |
7 | 7 | ||
8 | XORG_PN = "${BPN}" | 8 | XORG_PN = "${BPN}" |
9 | XORG_EXT ?= "tar.bz2" | ||
9 | 10 | ||
10 | SRC_URI = "${XORG_MIRROR}/individual/lib/${XORG_PN}-${PV}.tar.bz2" | 11 | SRC_URI = "${XORG_MIRROR}/individual/lib/${XORG_PN}-${PV}.${XORG_EXT}" |
11 | 12 | ||
12 | S = "${WORKDIR}/${XORG_PN}-${PV}" | 13 | S = "${WORKDIR}/${XORG_PN}-${PV}" |
13 | 14 | ||