]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commitdiff
xorg-app: Tweak handling of compression changes in SRC_URI
authorRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 20 Apr 2022 11:49:50 +0000 (12:49 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 22 Apr 2022 07:27:45 +0000 (08:27 +0100)
Rather than duplicating SRC_URI, change the compression to a variable.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-graphics/xorg-app/mkfontscale_1.2.2.bb
meta/recipes-graphics/xorg-app/xdpyinfo_1.3.3.bb
meta/recipes-graphics/xorg-app/xorg-app-common.inc
meta/recipes-graphics/xorg-app/xrandr_1.5.1.bb

index 573b05128e4d2d9c557fb8d4463b1c7e91989a61..cd658ab219c3aee659715c37ad371d50d2b6d13a 100644 (file)
@@ -15,8 +15,7 @@ RPROVIDES:${PN} += "mkfontdir"
 
 BBCLASSEXTEND = "native"
 
-SRC_URI = "${XORG_MIRROR}/individual/app/${BPN}-${PV}.tar.xz"
-
 LIC_FILES_CHKSUM = "file://COPYING;md5=99b1e1269aba5179139b9e4380fc0934"
 
+SRC_URI_EXT = "xz"
 SRC_URI[sha256sum] = "8ae3fb5b1fe7436e1f565060acaa3e2918fe745b0e4979b5593968914fe2d5c4"
index fa0fe36451a484043ffe72e7b98c9a8cc6f69c6d..e75a840b7de6221b726d48911fd15067101d54b1 100644 (file)
@@ -8,14 +8,13 @@ predefined values for various parameters used in communicating between \
 clients and the server, and the different types of screens and visuals \
 that are available."
 
-SRC_URI = "${XORG_MIRROR}/individual/app/${BPN}-${PV}.tar.xz"
-
 LIC_FILES_CHKSUM = "file://COPYING;md5=f3d09e6b9e203a1af489e16c708f4fb3"
 DEPENDS += "libxtst libxext libxxf86vm libxi libxrender libxinerama libdmx libxau libxcomposite"
 PE = "1"
 
 SRC_URI += "file://disable-xkb.patch"
 
+SRC_URI_EXT = "xz"
 SRC_URI[sha256sum] = "356d5fd62f3e98ee36d6becf1b32d4ab6112d618339fb4b592ccffbd9e0fc206"
 
 EXTRA_OECONF = "--disable-xkb"
index 1c64e20aac76a10a3fe27f86df48ff80d0082980..5dbe8abe862a481ef4b92a813872273bd6b75d7f 100644 (file)
@@ -8,7 +8,8 @@ DEPENDS = "util-macros-native virtual/libx11"
 # depends on virtual/libx11
 REQUIRED_DISTRO_FEATURES = "x11"
 
-SRC_URI = "${XORG_MIRROR}/individual/app/${BPN}-${PV}.tar.bz2"
+SRC_URI_EXT = "bz2"
+SRC_URI = "${XORG_MIRROR}/individual/app/${BPN}-${PV}.tar.${SRC_URI_EXT}"
 
 inherit autotools pkgconfig features_check
 
index 57b43ff28c4430b0325ef0a22ea6e19ce918e5be..0e0347f768b90abcf29a16082144924e8f7aeef0 100644 (file)
@@ -11,8 +11,7 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=fe1608bdb33cf8c62a4438f7d34679b3"
 DEPENDS += "libxrandr libxrender"
 PE = "1"
 
-SRC_URI = "${XORG_MIRROR}/individual/app/${BPN}-${PV}.tar.xz"
-
+SRC_URI_EXT = "xz"
 SRC_URI[md5sum] = "fe40f7a4fd39dd3a02248d3e0b1972e4"
 SRC_URI[sha256sum] = "7bc76daf9d72f8aff885efad04ce06b90488a1a169d118dea8a2b661832e8762"