summaryrefslogtreecommitdiffstats
path: root/meta-xfce
diff options
context:
space:
mode:
authorKai Kang <kai.kang@windriver.com>2019-11-08 18:22:35 +0800
committerKhem Raj <raj.khem@gmail.com>2019-11-08 10:05:22 -0800
commit53724ff23d30742242f1f214efd709f70af304cd (patch)
treeeeac559d6a0d4c36b66328269d72db30c3149434 /meta-xfce
parentc12e9a770995cd3390748831a312c58a28aaf42d (diff)
downloadmeta-openembedded-53724ff23d30742242f1f214efd709f70af304cd.tar.gz
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>
Diffstat (limited to 'meta-xfce')
-rw-r--r--meta-xfce/classes/xfce-panel-plugin.bbclass4
1 files 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"
4 4
5DEPENDS += "libxfce4ui libxfce4util xfce4-panel" 5DEPENDS += "libxfce4ui libxfce4util xfce4-panel"
6 6
7SRC_URI = "http://archive.xfce.org/src/panel-plugins/${BPN}/${@'${PV}'[0:3]}/${BPN}-${PV}.tar.bz2" 7SRC_URI = "http://archive.xfce.org/src/panel-plugins/${BPN}/${@xfce_verdir("${PV}")}/${BPN}-${PV}.tar.bz2"
8 8
9FILES_${PN} += "${datadir}/xfce4/panel-plugins/" 9FILES_${PN} += "${datadir}/xfce4/panel-plugins/"
10FILES_${PN} += "${datadir}/xfce4/panel/plugins/" 10FILES_${PN} += "${datadir}/xfce4/panel/plugins/"
11FILES_${PN} += "${libdir}/xfce4/panel-plugins/*.so" 11FILES_${PN} += "${libdir}/xfce4/panel-plugins/*.so"
12FILES_${PN} += "${libdir}/xfce4/panel/plugins/*.so" 12FILES_${PN} += "${libdir}/xfce4/panel/plugins/*.so"
13 13
14FILES_${PN}-dev += "${libdir}/xfce4/panel/plugins/*.la" \ No newline at end of file 14FILES_${PN}-dev += "${libdir}/xfce4/panel/plugins/*.la"