[rhythmbox/postinstall] build: use gnome.post_install() to compile schemas etc.
- From: Jonathan Matthew <jmatthew src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [rhythmbox/postinstall] build: use gnome.post_install() to compile schemas etc.
- Date: Wed, 20 Apr 2022 12:00:23 +0000 (UTC)
commit 5c44467d9cfeef3b92f8224ca32cdddd87f75fdd
Author: Jonathan Matthew <jonathan d14n org>
Date: Wed Apr 20 21:55:36 2022 +1000
build: use gnome.post_install() to compile schemas etc.
This simplifies the instructions for building from source too.
INSTALL | 1 -
meson.build | 5 +++++
2 files changed, 5 insertions(+), 1 deletion(-)
---
diff --git a/INSTALL b/INSTALL
index 5e926d704..a76aebd2b 100644
--- a/INSTALL
+++ b/INSTALL
@@ -40,7 +40,6 @@ Simple install procedure
% meson _build -Dprefix=$PWD/_install # prepare the build
% ninja -C _build # build Rhythmbox
% ninja -C _build install # install Rhythmbox
- % glib-compile-schemas _install/share/glib-2.0/schemas
This installs Rhythmbox to the _install directory under the source tree.
The executable to run will then be _install/bin/rhythmbox.
diff --git a/meson.build b/meson.build
index 960eb6a29..332e090ef 100644
--- a/meson.build
+++ b/meson.build
@@ -328,3 +328,8 @@ if get_option('help')
subdir('help')
endif
+gnome.post_install(
+ gtk_update_icon_cache: true,
+ glib_compile_schemas: true,
+ update_desktop_database: true
+)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]