media-video/pitivi: Add patch missed in previous commit
authorPacho Ramos <pacho@gentoo.org>
Sun, 31 Mar 2019 23:30:07 +0000 (01:30 +0200)
committerPacho Ramos <pacho@gentoo.org>
Sun, 31 Mar 2019 23:30:17 +0000 (01:30 +0200)
Bug: https://bugs.gentoo.org/659332
Package-Manager: Portage-2.3.62, Repoman-2.3.12
Signed-off-by: Pacho Ramos <pacho@gentoo.org>
media-video/pitivi/files/pitivi-0.999-optional-tests.patch [new file with mode: 0644]

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 (file)
index 0000000..50a6218
--- /dev/null
@@ -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