summaryrefslogtreecommitdiffstats
path: root/radio/meson.build
diff options
context:
space:
mode:
Diffstat (limited to 'radio/meson.build')
-rw-r--r--radio/meson.build22
1 files changed, 22 insertions, 0 deletions
diff --git a/radio/meson.build b/radio/meson.build
new file mode 100644
index 0000000..c8218a3
--- /dev/null
+++ b/radio/meson.build
@@ -0,0 +1,22 @@
+qt5_dep = dependency('qt5', modules: ['Qml'])
+
+moc_files = qt5.compile_moc(headers: 'radio.h',
+ dependencies: qt5_dep)
+
+src = ['radio.cpp', moc_files]
+lib = shared_library('qtappfw-radio',
+ sources: src,
+ version: '1.0.0',
+ soversion: '0',
+ dependencies: qt5_dep,
+ install: true)
+
+install_headers('radio.h')
+
+pkg_mod = import('pkgconfig')
+pkg_mod.generate(libraries : lib,
+ version : '1.0',
+ name : 'libqtappfw-radio',
+ filebase : 'qtappfw-radio',
+ requires: 'Qt5Qml',
+ description : 'Library wrapping AGL radio API in Qt objects')