[oe] [meta-xfce][Patch 1/3] xfce-panel-plugin.bbclass: correct SRC_URI with xfce_verdir
kai.kang at windriver.com
kai.kang at windriver.com
Fri Aug 23 07:43:33 UTC 2019
From: Kai Kang <kai.kang at windriver.com>
The SRC_URI in xfce-panel-plugin.bbclass is not right when first 2
parts(separated by dot(.)) of PV is longer than 3 such as 0.10. It
should use function xfce_verdir() which introduced by xfce.bbclass.
Signed-off-by: Kai Kang <kai.kang at windriver.com>
---
meta-xfce/classes/xfce-panel-plugin.bbclass | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/meta-xfce/classes/xfce-panel-plugin.bbclass b/meta-xfce/classes/xfce-panel-plugin.bbclass
index 29c1245ca..f34ee0739 100644
--- a/meta-xfce/classes/xfce-panel-plugin.bbclass
+++ b/meta-xfce/classes/xfce-panel-plugin.bbclass
@@ -4,11 +4,11 @@ REQUIRED_DISTRO_FEATURES = "x11"
DEPENDS += "libxfce4ui libxfce4util xfce4-panel"
-SRC_URI = "http://archive.xfce.org/src/panel-plugins/${BPN}/${@'${PV}'[0:3]}/${BPN}-${PV}.tar.bz2"
+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"
\ No newline at end of file
+FILES_${PN}-dev += "${libdir}/xfce4/panel/plugins/*.la"
--
2.20.0
More information about the Openembedded-devel
mailing list