summaryrefslogtreecommitdiffstats
path: root/rules/gdk-pixbuf.in
diff options
context:
space:
mode:
authorMichael Olbrich <m.olbrich@pengutronix.de>2011-12-07 16:08:01 +0100
committerMichael Olbrich <m.olbrich@pengutronix.de>2011-12-09 09:44:12 +0100
commit8ab9f5441989be1fa278a2aa29059c25109d70ff (patch)
tree33f1a39809c8c4e522aadeb069362f61598ba7a7 /rules/gdk-pixbuf.in
parent31ef1fc2735b040e422a7b827b6cb1421cd185b6 (diff)
downloadptxdist-8ab9f5441989be1fa278a2aa29059c25109d70ff.tar.gz
ptxdist-8ab9f5441989be1fa278a2aa29059c25109d70ff.tar.xz
gdk-pixbuf: add options for png & jpeg support
Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
Diffstat (limited to 'rules/gdk-pixbuf.in')
-rw-r--r--rules/gdk-pixbuf.in20
1 files changed, 18 insertions, 2 deletions
diff --git a/rules/gdk-pixbuf.in b/rules/gdk-pixbuf.in
index ea5ffd5a3..c7dff5d86 100644
--- a/rules/gdk-pixbuf.in
+++ b/rules/gdk-pixbuf.in
@@ -1,8 +1,24 @@
## SECTION=multimedia_gtk
-config GDK_PIXBUF
+menuconfig GDK_PIXBUF
tristate
- prompt "gdk-pixbuf"
+ prompt "gdk-pixbuf "
select GLIB
+ select LIBPNG if GDK_PIXBUF_LOADER_PNG
+ select LIBJPEG if GDK_PIXBUF_LOADER_JPEG
help
GTK helper library for pixel handling.
+
+if GDK_PIXBUF
+
+config GDK_PIXBUF_LOADER_PNG
+ bool
+ prompt "png loader"
+ default y
+
+config GDK_PIXBUF_LOADER_JPEG
+ bool
+ prompt "jpeg loader"
+
+endif
+