summaryrefslogtreecommitdiff
path: root/meson_options.txt
diff options
context:
space:
mode:
authorBenjamin Berg <bberg@redhat.com>2021-08-30 13:11:42 +0200
committerBastien Nocera <hadess@hadess.net>2021-09-02 17:47:30 +0200
commitf2e702d4dc22a04e6b660c63e77c93f269fb3818 (patch)
tree94bf38696e2342c163ecf629fb68808cee483011 /meson_options.txt
parent46ed29945125c241fe9a103e8b4f565472d453ef (diff)
downloadupower-f2e702d4dc22a04e6b660c63e77c93f269fb3818.tar.gz
build: Support building upower with meson
Diffstat (limited to 'meson_options.txt')
-rw-r--r--meson_options.txt31
1 files changed, 31 insertions, 0 deletions
diff --git a/meson_options.txt b/meson_options.txt
new file mode 100644
index 0000000..7a2757a
--- /dev/null
+++ b/meson_options.txt
@@ -0,0 +1,31 @@
+option('man',
+ type : 'boolean',
+ value : 'true',
+ description : 'Build manpages')
+option('gtk-doc',
+ type : 'boolean',
+ value : 'true',
+ description : 'Build developer documentation')
+option('introspection',
+ type : 'feature',
+ value : 'auto',
+ description : 'Build GObject Introspection data')
+option('udevrulesdir',
+ type : 'string',
+ value: 'auto',
+ description : 'Directory for udev rules')
+option('historydir',
+ type : 'string',
+ description : 'Directory for upower history files will be stored')
+option('systemdsystemunitdir',
+ type : 'string',
+ description : 'Directory for systemd service files ("no" to disable)')
+option('os_backend',
+ type : 'combo',
+ choices : [ 'auto', 'linux', 'freebsd', 'openbsd', 'dummy'],
+ value : 'auto',
+ description : 'Directory for systemd service files')
+option('idevice',
+ type : 'feature',
+ value : 'auto',
+ description : 'Build with libimobiledevice')