summaryrefslogtreecommitdiffstats
path: root/rules/gdk-pixbuf.in
diff options
context:
space:
mode:
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
+