summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJussi Pakkanen <jpakkane@gmail.com>2015-07-20 00:44:38 +0300
committerBastien Nocera <hadess@hadess.net>2015-07-23 11:56:08 +0200
commit962056d5f178cd0b2fc3fc3788058b7dfe878928 (patch)
treec20dd15d8d50fe5f84c956418497dcd9d79a1086
parent01b565de6673e4b65be9ff33f8520cf86afcd1f6 (diff)
downloadshared-mime-info-962056d5f178cd0b2fc3fc3788058b7dfe878928.tar.gz
Added Meson build definitions.
https://bugs.freedesktop.org/show_bug.cgi?id=91397
-rw-r--r--freedesktop.org.xml.in6
-rw-r--r--tests/list2
-rw-r--r--tests/meson.build3
-rw-r--r--tests/meson_options.txt1
4 files changed, 12 insertions, 0 deletions
diff --git a/freedesktop.org.xml.in b/freedesktop.org.xml.in
index 71cfab93..d1b58c65 100644
--- a/freedesktop.org.xml.in
+++ b/freedesktop.org.xml.in
@@ -5594,6 +5594,12 @@ command to generate the output files.
<glob pattern="*.m"/>
<alias type="text/x-octave"/>
</mime-type>
+ <mime-type type="text/x-meson">
+ <_comment>Meson source code</_comment>
+ <glob pattern="meson.build"/>
+ <glob pattern="meson_options.txt"/>
+ <sub-class-of type="text/plain"/>
+ </mime-type>
<mime-type type="text/x-modelica">
<_comment>Modelica model</_comment>
<sub-class-of type="text/plain"/>
diff --git a/tests/list b/tests/list
index f116e6f0..4859e759 100644
--- a/tests/list
+++ b/tests/list
@@ -455,6 +455,8 @@ text.ps application/postscript
text.ps.gz application/x-gzpostscript ox
text.PS.gz application/x-gzpostscript oxo
test.cmake text/x-cmake ox
+meson.build text/x-meson ox
+meson_options.txt text/x-meson ox
bluerect.mdi image/vnd.ms-modi
Stallman_Richard_-_The_GNU_Manifesto.fb2 application/x-fictionbook+xml
Stallman_Richard_-_The_GNU_Manifesto.fb2.zip application/x-zip-compressed-fb2
diff --git a/tests/meson.build b/tests/meson.build
new file mode 100644
index 00000000..fd49bbf2
--- /dev/null
+++ b/tests/meson.build
@@ -0,0 +1,3 @@
+project('sample', 'c')
+
+executable('testprog', 'prog.c')
diff --git a/tests/meson_options.txt b/tests/meson_options.txt
new file mode 100644
index 00000000..745d61e9
--- /dev/null
+++ b/tests/meson_options.txt
@@ -0,0 +1 @@
+option('sampleoption', type : 'boolean', value : false)