[gnome-boxes/wip/rishi/rhel: 17/18] build: Install the custom osinfo database with Meson



commit 06105c044ed9b5c774ca5305d7d2be0787a1f6b2
Author: Debarshi Ray <debarshir gnome org>
Date:   Wed Oct 11 13:32:26 2017 +0200

    build: Install the custom osinfo database with Meson
    
    Fallout from 11a6ba04b8faeb316d2fa0fd5d1a23e3eb25e603
    
    https://bugzilla.gnome.org/show_bug.cgi?id=783234

 data/meson.build        |    2 ++
 data/osinfo/meson.build |   26 ++++++++++++++++++++++++++
 2 files changed, 28 insertions(+), 0 deletions(-)
---
diff --git a/data/meson.build b/data/meson.build
index dc7c24f..3ce2b64 100644
--- a/data/meson.build
+++ b/data/meson.build
@@ -49,3 +49,5 @@ configure_file (
   install: true,
   install_dir: join_paths(data_dir, 'glib-2.0', 'schemas'),
 )
+
+subdir ('osinfo')
diff --git a/data/osinfo/meson.build b/data/osinfo/meson.build
new file mode 100644
index 0000000..23f5065
--- /dev/null
+++ b/data/osinfo/meson.build
@@ -0,0 +1,26 @@
+install_data ('debian-1.0.xml',
+              install_dir : join_paths (get_option ('datadir'), 'gnome-boxes/osinfo/os/debian.org'))
+
+install_data ('fedora-1.xml',
+              install_dir : join_paths (get_option ('datadir'), 'gnome-boxes/osinfo/os/fedoraproject.org'))
+
+install_data ('opensuse-10.2.xml',
+              install_dir : join_paths (get_option ('datadir'), 'gnome-boxes/osinfo/os/opensuse.org'))
+
+install_data ('ubuntu-4.10.xml',
+              install_dir : join_paths (get_option ('datadir'), 'gnome-boxes/osinfo/os/ubuntu.com'))
+
+install_data ('gnome-3.6.xml',
+              install_dir : join_paths (get_option ('datadir'), 'gnome-boxes/osinfo/os/gnome.org'))
+
+install_data ('rhel-4.0.xml',
+              install_dir : join_paths (get_option ('datadir'), 'gnome-boxes/osinfo/os/redhat.com'))
+
+install_data ('rhel-5.0.xml',
+              install_dir : join_paths (get_option ('datadir'), 'gnome-boxes/osinfo/os/redhat.com'))
+
+install_data ('rhel-6.0.xml',
+              install_dir : join_paths (get_option ('datadir'), 'gnome-boxes/osinfo/os/redhat.com'))
+
+install_data ('rhel-7.0.xml',
+              install_dir : join_paths (get_option ('datadir'), 'gnome-boxes/osinfo/os/redhat.com'))
\ No newline at end of file


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]