Andrew Geissler | 82c905d | 2020-04-13 13:39:40 -0500 | [diff] [blame] | 1 | SUMMARY = "Xfce4 Panel" |
| 2 | SECTION = "x11" |
Andrew Geissler | 9aee500 | 2022-03-30 16:27:02 +0000 | [diff] [blame] | 3 | LICENSE = "GPL-2.0-only" |
Andrew Geissler | 82c905d | 2020-04-13 13:39:40 -0500 | [diff] [blame] | 4 | LIC_FILES_CHKSUM = "file://COPYING;md5=26a8bd75d8f8498bdbbe64a27791d4ee" |
| 5 | DEPENDS = "garcon exo gtk+3 cairo virtual/libx11 libxml2 libwnck3 vala-native" |
| 6 | |
| 7 | inherit xfce gtk-doc gobject-introspection features_check remove-libtool mime-xdg |
| 8 | |
Andrew Geissler | 78b7279 | 2022-06-14 06:47:25 -0500 | [diff] [blame^] | 9 | # xfce4 depends on libwnck3, gtk+3 and libepoxy need to be built with x11 PACKAGECONFIG. |
| 10 | # cairo would at least needed to be built with xlib. |
| 11 | ANY_OF_DISTRO_FEATURES = "${GTK3DISTROFEATURES}" |
Andrew Geissler | 82c905d | 2020-04-13 13:39:40 -0500 | [diff] [blame] | 12 | |
William A. Kennington III | b95905d | 2021-06-02 12:40:56 -0700 | [diff] [blame] | 13 | SRC_URI[sha256sum] = "5934eaed8a76da52c29b734ccd79600255420333dd6ebd8fd9f066379af1e092" |
Andrew Geissler | 82c905d | 2020-04-13 13:39:40 -0500 | [diff] [blame] | 14 | SRC_URI += " \ |
| 15 | file://0001-windowmenu-do-not-display-desktop-icon-when-no-windo.patch \ |
| 16 | file://0002-use-lxdm-to-replace-dm-tool.patch \ |
| 17 | " |
| 18 | |
Andrew Geissler | 7e0e3c0 | 2022-02-25 20:34:39 +0000 | [diff] [blame] | 19 | EXTRA_OECONF += "--disable-vala" |
| 20 | |
Patrick Williams | 213cb26 | 2021-08-07 19:21:33 -0500 | [diff] [blame] | 21 | python populate_packages:prepend() { |
Andrew Geissler | 82c905d | 2020-04-13 13:39:40 -0500 | [diff] [blame] | 22 | plugin_dir = d.expand('${libdir}/xfce4/panel/plugins/') |
| 23 | plugin_name = d.expand('${PN}-plugin-%s') |
Andrew Geissler | 7e0e3c0 | 2022-02-25 20:34:39 +0000 | [diff] [blame] | 24 | do_split_packages(d, plugin_dir, r'^lib(.*)\.so$', plugin_name, |
Andrew Geissler | 82c905d | 2020-04-13 13:39:40 -0500 | [diff] [blame] | 25 | '${PN} plugin for %s', extra_depends='', prepend=True, |
| 26 | aux_files_pattern=['${datadir}/xfce4/panel/plugins/%s.desktop', |
| 27 | '${sysconfdir}/xdg/xfce/panel/%s-*', |
| 28 | '${datadir}/icons/hicolor/48x48/apps/*-%s.png', |
| 29 | '${bindir}/*%s*']) |
| 30 | } |
| 31 | |
| 32 | PACKAGES_DYNAMIC += "^${PN}-plugin-.*" |
| 33 | |
| 34 | PACKAGES =+ "${PN}-gtk3" |
| 35 | |
Patrick Williams | 213cb26 | 2021-08-07 19:21:33 -0500 | [diff] [blame] | 36 | FILES:${PN} += "${libdir}/xfce4/panel/migrate \ |
Andrew Geissler | 82c905d | 2020-04-13 13:39:40 -0500 | [diff] [blame] | 37 | ${libdir}/xfce4/panel/wrapper-1.0" |
| 38 | |
Patrick Williams | 213cb26 | 2021-08-07 19:21:33 -0500 | [diff] [blame] | 39 | FILES:${PN}-dev += "${libdir}/xfce4/panel/plugins/*.la" |
Andrew Geissler | 82c905d | 2020-04-13 13:39:40 -0500 | [diff] [blame] | 40 | |
Patrick Williams | 213cb26 | 2021-08-07 19:21:33 -0500 | [diff] [blame] | 41 | FILES:${PN}-gtk3 = " \ |
Andrew Geissler | 82c905d | 2020-04-13 13:39:40 -0500 | [diff] [blame] | 42 | ${libdir}/libxfce4panel-2.0${SOLIBS} \ |
| 43 | ${libdir}/xfce4/panel/wrapper-2.0 \ |
| 44 | " |