diff options
author | Tam Merlant <tam.ille@free.fr> | 2011-11-03 15:59:11 +0100 |
---|---|---|
committer | Nick Schermer <nick@xfce.org> | 2011-11-03 16:11:28 +0100 |
commit | 9678fcbc942ae752571438ad7723e64b982a3302 (patch) | |
tree | 040fc27d190f50cc8d3e473e00ba19c82122d90e /acinclude.m4 | |
parent | 14bcb51730324e875478d7b7b98093bd18cf8937 (diff) | |
download | tumbler-9678fcbc942ae752571438ad7723e64b982a3302.tar.gz |
Implement a raw thumbnailer using libopenraw.
Diffstat (limited to 'acinclude.m4')
-rw-r--r-- | acinclude.m4 | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/acinclude.m4 b/acinclude.m4 index a8215e0..a61bf3a 100644 --- a/acinclude.m4 +++ b/acinclude.m4 @@ -217,6 +217,30 @@ AC_MSG_RESULT([$ac_tumbler_odf_thumbnailer]) +dnl TUMBLER_RAW_THUMBNAILER() +dnl +dnl Check whether to build and install the libopenraw thumbnailer plugin. +dnl +AC_DEFUN([TUMBLER_RAW_THUMBNAILER], +[ +AC_ARG_ENABLE([raw-thumbnailer], [AC_HELP_STRING([--disable-raw-thumbnailer], [Don't build the Raw video thumbnailer plugin])], + [ac_tumbler_raw_thumbnailer=$enableval], [ac_tumbler_raw_thumbnailer=yes]) +if test x"$ac_tumbler_raw_thumbnailer" = x"yes"; then + dnl Check for gdk-pixbuf + PKG_CHECK_MODULES([GDK_PIXBUF], [gdk-pixbuf-2.0 >= 2.14], + [ + dnl Check for libopenraw + PKG_CHECK_MODULES([LIBOPENRAW_GNOME], [libopenraw-gnome-1.0 >= 0.0.4], [], [ac_tumbler_raw_thumbnailer=no]) + ], [ac_tumbler_raw_thumbnailer=no]) +fi + +AC_MSG_CHECKING([whether to build the Raw thumbnailer plugin]) +AM_CONDITIONAL([TUMBLER_RAW_THUMBNAILER], [test x"$ac_tumbler_raw_thumbnailer" = x"yes"]) +AC_MSG_RESULT([$ac_tumbler_raw_thumbnailer]) +]) + + + dnl TUMBLER_XDG_CACHE() dnl dnl Check whether to build and install the freedesktop.org cache plugin. |