From: Kalev Lember Date: Mon, 23 Aug 2021 13:38:46 +0000 (+0200) Subject: build: Fix detection for pre-compiled css files X-Git-Tag: archive/raspbian/4.4.1+ds1-2+rpi1^2~18^2^2~53 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=946914a2d011f9e361388a75502502e97533d684;p=gtk4.git build: Fix detection for pre-compiled css files The default theme changed from Adwaita to Default and this tripped up the logic to detect if the tarball builds contain pre-built css files or not. Fix this by looking at pre-compiled css files in themes/Default/ instead of themes/Adwaita/. --- diff --git a/gtk/meson.build b/gtk/meson.build index b123e062b3..599bdc9967 100644 --- a/gtk/meson.build +++ b/gtk/meson.build @@ -842,7 +842,7 @@ gtk_gresources_xml = configure_file(output: 'gtk.gresources.xml', theme_deps = [] # For git checkouts, but not for tarballs... -if not fs.exists('theme/Adwaita/Adwaita.css') +if not fs.exists('theme/Default/Default-light.css') # ... build the theme files sassc = find_program('sassc', required: false) if not sassc.found()