[cantarell-fonts/use-meson-rewrite] Guard prebuilt fonts with conditionals
- From: Nikolaus Waxweiler <nwaxweiler src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [cantarell-fonts/use-meson-rewrite] Guard prebuilt fonts with conditionals
- Date: Fri, 27 Aug 2021 20:27:59 +0000 (UTC)
commit 1cd6785200e9115b2541b22d9d49c31038152e9e
Author: Nikolaus Waxweiler <madigens gmail com>
Date: Fri Aug 27 21:27:52 2021 +0100
Guard prebuilt fonts with conditionals
prebuilt/meson.build | 17 +++++++++++------
1 file changed, 11 insertions(+), 6 deletions(-)
---
diff --git a/prebuilt/meson.build b/prebuilt/meson.build
index 78ed3134..1dfad3c6 100644
--- a/prebuilt/meson.build
+++ b/prebuilt/meson.build
@@ -1,6 +1,11 @@
-install_data('Cantarell-Thin.otf', install_dir : fontsdir)
-install_data('Cantarell-Light.otf', install_dir : fontsdir)
-install_data('Cantarell-Regular.otf', install_dir : fontsdir)
-install_data('Cantarell-Bold.otf', install_dir : fontsdir)
-install_data('Cantarell-ExtraBold.otf', install_dir : fontsdir)
-install_data('Cantarell-VF.otf', install_dir : fontsdir)
+if get_option('buildstatics') == true
+ install_data('Cantarell-Thin.otf', install_dir : fontsdir)
+ install_data('Cantarell-Light.otf', install_dir : fontsdir)
+ install_data('Cantarell-Regular.otf', install_dir : fontsdir)
+ install_data('Cantarell-Bold.otf', install_dir : fontsdir)
+ install_data('Cantarell-ExtraBold.otf', install_dir : fontsdir)
+endif
+
+if get_option('buildvf') == true
+ install_data('Cantarell-VF.otf', install_dir : fontsdir)
+endif
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]