[epiphany/wip/sync: 73/74] build: Turn libephysync into a shared library



commit 2a4cec1701926a35235c92344add9a1f5fc5ea71
Author: Gabriel Ivascu <ivascu gabriel59 gmail com>
Date:   Wed Aug 2 11:56:06 2017 +0100

    build: Turn libephysync into a shared library

 embed/meson.build                            |    1 -
 {embed => lib}/ephy-notification-container.c |    0
 {embed => lib}/ephy-notification-container.h |    0
 lib/{widgets => }/ephy-notification.c        |    0
 lib/{widgets => }/ephy-notification.h        |    0
 lib/meson.build                              |    2 ++
 lib/sync/meson.build                         |    7 +++++--
 lib/widgets/meson.build                      |    1 -
 8 files changed, 7 insertions(+), 4 deletions(-)
---
diff --git a/embed/meson.build b/embed/meson.build
index a5384c9..8d23845 100644
--- a/embed/meson.build
+++ b/embed/meson.build
@@ -26,7 +26,6 @@ libephyembed_sources = [
   'ephy-encodings.c',
   'ephy-file-monitor.c',
   'ephy-find-toolbar.c',
-  'ephy-notification-container.c',
   'ephy-option-menu.c',
   'ephy-web-view.c',
   'ephy-web-extension-proxy.c',
diff --git a/embed/ephy-notification-container.c b/lib/ephy-notification-container.c
similarity index 100%
rename from embed/ephy-notification-container.c
rename to lib/ephy-notification-container.c
diff --git a/embed/ephy-notification-container.h b/lib/ephy-notification-container.h
similarity index 100%
rename from embed/ephy-notification-container.h
rename to lib/ephy-notification-container.h
diff --git a/lib/widgets/ephy-notification.c b/lib/ephy-notification.c
similarity index 100%
rename from lib/widgets/ephy-notification.c
rename to lib/ephy-notification.c
diff --git a/lib/widgets/ephy-notification.h b/lib/ephy-notification.h
similarity index 100%
rename from lib/widgets/ephy-notification.h
rename to lib/ephy-notification.h
diff --git a/lib/meson.build b/lib/meson.build
index d2ee3bf..aa10557 100644
--- a/lib/meson.build
+++ b/lib/meson.build
@@ -22,6 +22,8 @@ libephymisc_sources = [
   'ephy-filters-manager.c',
   'ephy-gui.c',
   'ephy-langs.c',
+  'ephy-notification.c',
+  'ephy-notification-container.c',
   'ephy-permissions-manager.c',
   'ephy-profile-utils.c',
   'ephy-search-engine-manager.c',
diff --git a/lib/sync/meson.build b/lib/sync/meson.build
index 6851b6c..5a5b066 100644
--- a/lib/sync/meson.build
+++ b/lib/sync/meson.build
@@ -14,6 +14,7 @@ libephysync_sources = [
 ]
 
 libephysync_deps = [
+  ephymisc_dep,
   glib_dep,
   gmp_dep,
   hogweed_dep,
@@ -33,10 +34,12 @@ libephysync_includes = include_directories(
   'debug'
 )
 
-libephysync = static_library('ephysync',
+libephysync = shared_library('ephysync',
   libephysync_sources,
   dependencies: libephysync_deps,
-  include_directories: libephysync_includes
+  include_directories: libephysync_includes,
+  install: true,
+  install_dir: pkglibdir
 )
 
 ephysync_dep = declare_dependency(
diff --git a/lib/widgets/meson.build b/lib/widgets/meson.build
index 76ff48b..5669df6 100644
--- a/lib/widgets/meson.build
+++ b/lib/widgets/meson.build
@@ -18,7 +18,6 @@ libephywidgets_sources = [
   'ephy-file-chooser.c',
   'ephy-location-entry.c',
   'ephy-middle-clickable-button.c',
-  'ephy-notification.c',
   'ephy-security-popover.c',
   'ephy-title-box.c',
   'ephy-title-widget.c',


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