meta-openembedded/meta-xfce/classes/xfce.bbclass
Khem Raj b4f3c4665c
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>
2025-07-12 13:50:01 -07:00

16 lines
519 B
Plaintext

def xfce_verdir(v):
import re
m = re.match(r"^([0-9]+)\.([0-9]+)", v)
return "%s.%s" % (m.group(1), m.group(2))
HOMEPAGE = "http://www.xfce.org"
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
DEPENDS += "intltool-native"
FILES:${PN} += "${datadir}/icons/* ${datadir}/applications/* ${libdir}/xfce4/modules/*.so*"
FILES:${PN}-doc += "${datadir}/xfce4/doc"