summaryrefslogtreecommitdiff
path: root/packages/gtk+
diff options
context:
space:
mode:
authorLeon Woestenberg <leon.woestenberg@gmail.com>2007-11-12 23:41:15 +0000
committerLeon Woestenberg <leon.woestenberg@gmail.com>2007-11-12 23:41:15 +0000
commit064c08414a56a40968d475a48c22d21930988f9f (patch)
treeb5f9b696b737de2e0a59a61821d464038fdeffda /packages/gtk+
parent71e28c80819f5c82d959a9e5e27ef084246ace13 (diff)
gtk+: Add stand-alone gdk-pixbuf library.
Diffstat (limited to 'packages/gtk+')
-rw-r--r--packages/gtk+/gdk-pixbuf-csource_2.10.14.bb39
1 files changed, 39 insertions, 0 deletions
diff --git a/packages/gtk+/gdk-pixbuf-csource_2.10.14.bb b/packages/gtk+/gdk-pixbuf-csource_2.10.14.bb
new file mode 100644
index 0000000000..20e8505ac8
--- /dev/null
+++ b/packages/gtk+/gdk-pixbuf-csource_2.10.14.bb
@@ -0,0 +1,39 @@
+require gtk+_${PV}.bb
+DEPENDS = "jpeg libpng gettext glib-2.0"
+S = "${WORKDIR}/gtk+-${PV}"
+FILESPATH = "${FILE_DIRNAME}/gdk-pixbuf-csource:${FILE_DIRNAME}/gtk+-${PV}:${FILE_DIRNAME}/files"
+SRC_URI += "file://reduce-dependencies.patch;patch=1"
+
+#clear recommends for uclibc builds
+RRECOMMENDS = " "
+RRECOMMENDS_${PN}_linux = " "
+RRECOMMENDS_${PN}_linux-gnueabi = " "
+
+EXTRA_OECONF = "\
+ --without-x \
+ --with-gdktarget=linux-fb \
+ --without-libtiff \
+ --with-libjpeg \
+ --with-libpng \
+"
+
+do_compile() {
+ cd gdk-pixbuf && oe_runmake
+}
+
+do_stage() {
+# oe_libinstall -so -C gdk-pixbuf libgdk_pixbuf-2.0 ${STAGING_LIBDIR}
+ cd gdk-pixbuf && oe_runmake install DESTDIR=${STAGING_DIR}/usr
+ autotools_stage_includes
+# install -d -m 0755 ${STAGING_LIBDIR}/gtk-2.0/include
+# install -m 0644 gdk/gdkconfig.h ${STAGING_LIBDIR}/gtk-2.0/include/gdkconfig.h
+}
+
+do_install() {
+ cd gdk-pixbuf
+}
+
+# override the function in gtk-*.inc (included by gtk+*.bb)
+populate_packages_prepend () {
+
+}