summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'media-video/pitivi/files/pitivi-0.97.1-optional-tests.patch')
-rw-r--r--media-video/pitivi/files/pitivi-0.97.1-optional-tests.patch21
1 files changed, 21 insertions, 0 deletions
diff --git a/media-video/pitivi/files/pitivi-0.97.1-optional-tests.patch b/media-video/pitivi/files/pitivi-0.97.1-optional-tests.patch
new file mode 100644
index 000000000000..cfc86dccb1d6
--- /dev/null
+++ b/media-video/pitivi/files/pitivi-0.97.1-optional-tests.patch
@@ -0,0 +1,21 @@
+make tests optional
+
+--- a/meson_options.txt 2016-09-19 23:35:54.944511834 +0200
++++ b/meson_options.txt 2016-09-19 23:36:10.693485976 +0200
+@@ -1,2 +1,3 @@
+ option('enable-xunit', type : 'boolean', value : false)
+ option('disable-help', type : 'boolean', value : false)
++option('enable-tests', type : 'boolean', value : false)
+--- a/meson.build 2016-09-19 23:35:06.694590798 +0200
++++ b/meson.build 2016-09-19 23:35:45.092527990 +0200
+@@ -57,7 +57,9 @@
+ if not get_option('disable-help')
+ subdir('help')
+ endif
+-subdir('tests')
++if get_option('enable-tests')
++ subdir('tests')
++endif
+
+ archiver = find_program('git-archive-all', required : false)
+ if archiver.found()