1 # xfce4-panel OE build file
2 # Copyright (C) 2004, Advanced Micro Devices, Inc. All Rights Reserved
3 # Released under the MIT license (see COPYING.MIT)
5 DESCRIPTION = "XFCE4 Panel"
7 DEPENDS = "startup-notification virtual/libx11 libxfcegui4 libxfce4mcs xfce-mcs-manager libxml2"
11 EXTRA_OECONF += " --enable-startup-notification"
19 oe_runmake DESTDIR=${D} install
22 python populate_packages_prepend() {
23 plugin_dir = bb.data.expand('${libdir}/xfce4/panel-plugins/', d)
24 plugin_name = bb.data.expand('${PN}-plugin-%s', d)
25 do_split_packages(d, plugin_dir, '^lib(.*).so$', plugin_name,
26 '${PN} plugin for %s', extra_depends='', prepend=True,
27 aux_files_pattern=['${datadir}/xfce4/panel-plugins/%s.desktop',
28 '${sysconfdir}/xdg/xfce/panel/%s-*',
29 '${datadir}/icons/hicolor/48x48/apps/*-%s.png',
33 PACKAGES += "${PN}-mcs-plugins"
34 PACKAGES_DYNAMIC = "${PN}-plugin-*"
36 FILES_${PN}-mcs-plugins += "${libdir}/xfce4/mcs-plugins/"
37 FILES_${PN}-dbg += "${libdir}/xfce4/mcs-plugins/.debug"