summaryrefslogtreecommitdiffstats
path: root/telephony/meson.build
diff options
context:
space:
mode:
authorScott Murray <scott.murray@konsulko.com>2022-09-19 17:46:22 -0400
committerScott Murray <scott.murray@konsulko.com>2022-09-21 14:34:54 +0000
commit06810868c74ddea6e336fd8f44692a975c628eba (patch)
treefc9c197e85136a4e9315ddec1889c5033aad5bbe /telephony/meson.build
parent6420728323808d6eea8f83688631f149af186e5d (diff)
Add meson.build files
Add meson configuration missed in previous commit. Bug-AGL: SPEC-4559 Signed-off-by: Scott Murray <scott.murray@konsulko.com> Change-Id: Idbcd961ab91cf48e7dc3b841aee3a79d0b615dcd (cherry picked from commit 5bf2b9d30ccea0f5468b22abedbe1629691eab15)
Diffstat (limited to 'telephony/meson.build')
-rw-r--r--telephony/meson.build22
1 files changed, 22 insertions, 0 deletions
diff --git a/telephony/meson.build b/telephony/meson.build
new file mode 100644
index 0000000..934d70c
--- /dev/null
+++ b/telephony/meson.build
@@ -0,0 +1,22 @@
+qt5_dep = dependency('qt5', modules: ['Qml'])
+
+moc_files = qt5.compile_moc(headers: 'telephony.h',
+ dependencies: qt5_dep)
+
+src = ['telephony.cpp', moc_files]
+lib = shared_library('qtappfw-phone',
+ sources: src,
+ version: '1.0.0',
+ soversion: '0',
+ dependencies: qt5_dep,
+ install: true)
+
+install_headers('telephony.h')
+
+pkg_mod = import('pkgconfig')
+pkg_mod.generate(libraries : lib,
+ version : '1.0',
+ name : 'libqtappfw-phone',
+ filebase : 'qtappfw-phone',
+ requires: 'Qt5Qml',
+ description : 'Library wrapping AGL telephony API in Qt objects')