Skip to content

Commit 1e4d00f

Browse files
committed
Add a Meson option to enable/disable Plymouth HiDPI support.
1 parent 1716781 commit 1e4d00f

File tree

2 files changed

+11
-1
lines changed

2 files changed

+11
-1
lines changed

meson.build

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,4 +51,8 @@ subdir('skel')
5151
subdir('gtk')
5252

5353
# Plymouth HiDPI support
54-
subdir('plymouth')
54+
if get_option('enable-plymouth-hidpi')
55+
subdir('plymouth')
56+
else
57+
message('Plymouth HiDPI support disabled.')
58+
endif

meson_options.txt

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,3 +17,9 @@ option('default-gsettings-overrides',
1717
type: 'boolean',
1818
value: true,
1919
description: 'Install default Pantheon GSettings Overrides')
20+
21+
option('enable-plymouth-hidpi',
22+
type: 'boolean',
23+
value: true,
24+
description: 'Enable Plymouth HiDPI support.')
25+

0 commit comments

Comments
 (0)