mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-06-04 14:39:54 +00:00
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>
This commit is contained in:
@@ -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"
|
||||
FILES_${PN}-dev += "${libdir}/xfce4/panel/plugins/*.la"
|
||||
|
||||
Reference in New Issue
Block a user