[gnome-build-meta/abderrahim/fdsdk-master: 2/9] core-deps/eos-updater.bst: backport patch to fix build with newer meson




commit e95a6620210442a8b7b8b41b2927f6acbbaea4d4
Author: Abderrahim Kitouni <akitouni gnome org>
Date:   Mon Mar 7 10:10:45 2022 +0100

    core-deps/eos-updater.bst: backport patch to fix build with newer meson

 elements/core-deps/eos-updater.bst                 |  2 ++
 .../remove-static-library-version.patch            | 36 ++++++++++++++++++++++
 2 files changed, 38 insertions(+)
---
diff --git a/elements/core-deps/eos-updater.bst b/elements/core-deps/eos-updater.bst
index 209669872..64e3ad5e3 100644
--- a/elements/core-deps/eos-updater.bst
+++ b/elements/core-deps/eos-updater.bst
@@ -3,6 +3,8 @@ kind: meson
 sources:
 - kind: tar
   url: github_files:endlessm/eos-updater/archive/Release_4.0.2.tar.gz
+- kind: patch
+  path: files/eos-updater/remove-static-library-version.patch
 
 depends:
 - core-deps/NetworkManager.bst
diff --git a/files/eos-updater/remove-static-library-version.patch 
b/files/eos-updater/remove-static-library-version.patch
new file mode 100644
index 000000000..1ed0ee8f6
--- /dev/null
+++ b/files/eos-updater/remove-static-library-version.patch
@@ -0,0 +1,36 @@
+diff --git a/eos-updater/meson.build b/eos-updater/meson.build
+index 825a6ec..dd4d5a1 100644
+--- a/eos-updater/meson.build
++++ b/eos-updater/meson.build
+@@ -40,7 +40,6 @@ libeos_updater_dbus = static_library('eos-updater-dbus',
+   dependencies: libeos_updater_dbus_deps,
+   include_directories: root_inc,
+   install: false,
+-  version: meson.project_version(),
+ )
+ libeos_updater_dbus_dep = declare_dependency(
+   link_with: libeos_updater_dbus,
+diff --git a/libeos-update-server/meson.build b/libeos-update-server/meson.build
+index a11b619..517ea23 100644
+--- a/libeos-update-server/meson.build
++++ b/libeos-update-server/meson.build
+@@ -40,7 +40,6 @@ libeos_update_server = static_library('eos-update-server-' + eus_api_version,
+   dependencies: libeos_update_server_deps,
+   include_directories: root_inc,
+   install: false,
+-  version: meson.project_version(),
+ )
+ libeos_update_server_dep = declare_dependency(
+   link_with: libeos_update_server,
+diff --git a/test-common/meson.build b/test-common/meson.build
+index 9e47567..95e5c49 100644
+--- a/test-common/meson.build
++++ b/test-common/meson.build
+@@ -58,7 +58,6 @@ libeos_updater_test_common = static_library('eos-updater-test-common',
+   dependencies: libeos_updater_test_common_deps,
+   include_directories: root_inc,
+   install: false,
+-  version: meson.project_version(),
+ )
+ libeos_updater_test_common_dep = declare_dependency(
+   link_with: libeos_updater_test_common,


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