diff options
author | rbuj <[email protected]> | 2020-01-28 14:02:06 +0100 |
---|---|---|
committer | raveit65 <[email protected]> | 2020-02-04 23:00:30 +0100 |
commit | 43c2d257abf33d402bf6e219a0a5362db7b9ba64 (patch) | |
tree | bafaff02b0e3e17803c2ad3c9652c2f46d10411a /thumbnailer | |
parent | b8914e016c2e5b62f0583aaa742d36e0a3423161 (diff) | |
download | eom-43c2d257abf33d402bf6e219a0a5362db7b9ba64.tar.bz2 eom-43c2d257abf33d402bf6e219a0a5362db7b9ba64.tar.xz |
thumbnailer: add --with-gdk-pixbuf-thumbnailer option
Let user choose gdk-pixbuf-thumbnailer or eom-thumbnailer for making
webp thumbnails.
Diffstat (limited to 'thumbnailer')
-rw-r--r-- | thumbnailer/Makefile.am | 10 | ||||
-rw-r--r-- | thumbnailer/eom-thumbnailer.thumbnailer.in | 4 |
2 files changed, 6 insertions, 8 deletions
diff --git a/thumbnailer/Makefile.am b/thumbnailer/Makefile.am index 4501ba7..04b56a7 100644 --- a/thumbnailer/Makefile.am +++ b/thumbnailer/Makefile.am @@ -1,34 +1,32 @@ NULL = -bin_PROGRAMS = eom-thumbnailer +if USE_INTERNAL_THUMBNAILER +bin_PROGRAMS = eom-thumbnailer eom_thumbnailer_SOURCES = \ eom-thumbnailer.c \ $(NULL) - eom_thumbnailer_CPPFLAGS = \ -I$(top_srcdir) \ -I$(top_builddir) \ $(AM_CPPFLAGS) \ $(NULL) - eom_thumbnailer_CFLAGS = \ $(THUMBNAILER_CFLAGS) \ $(DISABLE_DEPRECATED) \ $(WARN_CFLAGS) \ $(AM_CFLAGS) \ $(NULL) - eom_thumbnailer_LDFLAGS = \ $(AM_LDFLAGS) \ -lm \ $(THUMBNAILER_LIBS) \ $(NULL) +endif + thumbnailerdir = $(datadir)/thumbnailers thumbnailer_DATA = eom-thumbnailer.thumbnailer -%.thumbnailer: %.thumbnailer.in - $(AM_V_GEN) sed -e 's|@bindir[@]|$(bindir)|g' $< > $@ EXTRA_DIST = \ eom-thumbnailer.thumbnailer.in \ diff --git a/thumbnailer/eom-thumbnailer.thumbnailer.in b/thumbnailer/eom-thumbnailer.thumbnailer.in index 1583b4f..b6412b2 100644 --- a/thumbnailer/eom-thumbnailer.thumbnailer.in +++ b/thumbnailer/eom-thumbnailer.thumbnailer.in @@ -1,4 +1,4 @@ [Thumbnailer Entry] -TryExec=@bindir@/eom-thumbnailer -Exec=@bindir@/eom-thumbnailer -s %s %u %o +TryExec=@EOM_THUMBNAILER@ +Exec=@EOM_THUMBNAILER@ -s %s %u %o MimeType=image/webp; |