[shotwell/wip/autotools: 9/27] build: Add thumbnailer



commit ac2850c0916e4a64e8b8122e345576bf5a021a03
Author: Jens Georg <mail jensge org>
Date:   Wed Jun 29 00:13:05 2016 +0200

    build: Add thumbnailer
    
    Signed-off-by: Jens Georg <mail jensge org>

 Makefile.am    |    1 +
 configure.ac   |    2 ++
 thumbnailer.am |   10 ++++++++++
 3 files changed, 13 insertions(+), 0 deletions(-)
---
diff --git a/Makefile.am b/Makefile.am
index 058852e..faae55b 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -36,3 +36,4 @@ GITIGNOREFILES = \
 
 include $(top_srcdir)/common.am
 include $(top_srcdir)/shotwell.am
+include $(top_srcdir)/thumbnailer.am
diff --git a/configure.ac b/configure.ac
index 73678dc..aaa3a6d 100644
--- a/configure.ac
+++ b/configure.ac
@@ -102,6 +102,8 @@ PKG_CHECK_MODULES(SHOTWELL, [
                              sqlite3 >= 3.5.9
                              webkit2gtk-4.0
                             ])
+PKG_CHECK_MODULES(THUMBNAILER, [gee-0.8 >= 0.8.5 gtk+-3.0 >= 3.12.2
+                                gstreamer-base-1.0 >= 1.0.0])
 
 AC_ARG_ENABLE([unity-support],
               AS_HELP_STRING([--enable-unity-support],
diff --git a/thumbnailer.am b/thumbnailer.am
new file mode 100644
index 0000000..b33e5c1
--- /dev/null
+++ b/thumbnailer.am
@@ -0,0 +1,10 @@
+pkglibexec_PROGRAMS = thumbnailer/shotwell-video-thumbnailer
+
+thumbnailer_shotwell_video_thumbnailer_SOURCES = thumbnailer/shotwell-video-thumbnailer.vala
+thumbnailer_shotwell_video_thumbnailer_VALAFLAGS = $(COMMON_VALAFLAGS) \
+       --pkg gstreamer-1.0 \
+       --pkg gee-0.8 \
+       --pkg gtk+-3.0
+
+thumbnailer_shotwell_video_thumbnailer_CFLAGS = $(THUMBNAILER_CFLAGS)
+thumbnailer_shotwell_video_thumbnailer_LDADD = $(THUMBNAILER_LIBS)


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]