diff options
author | Nick Schermer <nick@xfce.org> | 2012-12-11 20:56:25 +0100 |
---|---|---|
committer | Nick Schermer <nick@xfce.org> | 2012-12-27 11:28:27 +0100 |
commit | 72a8b6ad2af67a2455ac0da78a9304138a35c429 (patch) | |
tree | d2b48f9ab4ec8c8f62ed1d491264a2399700ffc1 /acinclude.m4 | |
parent | f2dba5074031aa2faa447ec30ac107debdda7f26 (diff) | |
download | tumbler-72a8b6ad2af67a2455ac0da78a9304138a35c429.tar.gz |
Add cover-thumbnailer for movies.
Thumbnailer that tries to download the poster of
the movie and use it as thumbnail.
Plugin send local information over the internet, so you
need to explicitly enable the plugin using an rc file.
See http://docs.xfce.org/xfce/thunar/tumbler
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 4105e37..9afa9c9 100644 --- a/acinclude.m4 +++ b/acinclude.m4 @@ -244,6 +244,30 @@ AC_MSG_RESULT([$ac_tumbler_raw_thumbnailer]) +dnl TUMBLER_COVER_THUMBNAILER() +dnl +dnl Check whether to build and install the Open Movie Database thumbnailer plugin. +dnl +AC_DEFUN([TUMBLER_COVER_THUMBNAILER], +[ +AC_ARG_ENABLE([pixbuf-thumbnailer], [AC_HELP_STRING([--disable-cover-thumbnailer], [Don't build the Cover thumbnailer plugin])], + [ac_tumbler_cover_thumbnailer=$enableval], [ac_tumbler_cover_thumbnailer=yes]) +if test x"$ac_tumbler_cover_thumbnailer" = x"yes"; then + dnl Check for gdk-pixbuf + PKG_CHECK_MODULES([GDK_PIXBUF], [gdk-pixbuf-2.0 >= 2.14], + [ + dnl CHeck for curl + PKG_CHECK_MODULES([CURL], [libcurl], [], [ac_tumbler_cover_thumbnailer=no]) + ], [ac_tumbler_cover_thumbnailer=no]) +fi + +AC_MSG_CHECKING([whether to build the Cover thumbnailer plugin]) +AM_CONDITIONAL([TUMBLER_COVER_THUMBNAILER], [test x"$ac_tumbler_cover_thumbnailer" = x"yes"]) +AC_MSG_RESULT([$ac_tumbler_cover_thumbnailer]) +]) + + + dnl TUMBLER_XDG_CACHE() dnl dnl Check whether to build and install the freedesktop.org cache plugin. |