summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'media-video/pitivi/files/pitivi-0.999-optional-tests.patch')
-rw-r--r--media-video/pitivi/files/pitivi-0.999-optional-tests.patch18
1 files changed, 18 insertions, 0 deletions
diff --git a/media-video/pitivi/files/pitivi-0.999-optional-tests.patch b/media-video/pitivi/files/pitivi-0.999-optional-tests.patch
new file mode 100644
index 000000000000..50a62188f8e3
--- /dev/null
+++ b/media-video/pitivi/files/pitivi-0.999-optional-tests.patch
@@ -0,0 +1,18 @@
+--- a/meson_options.txt~ 2018-08-29 15:33:20.000000000 +0200
++++ b/meson_options.txt 2019-03-31 13:14:19.542837289 +0200
+@@ -1,2 +1,3 @@
+ option('disable-help', type : 'boolean', value : false)
+ option('build-gst', type : 'boolean', value : false)
++option('enable-tests', type : 'boolean', value : false)
+--- a/meson.build~ 2018-08-29 15:33:20.000000000 +0200
++++ b/meson.build 2019-03-31 13:14:56.299216758 +0200
+@@ -84,5 +84,7 @@
+ if not get_option('disable-help')
+ subdir('help')
+ endif
+-subdir('tests')
+-subdir('tests/validate-tests')
++if get_option('enable-tests')
++ subdir('tests')
++ subdir('tests/validate-tests')
++endif