[gtk/wip/otte/nodeeditor2] build: Fix renderer header installation path
- From: Timm Bäder <baedert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk/wip/otte/nodeeditor2] build: Fix renderer header installation path
- Date: Sat, 4 May 2019 08:58:06 +0000 (UTC)
commit 2cfdb15b3407bacbbb188bfe30f9e71a07d42068
Author: Timm Bäder <mail baedert org>
Date: Sat May 4 10:56:54 2019 +0200
build: Fix renderer header installation path
Just telling meson about gl/gskglrenderer.c will put the gskglrenderer.h
file directly under gtk-4.0/gsk/ and not gsk-4.0/gsk/gl.
gsk/gsk.h | 2 +-
gsk/meson.build | 7 +++++--
2 files changed, 6 insertions(+), 3 deletions(-)
---
diff --git a/gsk/gsk.h b/gsk/gsk.h
index b1ae837946..4db6132afc 100644
--- a/gsk/gsk.h
+++ b/gsk/gsk.h
@@ -1,5 +1,5 @@
/* GSK - The GTK Scene Kit
- * Copyright 2016 Endless
+ * Copyright 2016 Endless
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
diff --git a/gsk/meson.build b/gsk/meson.build
index 2d59a4ed51..1d7dca6736 100644
--- a/gsk/meson.build
+++ b/gsk/meson.build
@@ -56,12 +56,13 @@ gsk_public_headers = files([
'gsktransform.h',
'gsktypes.h',
'gsk-autocleanup.h',
- 'broadway/gskbroadwayrenderer.h',
- 'gl/gskglrenderer.h'
])
install_headers(gsk_public_headers, 'gsk.h', subdir: 'gtk-4.0/gsk')
+install_headers(files(['gl/gskglrenderer.h']), subdir: 'gtk-4.0/gsk/gl')
+install_headers(files(['broadway/gskbroadwayrenderer.h']), subdir: 'gtk-4.0/gsk/broadway')
+
gsk_private_vulkan_shaders = []
# This is an odd split because we use configure_file() below to workaround
# a limitation in meson preventing using custom_target() with gnome.compile_resources()
@@ -97,6 +98,8 @@ if have_vulkan
'vulkan/gskvulkanshader.c',
])
+ install_headers(files(['vulkan/gskvulkanrenderer.h']), subdir: 'gtk-4.0/gsk/vulkan')
+
subdir('resources/vulkan')
endif # have_vulkan
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]