classed/xfce: Make download tarball extention type configurable

Default is still tar.bz2, but there is now option to use tar.xz which is
some of new xfce component releases are only xz compressed tarballs.

Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
Khem Raj committed 2025-07-12 13:50:01 -07:00
1 parent adfee75882
commit b4f3c4665c
3 files changed
+4 -3

No files matched your search

+1 -1
View File
@@ -2,5 +2,5 @@ inherit xfce features_check
REQUIRED_DISTRO_FEATURES = "x11"
SRC_URI = "http://archive.xfce.org/src/apps/${BPN}/${@xfce_verdir("${PV}")}/${BPN}-${PV}.tar.bz2"
SRC_URI = "http://archive.xfce.org/src/apps/${BPN}/${@xfce_verdir("${PV}")}/${BPN}-${PV}.tar.${XFCE_COMPRESS_TYPE}"
+1 -1
View File
@@ -4,7 +4,7 @@ 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"
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/"
+2 -1
View File
@@ -4,7 +4,8 @@ def xfce_verdir(v):
return "%s.%s" % (m.group(1), m.group(2))
HOMEPAGE = "http://www.xfce.org"
SRC_URI = "http://archive.xfce.org/src/xfce/${BPN}/${@xfce_verdir("${PV}")}/${BPN}-${PV}.tar.bz2"
XFCE_COMPRESS_TYPE ?= "bz2"
SRC_URI = "http://archive.xfce.org/src/xfce/${BPN}/${@xfce_verdir("${PV}")}/${BPN}-${PV}.tar.${XFCE_COMPRESS_TYPE}"
inherit autotools gettext gtk-icon-cache pkgconfig