summaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorEmmanuele Bassi <ebassi@gnome.org>2021-03-21 14:59:55 +0000
committerEmmanuele Bassi <ebassi@gnome.org>2021-03-21 15:00:27 +0000
commit7fa3953f397081ce779fdf2838728812c19e2584 (patch)
tree8b0b8e260eb4848cc9d188d68d5ae94eaaf93f15 /README.md
parentf0a2ba958f34c4f39bfe71642f72e8191bbb991d (diff)
downloadgdk-pixbuf-7fa3953f397081ce779fdf2838728812c19e2584.tar.gz
docs: Update README
Drop gtk-doc, and use modern idiomatic Meson invocations in the build instructions.
Diffstat (limited to 'README.md')
-rw-r--r--README.md15
1 files changed, 6 insertions, 9 deletions
diff --git a/README.md b/README.md
index 4bc73e2e8..849753b1e 100644
--- a/README.md
+++ b/README.md
@@ -39,8 +39,7 @@ Additionally, you may need:
- [shared-mime-info](https://freedesktop.org/wiki/Software/shared-mime-info/)
- [GObject Introspection](https://gitlab.gnome.org/GNOME/gobject-introspection/)
- - [GTK-Doc](https://gitlab.gnome.org/GNOME/gtk-doc/)
- - [Xlib's development files](https://cgit.freedesktop.org/xorg/lib/libX11/)
+ - [GI-DocGen](https://gitlab.gnome.org/ebassi/gi-docgen/)
- mediaLib's development files
### Building and installing
@@ -51,10 +50,9 @@ the project; typically, on most platforms, you should be able to use the
following commands to build and install GdkPixbuf in the default prefix:
```sh
-$ meson _build .
-$ cd _build
-$ ninja
-$ sudo ninja install
+$ meson setup _build .
+$ meson compile -C _build
+$ meson install -C _build
```
You can use Meson's `--prefix` argument to control the installation prefix
@@ -67,9 +65,8 @@ check the current build configuration, and change its options.
You can specify the following options in the command line to `meson`:
- * `-Dgtk_doc=true` - Build the API reference documentation. This
- requires `gtk-doc` to be installed.
- * `-Drelocatable=true` - Enable application bundle relocation support.
+ * `-Dgtk_doc=true` - Build the API reference documentation
+ * `-Drelocatable=true` - Enable application bundle relocation support
For a complete list of build-time options, see the file
[`meson_options.txt`](meson_options.txt). You can read about Meson