summaryrefslogtreecommitdiffstats
path: root/meta/packages/libglade/libglade_2.5.1.bb
blob: 7738b10f93766dde610e93429acb5b1c790be33c (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
LICENSE = "LGPL"
DESCRIPTION = "Runtime support for GTK interface builder"
SECTION = "libs"
PRIORITY = "optional"
DEPENDS = "gtk+ gtk-doc"
MAINTAINER = "Phil Blundell <pb@handhelds.org>"

inherit autotools pkgconfig gnome

PR = "r1"

SRC_URI += "file://glade-cruft.patch;patch=1 file://no-xml2.patch;patch=1 \
	    file://no-deprecation.patch;patch=1"

EXTRA_OECONF += "--without-libxml2"

CFLAGS += "-lz"

PACKAGES += " ${PN}-data"
FILES_${PN} = "${libdir}/lib*.so.*"
FILES_${PN}-data = "${datadir}/xml/libglade/glade-2.0.dtd"
FILES_${PN}-dev += "${bindir}/libglade-convert"
#RDEPENDS_${PN} = "${PN}-data"

headers = "glade-build.h glade-init.h glade-parser.h glade-xml.h glade.h"

do_stage () {
	oe_libinstall -a -so -C glade libglade-2.0 ${STAGING_LIBDIR}

	mkdir -p ${STAGING_INCDIR}/libglade-2.0/glade
	for i in ${headers}; do
		install -m 0644 ${S}/glade/$i ${STAGING_INCDIR}/libglade-2.0/glade/$i
	done
}