[libadwaita/wip/exalm/build-docs: 4/4] docs: Fix the macOS build instructions
- From: Alexander Mikhaylenko <alexm src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libadwaita/wip/exalm/build-docs: 4/4] docs: Fix the macOS build instructions
- Date: Tue, 18 May 2021 08:21:05 +0000 (UTC)
commit d273f136ef1379b7aca4926e5dffb87d873212a3
Author: Alexander Mikhaylenko <alexm gnome org>
Date: Tue May 18 12:30:18 2021 +0500
docs: Fix the macOS build instructions
* gtk+-3 -> gtk4
* No more glade
* No need to specify the source dir for meson
* Don't build tests
doc/build-howto.md | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/doc/build-howto.md b/doc/build-howto.md
index 60cf0a00..f258a9ed 100644
--- a/doc/build-howto.md
+++ b/doc/build-howto.md
@@ -75,7 +75,7 @@ To build on macOS you need to install the build-dependencies first. This can
e.g. be done via [`brew`](https://brew.sh):
```bash
-brew install pkg-config gtk+3 adwaita-icon-theme meson glade gobject-introspection vala
+brew install pkg-config gtk4 adwaita-icon-theme meson gobject-introspection vala
```
After running the command above, one may now build the library:
@@ -83,8 +83,8 @@ After running the command above, one may now build the library:
```bash
git clone https://gitlab.gnome.org/GNOME/libadwaita.git
cd libadwaita
-meson . _build
-ninja -C _build test
+meson _build
+ninja -C _build
ninja -C _build install
```
@@ -92,5 +92,5 @@ Working with the library on macOS is pretty much the same as on Linux. To link
it, use `pkg-config`:
```bash
-gcc $(pkg-config --cflags --libs gtk+-3.0) $(pkg-config --cflags --libs libadwaita-1) main.c -o main
+gcc $(pkg-config --cflags --libs gtk4) $(pkg-config --cflags --libs libadwaita-1) main.c -o main
```
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]