[epiphany/wip/sync] build: Turn libephysync into a shared library
- From: Gabriel Ivașcu <gabrielivascu src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [epiphany/wip/sync] build: Turn libephysync into a shared library
- Date: Wed, 2 Aug 2017 11:09:24 +0000 (UTC)
commit 66f38c94b34aa765117c4a176368bfdf1ed62589
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 f6d2297..ecfb5ec 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-web-view.c',
'ephy-web-extension-proxy.c',
enums
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]