summaryrefslogtreecommitdiff
path: root/src/meson.build
diff options
context:
space:
mode:
authorJeremy Bicha <jbicha@debian.org>2021-09-19 08:31:04 -0400
committerJeremy Bicha <jbicha@debian.org>2021-09-19 08:31:04 -0400
commit8be77dbb38d2d96e66cadc38a9adb30f161c7ad0 (patch)
treed6d626e993d2ba4c301cb27346022e568d965c21 /src/meson.build
parentNew upstream version 3.32.0 (diff)
parentBump version for 3.41.0 (diff)
downloadzenity-8be77dbb38d2d96e66cadc38a9adb30f161c7ad0.tar.gz
zenity-8be77dbb38d2d96e66cadc38a9adb30f161c7ad0.tar.bz2
zenity-8be77dbb38d2d96e66cadc38a9adb30f161c7ad0.zip
New upstream version 3.41.0
Diffstat (limited to 'src/meson.build')
-rw-r--r--src/meson.build51
1 files changed, 51 insertions, 0 deletions
diff --git a/src/meson.build b/src/meson.build
new file mode 100644
index 00000000..748fe316
--- /dev/null
+++ b/src/meson.build
@@ -0,0 +1,51 @@
+# for i in `ls *.c`; do echo " '${i}',"; done
+zenity_sources = [
+ 'about.c',
+ 'calendar.c',
+ 'color.c',
+ 'entry.c',
+ 'fileselection.c',
+ 'forms.c',
+ 'main.c',
+ 'msg.c',
+ 'notification.c',
+ 'option.c',
+ 'password.c',
+ 'progress.c',
+ 'scale.c',
+ 'text.c',
+ 'tree.c',
+ 'util.c'
+]
+
+zenity_deps = [
+ gtk_dep,
+ libnotify,
+ webkitgtk,
+ x11
+]
+
+zenity_c_args = [
+ '-DG_LOG_DOMAIN="Zenity"'
+]
+
+zenity = executable(
+ meson.project_name(),
+ zenity_sources,
+ include_directories: zenity_root_dir,
+ dependencies: zenity_deps,
+ c_args: zenity_c_args,
+ install: true
+)
+
+if perl.found()
+ configure_file(
+ input: 'gdialog.in',
+ output: 'gdialog',
+ configuration: zenity_conf,
+ install_dir: zenity_bindir,
+ install: true
+ )
+endif
+
+install_data('zenity.ui')
bgstack15