xfce4-panel: build gtk3 libraries and ship them in an extra package

xfce4-pulseaudio-plugin depends on gtk3 panel libs.

Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
This commit is contained in:
Andreas Müller 2015-08-02 22:01:12 +02:00 committed by Martin Jansa
parent 55713b8c15
commit f8b8a02ec0

View File

@ -2,13 +2,15 @@ SUMMARY = "Xfce4 Panel"
SECTION = "x11"
LICENSE = "GPLv2"
LIC_FILES_CHKSUM = "file://COPYING;md5=26a8bd75d8f8498bdbbe64a27791d4ee"
DEPENDS = "libxfce4util garcon libxfce4ui xfconf exo gtk+ dbus cairo virtual/libx11 libxml2 libwnck"
DEPENDS = "libxfce4util garcon libxfce4ui xfconf exo gtk+ gtk+3 dbus cairo virtual/libx11 libxml2 libwnck"
inherit xfce gtk-doc
SRC_URI[md5sum] = "5a333af704e386c90ad829b6baf1a758"
SRC_URI[sha256sum] = "30920fc2e2fc26279a82b5261a155c2cc15ab2aa1ced2275684a6ff8261b97b0"
EXTRA_OECONF += "--enable-gtk3"
python populate_packages_prepend() {
plugin_dir = d.expand('${libdir}/xfce4/panel/plugins/')
plugin_name = d.expand('${PN}-plugin-%s')
@ -22,8 +24,14 @@ python populate_packages_prepend() {
PACKAGES_DYNAMIC += "^${PN}-plugin-.*"
PACKAGES =+ "${PN}-gtk3"
FILES_${PN} += "${libdir}/xfce4/panel/migrate \
${libdir}/xfce4/panel/wrapper-1.0"
FILES_${PN}-gtk3 = " \
${libdir}/libxfce4panel-2.0${SOLIBS} \
${libdir}/xfce4/panel/wrapper-2.0 \
"
FILES_${PN}-dbg += "${libdir}/xfce4/panel/plugins/.debug \
"