summaryrefslogtreecommitdiff
path: root/recipes/gtk+/gdk-pixbuf-csource-native_2.12.11.bb
blob: 36c0e4753ef2caedd29a79f728174c96941632c8 (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
require gtk+_${PV}.bb
inherit native
DEPENDS = "jpeg-native libpng-native gettext-native glib-2.0-native libx11-native"
S = "${WORKDIR}/gtk+-${PV}"
FILESPATHPKG =. "gdk-pixbuf-csource:gtk+-${PV}:"
SRC_URI += "file://reduce-dependencies.patch"

#clear recommends for uclibc builds
RRECOMMENDS_${PN} = " "
RRECOMMENDS_${PN}_linux = "  "
RRECOMMENDS_${PN}_linux-gnueabi = " "

EXTRA_OECONF = "\
  --with-gdktarget=x11 \
  --without-libtiff \
  --with-libjpeg \
  --with-libpng \
  --disable-cups \
"

do_compile() {
	cd gdk-pixbuf && oe_runmake
}

do_stage() {
	cd gdk-pixbuf && oe_runmake install
	find ${libdir} -name "libpixbufloader-*.la" -exec rm \{\} \;
}

do_install() {
	:
}