meta-openembedded/meta-xfce/classes/xfce.bbclass
Khem Raj 1bc33e8e58
classed/xfce: Add XFCEBASEBUILDCLASS
Default to autotools to keep the present defaults working, it allows
building xfce components with meson, many of newer releases of xfce
components are using meson

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-07-12 13:50:01 -07:00

19 lines
581 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 gettext gtk-icon-cache pkgconfig
XFCEBASEBUILDCLASS ??= "autotools"
inherit_defer ${XFCEBASEBUILDCLASS}
DEPENDS += "intltool-native"
FILES:${PN} += "${datadir}/icons/* ${datadir}/applications/* ${libdir}/xfce4/modules/*.so*"
FILES:${PN}-doc += "${datadir}/xfce4/doc"