diff options
| author | Khem Raj <raj.khem@gmail.com> | 2025-07-11 18:35:23 -0700 |
|---|---|---|
| committer | Khem Raj <raj.khem@gmail.com> | 2025-07-12 13:50:01 -0700 |
| commit | b4f3c4665ca45ac5c4347d4cd5d7547c50af9ae5 (patch) | |
| tree | e18333809a0fdf5ac3474fe59c6badb337d45e6a /meta-xfce | |
| parent | adfee75882d492cb64300e9abab884cd7bbf37e4 (diff) | |
| download | meta-openembedded-b4f3c4665ca45ac5c4347d4cd5d7547c50af9ae5.tar.gz | |
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>
Diffstat (limited to 'meta-xfce')
| -rw-r--r-- | meta-xfce/classes/xfce-app.bbclass | 2 | ||||
| -rw-r--r-- | meta-xfce/classes/xfce-panel-plugin.bbclass | 2 | ||||
| -rw-r--r-- | meta-xfce/classes/xfce.bbclass | 3 |
3 files changed, 4 insertions, 3 deletions
diff --git a/meta-xfce/classes/xfce-app.bbclass b/meta-xfce/classes/xfce-app.bbclass index d1b07d7457..957cfb3362 100644 --- a/meta-xfce/classes/xfce-app.bbclass +++ b/meta-xfce/classes/xfce-app.bbclass | |||
| @@ -2,5 +2,5 @@ inherit xfce features_check | |||
| 2 | 2 | ||
| 3 | REQUIRED_DISTRO_FEATURES = "x11" | 3 | REQUIRED_DISTRO_FEATURES = "x11" |
| 4 | 4 | ||
| 5 | SRC_URI = "http://archive.xfce.org/src/apps/${BPN}/${@xfce_verdir("${PV}")}/${BPN}-${PV}.tar.bz2" | 5 | SRC_URI = "http://archive.xfce.org/src/apps/${BPN}/${@xfce_verdir("${PV}")}/${BPN}-${PV}.tar.${XFCE_COMPRESS_TYPE}" |
| 6 | 6 | ||
diff --git a/meta-xfce/classes/xfce-panel-plugin.bbclass b/meta-xfce/classes/xfce-panel-plugin.bbclass index b43f9e3125..b2d71a4141 100644 --- a/meta-xfce/classes/xfce-panel-plugin.bbclass +++ b/meta-xfce/classes/xfce-panel-plugin.bbclass | |||
| @@ -4,7 +4,7 @@ REQUIRED_DISTRO_FEATURES = "x11" | |||
| 4 | 4 | ||
| 5 | DEPENDS += "libxfce4ui libxfce4util xfce4-panel" | 5 | DEPENDS += "libxfce4ui libxfce4util xfce4-panel" |
| 6 | 6 | ||
| 7 | SRC_URI = "http://archive.xfce.org/src/panel-plugins/${BPN}/${@xfce_verdir("${PV}")}/${BPN}-${PV}.tar.bz2" | 7 | SRC_URI = "http://archive.xfce.org/src/panel-plugins/${BPN}/${@xfce_verdir("${PV}")}/${BPN}-${PV}.tar.${XFCE_COMPRESS_TYPE}" |
| 8 | 8 | ||
| 9 | FILES:${PN} += "${datadir}/xfce4/panel-plugins/" | 9 | FILES:${PN} += "${datadir}/xfce4/panel-plugins/" |
| 10 | FILES:${PN} += "${datadir}/xfce4/panel/plugins/" | 10 | FILES:${PN} += "${datadir}/xfce4/panel/plugins/" |
diff --git a/meta-xfce/classes/xfce.bbclass b/meta-xfce/classes/xfce.bbclass index 913202be59..6b3d0b0d0f 100644 --- a/meta-xfce/classes/xfce.bbclass +++ b/meta-xfce/classes/xfce.bbclass | |||
| @@ -4,7 +4,8 @@ def xfce_verdir(v): | |||
| 4 | return "%s.%s" % (m.group(1), m.group(2)) | 4 | return "%s.%s" % (m.group(1), m.group(2)) |
| 5 | 5 | ||
| 6 | HOMEPAGE = "http://www.xfce.org" | 6 | HOMEPAGE = "http://www.xfce.org" |
| 7 | SRC_URI = "http://archive.xfce.org/src/xfce/${BPN}/${@xfce_verdir("${PV}")}/${BPN}-${PV}.tar.bz2" | 7 | XFCE_COMPRESS_TYPE ?= "bz2" |
| 8 | SRC_URI = "http://archive.xfce.org/src/xfce/${BPN}/${@xfce_verdir("${PV}")}/${BPN}-${PV}.tar.${XFCE_COMPRESS_TYPE}" | ||
| 8 | 9 | ||
| 9 | inherit autotools gettext gtk-icon-cache pkgconfig | 10 | inherit autotools gettext gtk-icon-cache pkgconfig |
| 10 | 11 | ||
