[shotwell/wip/autotools: 12/27] build: Add publishing plugins
- From: Jens Georg <jensgeorg src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [shotwell/wip/autotools: 12/27] build: Add publishing plugins
- Date: Tue, 28 Jun 2016 22:49:15 +0000 (UTC)
commit 4a6a872127d500e204066f8db4df30be1f46693c
Author: Jens Georg <mail jensge org>
Date: Wed Jun 29 00:23:51 2016 +0200
build: Add publishing plugins
Signed-off-by: Jens Georg <mail jensge org>
Makefile.am | 3 +++
configure.ac | 4 ++++
publish.am | 29 +++++++++++++++++++++++++++++
3 files changed, 36 insertions(+), 0 deletions(-)
---
diff --git a/Makefile.am b/Makefile.am
index 66afde2..83fc389 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -84,3 +84,6 @@ src_plugins_libplugin_la_CFLAGS = $(PLUGIN_CFLAGS)
include $(top_srcdir)/common.am
include $(top_srcdir)/shotwell.am
include $(top_srcdir)/thumbnailer.am
+
+# Plugins
+include $(top_srcdir)/publish.am
\ No newline at end of file
diff --git a/configure.ac b/configure.ac
index aaa3a6d..41d2cb2 100644
--- a/configure.ac
+++ b/configure.ac
@@ -104,6 +104,10 @@ PKG_CHECK_MODULES(SHOTWELL, [
])
PKG_CHECK_MODULES(THUMBNAILER, [gee-0.8 >= 0.8.5 gtk+-3.0 >= 3.12.2
gstreamer-base-1.0 >= 1.0.0])
+PKG_CHECK_MODULES(PLUGIN, [gee-0.8 >= 0.8.5 gtk+-3.0 >= 3.12.2
+ gio-2.0 >= 2.30.0 libsoup-2.4 json-glib-1.0
+ webkit2gtk-4.0 rest-0.7
+ ])
AC_ARG_ENABLE([unity-support],
AS_HELP_STRING([--enable-unity-support],
diff --git a/publish.am b/publish.am
new file mode 100644
index 0000000..1ea921f
--- /dev/null
+++ b/publish.am
@@ -0,0 +1,29 @@
+pkglib_LTLIBRARIES = plugins/shotwell-publishing/libshotwell-publishing.la
+
+plugins_shotwell_publishing_libshotwell_publishing_la_SOURCES = \
+ plugins/shotwell-publishing/shotwell-publishing.vala \
+ plugins/shotwell-publishing/FacebookPublishing.vala \
+ plugins/shotwell-publishing/PicasaPublishing.vala \
+ plugins/shotwell-publishing/FlickrPublishing.vala \
+ plugins/shotwell-publishing/YouTubePublishing.vala \
+ plugins/shotwell-publishing/PiwigoPublishing.vala \
+ src/util/string.vala \
+ plugins/shotwell-publishing-support.vapi
+
+plugins_shotwell_publishing_libshotwell_publishing_la_VALAFLAGS = \
+ $(COMMON_VALAFLAGS) \
+ --pkg gtk+-3.0 \
+ --pkg libsoup-2.4 \
+ --pkg gexiv2 \
+ --pkg rest-0.7 \
+ --pkg gee-0.8 \
+ --pkg json-glib-1.0 \
+ --pkg shotwell-plugin-dev-1.0 \
+ --pkg libxml-2.0 \
+ --pkg webkit2gtk-4.0 \
+ --vapidir $(top_srcdir)/plugins
+
+plugins_shotwell_publishing_libshotwell_publishing_la_CFLAGS = \
+ $(PLUGIN_CFLAGS) \
+ $(COMMON_CFLAGS)
+plugins_shotwell_publishing_libshotwell_publishing_la_LDFLAGS = -Wno-undefined
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]