INSTALL.md
Unicode text, UTF-8 text
Installation from source
Dependencies
Materia requires the following build and runtime dependencies:
Build dependencies
meson
>= 0.47.0dart-sass
>= 1.23.0 (ornpm
if the former is not found)
Runtime dependencies
gnome-themes-extra
(orgnome-themes-standard
for older distributions)Murrine engine — The package name depends on the distro:
gtk-engine-murrine
on Arch Linuxgtk-murrine-engine
on Fedoragtk2-engine-murrine
on openSUSEgtk2-engines-murrine
on Debian, Ubuntu, etc.
Steps to install
Clone the repository and move into the project directory in terminal:
git clone https://github.com/nana-4/materia-theme cd materia-theme
Configure the project using Meson (you can optionally set build options as below):
meson _build
Build and install it using Meson:
meson install -C _build
Build options
Option | Default Value | Description
- | - | ---
prefix
| /usr
| Installation prefix
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 _build -Dprefix="$HOME/.local" -Dcolors=default,dark -Dsizes=compact
Note: If you are a package maintainer, you should always set
gnome_shell_version
andgtk4_version
in your package script based on thegnome-shell
andgtk4
package versions in your distribution. Otherwise, the corresponding themes may be built for wrong versions.
Uninstallation
Delete the installed directories:
sudo rm -rf /usr/share/themes/Materia{,-dark,-light}{,-compact}
1## Installation from source 2 3### Dependencies 4 5Materia requires the following build and runtime dependencies: 6 7#### Build dependencies 8 9- `meson` >= 0.47.0 10- `dart-sass` >= 1.23.0 (or `npm` if the former is not found) 11 12#### Runtime dependencies 13 14- `gnome-themes-extra` (or `gnome-themes-standard` for older distributions) 15- Murrine engine — The package name depends on the distro: 16- `gtk-engine-murrine` on Arch Linux 17- `gtk-murrine-engine` on Fedora 18- `gtk2-engine-murrine` on openSUSE 19- `gtk2-engines-murrine` on Debian, Ubuntu, etc. 20 21### Steps to install 22 231. Clone the repository and move into the project directory in terminal: 24 25```sh 26git clone https://github.com/nana-4/materia-theme 27cd materia-theme 28``` 29 302. Configure the project using Meson (you can optionally set build options [as below](#build-options)): 31 32```sh 33meson _build 34``` 35 363. Build and install it using Meson: 37 38```sh 39meson install -C _build 40``` 41 42### Build options 43 44Option | Default Value | Description 45--- | --- | --- 46`prefix` | `/usr` | Installation prefix 47`colors` | `default,light,dark` | List of color variants to build 48`sizes` | `default,compact` | List of size variants to build 49`gnome_shell_version` | n/a (auto) | Build GNOME Shell theme for specific version 50`gtk4_version` | n/a (auto) | Build GTK 4 theme for specific version 51 52Build options can be set at the configuration time, for example: 53 54```sh 55meson _build -Dprefix="$HOME/.local" -Dcolors=default,dark -Dsizes=compact 56``` 57 58> Note: If you are a package maintainer, you should always set `gnome_shell_version` and `gtk4_version` in your package script based on the `gnome-shell` and `gtk4` package versions in your distribution. Otherwise, the corresponding themes may be built for wrong versions. 59 60## Uninstallation 61 62Delete the installed directories: 63 64```sh 65sudo rm -rf /usr/share/themes/Materia{,-dark,-light}{,-compact} 66``` 67