1
0
Fork 0
mirror of synced 2024-04-29 01:52:39 +12:00

Add additional package for Mac installation (#971)

cairo-rs fails building if `pkg-config` isn't installed on a Mac. It's fairly visible and easy to fix, but may as well add it to the instructions.
This commit is contained in:
Liru Wilkowski 2023-05-06 15:12:04 -04:00 committed by GitHub
parent 72df211ca2
commit 14ccb49e45
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -32,7 +32,7 @@ One very straight-forward way to do this is by using [Homebrew](https://brew.sh/
Installation in the terminal:
```shell
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
brew install gtk4 adwaita-icon-theme ffmpeg librsvg libheif
brew install gtk4 adwaita-icon-theme ffmpeg librsvg libheif pkg-config
```
After that, go to the location where you downloaded Czkawka and add the `executable` permission to this file.
```shell
@ -51,7 +51,7 @@ Prebuilt binaries are available only for x86_64, so if you use ARM e.g. Mac M1/M
# Install Rust and Libraries
brew install rustup
rustup-init
brew install gtk4 adwaita-icon-theme librsvg libheif
brew install gtk4 adwaita-icon-theme librsvg libheif pkg-config
```
```
# Clone and Build