From: Christian Hergert <chergert@redhat.com>
Date: Mon, 1 Oct 2018 13:21:57 -0700
Subject: style-scheme: install style-scheme for legacy gtksourceview-3.0 apps

This allows older applications to use the style-scheme, such as gedit.

Fixes #652

(cherry picked from commit 3cee45fc5be8da780c179171d89395a555812830)
---
 data/style-schemes/meson.build | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/data/style-schemes/meson.build b/data/style-schemes/meson.build
index 128a42a..786c508 100644
--- a/data/style-schemes/meson.build
+++ b/data/style-schemes/meson.build
@@ -2,3 +2,10 @@ install_data([
   'builder.style-scheme.xml',
   'builder-dark.style-scheme.xml',
 ], install_dir: join_paths(get_option('datadir'), 'gtksourceview-4/styles'))
+
+# For applications using legacy gtksourceview-3.0, like gedit up until
+# recently, install the style-schemes for them too.
+install_data([
+  'builder.style-scheme.xml',
+  'builder-dark.style-scheme.xml',
+], install_dir: join_paths(get_option('datadir'), 'gtksourceview-3.0/styles'))
