From aa369af689af82cf44ea78e43181dc7830fabe9d Mon Sep 17 00:00:00 2001 From: Storm Dragon Date: Mon, 11 Aug 2025 13:41:27 -0400 Subject: [PATCH] Allow building without help dependencies. --- distro-packages/Arch-Linux/PKGBUILD | 3 +-- meson.build | 4 +++- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/distro-packages/Arch-Linux/PKGBUILD b/distro-packages/Arch-Linux/PKGBUILD index 056b3c6..1d88ce9 100644 --- a/distro-packages/Arch-Linux/PKGBUILD +++ b/distro-packages/Arch-Linux/PKGBUILD @@ -68,7 +68,6 @@ makedepends=( python-build python-installer python-wheel - yelp-tools ) source=("git+https://git.stormux.org/storm/cthulhu.git") b2sums=('SKIP') @@ -85,7 +84,7 @@ pkgver() { build() { cd cthulhu - arch-meson _build + arch-meson _build -Dhelp=false meson compile -C _build } diff --git a/meson.build b/meson.build index a6dddd9..3f65b7c 100644 --- a/meson.build +++ b/meson.build @@ -112,7 +112,9 @@ gnome.post_install( summary += {'Install dir': python.find_installation('python3').get_install_dir()} subdir('docs') -subdir('help') +if get_option('help') + subdir('help') +endif subdir('icons') subdir('po') subdir('src')