xref: /OK3568_Linux_fs/yocto/meta-openembedded/meta-xfce/recipes-xfce/xfce4-panel/xfce4-panel_4.16.3.bb (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1SUMMARY = "Xfce4 Panel"
2SECTION = "x11"
3LICENSE = "GPL-2.0-only"
4LIC_FILES_CHKSUM = "file://COPYING;md5=26a8bd75d8f8498bdbbe64a27791d4ee"
5DEPENDS = "garcon exo gtk+3 cairo virtual/libx11 libxml2 libwnck3 vala-native"
6
7inherit xfce gtk-doc gobject-introspection features_check remove-libtool mime-xdg
8
9REQUIRED_DISTRO_FEATURES = "x11"
10
11SRC_URI[sha256sum] = "5934eaed8a76da52c29b734ccd79600255420333dd6ebd8fd9f066379af1e092"
12SRC_URI += " \
13    file://0001-windowmenu-do-not-display-desktop-icon-when-no-windo.patch \
14    file://0002-use-lxdm-to-replace-dm-tool.patch \
15"
16
17EXTRA_OECONF += "--disable-vala"
18
19python populate_packages:prepend() {
20    plugin_dir = d.expand('${libdir}/xfce4/panel/plugins/')
21    plugin_name = d.expand('${PN}-plugin-%s')
22    do_split_packages(d, plugin_dir, r'^lib(.*)\.so$', plugin_name,
23                      '${PN} plugin for %s', extra_depends='', prepend=True,
24                      aux_files_pattern=['${datadir}/xfce4/panel/plugins/%s.desktop',
25                                         '${sysconfdir}/xdg/xfce/panel/%s-*',
26                                         '${datadir}/icons/hicolor/48x48/apps/*-%s.png',
27                                         '${bindir}/*%s*'])
28}
29
30PACKAGES_DYNAMIC += "^${PN}-plugin-.*"
31
32PACKAGES =+ "${PN}-gtk3"
33
34FILES:${PN} += "${libdir}/xfce4/panel/migrate \
35                ${libdir}/xfce4/panel/wrapper-1.0"
36
37FILES:${PN}-dev += "${libdir}/xfce4/panel/plugins/*.la"
38
39FILES:${PN}-gtk3 = " \
40    ${libdir}/libxfce4panel-2.0${SOLIBS} \
41    ${libdir}/xfce4/panel/wrapper-2.0 \
42"
43