Message ID | 20250712013826.3708694-1-raj.khem@gmail.com |
---|---|
State | New |
Headers | show |
Series | [meta-xfce,1/2] classes/xfce-panel-plugin: Make download tarball extention type configurable | expand |
diff --git a/meta-xfce/classes/xfce-panel-plugin.bbclass b/meta-xfce/classes/xfce-panel-plugin.bbclass index b43f9e3125..3f115cab22 100644 --- a/meta-xfce/classes/xfce-panel-plugin.bbclass +++ b/meta-xfce/classes/xfce-panel-plugin.bbclass @@ -4,7 +4,9 @@ REQUIRED_DISTRO_FEATURES = "x11" DEPENDS += "libxfce4ui libxfce4util xfce4-panel" -SRC_URI = "http://archive.xfce.org/src/panel-plugins/${BPN}/${@xfce_verdir("${PV}")}/${BPN}-${PV}.tar.bz2" +XFCE_COMPRESS_TYPE ?= "bz2" + +SRC_URI = "http://archive.xfce.org/src/panel-plugins/${BPN}/${@xfce_verdir("${PV}")}/${BPN}-${PV}.tar.${XFCE_COMPRESS_TYPE}" FILES:${PN} += "${datadir}/xfce4/panel-plugins/" FILES:${PN} += "${datadir}/xfce4/panel/plugins/"
Default is still tar.bz2, but there is now option to use tar.xz which is some of new plugin releases are only xz compressed tarballs. Signed-off-by: Khem Raj <raj.khem@gmail.com> --- meta-xfce/classes/xfce-panel-plugin.bbclass | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-)