diff options
Diffstat (limited to 'packages/xfce')
-rw-r--r-- | packages/xfce/xfce4-panel_4.4.2.bb | 17 |
1 files changed, 14 insertions, 3 deletions
diff --git a/packages/xfce/xfce4-panel_4.4.2.bb b/packages/xfce/xfce4-panel_4.4.2.bb index dadc413cae..2fd087733e 100644 --- a/packages/xfce/xfce4-panel_4.4.2.bb +++ b/packages/xfce/xfce4-panel_4.4.2.bb @@ -19,8 +19,19 @@ do_install() { oe_runmake DESTDIR=${D} install } -PACKAGES += "${PN}-plugins ${PN}-mcs-plugins" -FILES_${PN}-plugins += "${libdir}/xfce4/panel-plugins/*.so* \ - ${datadir}/xfce4/panel-plugins/*.desktop" +python populate_packages_prepend() { + plugin_dir = bb.data.expand('${libdir}/xfce4/panel-plugins/', d) + plugin_name = bb.data.expand('${PN}-plugin-%s', d) + do_split_packages(d, plugin_dir, '^lib(.*).so$', plugin_name, + '${PN} plugin for %s', extra_depends='', prepend=True, + aux_files_pattern=['${datadir}/xfce4/panel-plugins/%s.desktop', + '${sysconfdir}/xdg/xfce/panel/%s-*', + '${datadir}/icons/hicolor/48x48/apps/*-%s.png', + '${bindir}/*%s*']) +} + +PACKAGES += "${PN}-mcs-plugins" +PACKAGES_DYNAMIC = "${PN}-plugin-*" + FILES_${PN}-mcs-plugins += "${libdir}/xfce4/mcs-plugins/" FILES_${PN}-dbg += "${libdir}/xfce4/mcs-plugins/.debug" |