summaryrefslogtreecommitdiffstats
path: root/meta-gnome/recipes-gnome/gnome-panel/gnome-panel_2.32.1.bb
blob: 2e36063f229d2fb173ce7cac566288b3fc845ea5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
SUMMARY = "GNOME panel"
LICENSE = "GPL-2.0 & LGPL-2.0 & GFDL-1.1"

LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263 \
                    file://COPYING-DOCS;md5=c9211dab3ae61e580f48432020784324 \
                    file://COPYING.LIB;md5=5f30f0716dfdd0d91eb439ebec522ec2"

SECTION = "x11/gnome"

PR = "r7"

DEPENDS = "gnome-doc-utils gconf glib-2.0 gnome-desktop gtk+ \
    pango libwnck gnome-menus cairo libgweather dbus dbus-glib \
    librsvg libcanberra \
"
RDEPENDS_${PN} = "python"

inherit gtk-doc gnome autotools-brokensep gettext pkgconfig gconf gobject-introspection

SRCREV = "8292bd2b8a36df7eed3c760899400790cde68590"
SRC_URI = "git://git.gnome.org/gnome-panel;branch=gnome-2-32 \
           file://0001-Fix-build-with-gcc-5.patch \
           file://0001-Add-gnome-doc-utils.make.patch \
"

S = "${WORKDIR}/git"

EXTRA_OECONF = "--disable-scrollkeeper --disable-eds --enable-bonobo=no --with-in-process-applets=none"

PACKAGECONFIG ??= ""
PACKAGECONFIG[networkmanager] = "--enable-network-manager,--disable-network-manager,networkmanager"

do_configure_prepend() {
    sed -i -e s:help:: ${S}/Makefile.am
    sed -i -e s:^#!@PYTHON@:#!/usr/bin/python: ${S}/gnome-panel/gnome-panel-add.in
}

PACKAGES =+ "libpanel-applet"
FILES_libpanel-applet = "${libdir}/libpanel-applet-*.so.*"

FILES_${PN} =+ "${datadir}/gnome* \
                ${datadir}/dbus-1 \
                ${datadir}/icons \
                ${datadir}/PolicyKit \
                ${libdir}/bonobo \
"

PNBLACKLIST[gnome-panel] ?= "Depends on broken libgweather"