1 # xfce4-panel OE build file
2 # Copyright (C) 2004, Advanced Micro Devices, Inc. All Rights Reserved
3 # Released under the MIT license (see packages/COPYING)
5 DESCRIPTION="XFCE4 Panel"
7 DEPENDS="startup-notification x11 libxfcegui4 libxfce4mcs xfce-mcs-manager libxml2"
9 PACKAGES = "xfce4-panel xfce4-panel-dev ${PN}-doc \
10 xfce4-panel-plugins xfce4-panel-mcs-plugins"
12 FILES_${PN}="${bindir} /etc"
13 FILES_xfce4-panel-plugins="${libdir}/xfce4/panel-plugins/*.so"
14 FILES_xfce4-panel-mcs-plugins="${libdir}/xfce4/mcs-plugins/*.so"
16 inherit xfce pkgconfig
18 EXTRA_OECONF=" --enable-startup-notification"
21 oe_runmake DESTDIR=${D} install
24 python populate_packages_prepend () {
25 themedir = oe.data.expand('${datadir}/xfce4/themes', d)
26 do_split_packages(d, themedir, '^(.*)', 'xfce4-panel-theme-%s', 'XFCE4 panel theme %s', allow_dirs=True)
29 HEADERS="controls.h global.h icons.h main.h panel.h item.h \
30 item_dialog.h plugins.h xfce_support.h xfce.h"
33 install -d ${STAGING_INCDIR}/xfce4/panel
35 for file in ${HEADERS}; do
36 install -m 644 ${S}/panel/$file ${STAGING_INCDIR}/xfce4/panel/$file