A fork of the Materia GTK theme.

By using this site, you agree to have cookies stored on your device, strictly for functional purposes, such as storing your session and preferences.

Dismiss

build: Adjust the description of build options

roundabout,
created on Friday, 9 April 2021, 04:17:59 (1617941879), received on Sunday, 11 May 2025, 13:23:03 (1746969783)
Author identity: nana-4 <hnmaigo@gmail.com>

c626c3adc64d0bef5ad38fb67e02f245d3b64d85

INSTALL.md

@@ -27,7 +27,7 @@ git clone https://github.com/nana-4/materia-theme

                                
                                
                                
                            
                                
                                    
                                        
                                            
                                            cd materia-theme
                                        
                                        
                                            
                                            
                                            
                                            
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                            
                                            ```
                                        
                                        
                                            
                                            
                                            
                                            
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                            
                                            
                                        
                                        
                                            
                                            
                                            
                                            
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                        2. Configure the project using Meson (you can specify build options [as below](#build-options)):
                                        
                                        
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                        2. Configure the project using Meson (you can optionally set build options [as below](#build-options)):
                                        
                                        
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                            
                                            
                                        
                                        
                                            
                                            
                                            
                                            
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                            
                                            ```sh
                                        
                                        
                                            
                                            
                                            
                                            
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                            
                                            meson _build
                                        
                                        
                                            
                                            
                                            
                                            
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        

@@ -44,10 +44,10 @@ meson install -C _build

                                
                                
                                
                            
                                
                                    
                                        
                                            
                                            Option | Default Value | Description
                                        
                                        
                                            
                                            
                                            
                                            
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                            
                                            --- | --- | ---
                                        
                                        
                                            
                                            
                                            
                                            
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                            
                                            `prefix` | `/usr` | Installation prefix
                                        
                                        
                                            
                                            
                                            
                                            
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                        `colors` | `default,light,dark` | Choose color variant(s)
                                        
                                        
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                        `sizes` | `default,compact` | Choose size variant(s)
                                        
                                        
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                        `gnome_shell_version` | n/a (auto) | Manually set gnome-shell version
                                        
                                        
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                        `gtk4_version` | n/a (auto) | Manually set gtk4 version
                                        
                                        
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                        `colors` | `default,light,dark` | List of color variants to build
                                        
                                        
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                        `sizes` | `default,compact` | List of size variants to build
                                        
                                        
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                        `gnome_shell_version` | n/a (auto) | Build GNOME Shell theme for specific version
                                        
                                        
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                        `gtk4_version` | n/a (auto) | Build GTK 4 theme for specific version
                                        
                                        
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                            
                                            
                                        
                                        
                                            
                                            
                                            
                                            
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                            
                                            Build options can be set at the configuration time, for example:
                                        
                                        
                                            
                                            
                                            
                                            
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                            
                                            
                                        
                                        
                                            
                                            
                                            
                                            
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                        
                                            
                                            
                                            
                                            
                                        
                                    
                                
                                
                                
                            
                            
                                

meson_options.txt

@@ -2,38 +2,38 @@ option(

                                
                                
                                
                            
                                
                                    
                                        
                                            
                                              'theme_name',
                                        
                                        
                                            
                                            
                                            
                                            
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                            
                                              type: 'string',
                                        
                                        
                                            
                                            
                                            
                                            
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                            
                                              value: 'Materia',
                                        
                                        
                                            
                                            
                                            
                                            
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                          description: 'Set theme name',
                                        
                                        
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                          description: 'Base theme name',
                                        
                                        
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                            
                                            )
                                        
                                        
                                            
                                            
                                            
                                            
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                            
                                            
                                        
                                        
                                            
                                            
                                            
                                            
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                            
                                            option(
                                        
                                        
                                            
                                            
                                            
                                            
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                            
                                              'colors',
                                        
                                        
                                            
                                            
                                            
                                            
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                            
                                              type: 'array',
                                        
                                        
                                            
                                            
                                            
                                            
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                            
                                              choices: ['default', 'light', 'dark'],
                                        
                                        
                                            
                                            
                                            
                                            
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                          description: 'Choose color variant(s)',
                                        
                                        
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                          description: 'List of color variants to build',
                                        
                                        
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                            
                                            )
                                        
                                        
                                            
                                            
                                            
                                            
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                            
                                            
                                        
                                        
                                            
                                            
                                            
                                            
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                            
                                            option(
                                        
                                        
                                            
                                            
                                            
                                            
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                            
                                              'sizes',
                                        
                                        
                                            
                                            
                                            
                                            
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                            
                                              type: 'array',
                                        
                                        
                                            
                                            
                                            
                                            
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                            
                                              choices: ['default', 'compact'],
                                        
                                        
                                            
                                            
                                            
                                            
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                          description: 'Choose size variant(s)',
                                        
                                        
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                          description: 'List of size variants to build',
                                        
                                        
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                            
                                            )
                                        
                                        
                                            
                                            
                                            
                                            
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                            
                                            
                                        
                                        
                                            
                                            
                                            
                                            
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                            
                                            option(
                                        
                                        
                                            
                                            
                                            
                                            
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                          'gtk4_version',
                                        
                                        
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                          'gnome_shell_version',
                                        
                                        
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                            
                                              type: 'string',
                                        
                                        
                                            
                                            
                                            
                                            
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                          description: 'Manually set gtk4 version',
                                        
                                        
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                          description: 'Build GNOME Shell theme for specific version',
                                        
                                        
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                            
                                            )
                                        
                                        
                                            
                                            
                                            
                                            
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                            
                                            
                                        
                                        
                                            
                                            
                                            
                                            
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                            
                                            option(
                                        
                                        
                                            
                                            
                                            
                                            
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                          'gnome_shell_version',
                                        
                                        
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                          'gtk4_version',
                                        
                                        
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                            
                                              type: 'string',
                                        
                                        
                                            
                                            
                                            
                                            
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                          description: 'Manually set gnome-shell version',
                                        
                                        
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                          description: 'Build GTK 4 theme for specific version',
                                        
                                        
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                            
                                            )
                                        
                                        
                                            
                                            
                                            
                                            
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                            
                                            
                                        
                                        
                                            
                                            
                                            
                                            
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                            
                                            option(
                                        
                                        
                                            
                                            
                                            
                                            
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                            
                                              'flatpak',
                                        
                                        
                                            
                                            
                                            
                                            
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                            
                                              type: 'boolean',
                                        
                                        
                                            
                                            
                                            
                                            
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                            
                                              value: false,
                                        
                                        
                                            
                                            
                                            
                                            
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                          description: 'Build theme for flatpak package',
                                        
                                        
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                          description: 'Whether to build theme for flatpak package',
                                        
                                        
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                            
                                            )