mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2025-12-14 06:16:04 +01:00
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>
16 lines
519 B
Plaintext
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"
|