meta-openembedded/meta-xfce/classes/xfce-panel-plugin.bbclass
Kai Kang 53724ff23d xfce-panel-plugin.bbclass: correct SRC_URI with xfce_verdir
The SRC_URI is wrongly calculated in xfce-panel-plugin.bbclass when the
length of first 2 parts(separated by dot(.)) of PV is longer than 3 such
as 0.10. It should use function xfce_verdir() instead which is
introduced by xfce.bbclass.

Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-11-08 10:05:22 -08:00

15 lines
487 B
Plaintext

inherit xfce distro_features_check
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"
FILES_${PN} += "${datadir}/xfce4/panel-plugins/"
FILES_${PN} += "${datadir}/xfce4/panel/plugins/"
FILES_${PN} += "${libdir}/xfce4/panel-plugins/*.so"
FILES_${PN} += "${libdir}/xfce4/panel/plugins/*.so"
FILES_${PN}-dev += "${libdir}/xfce4/panel/plugins/*.la"