build: Fix detection for pre-compiled css files
authorKalev Lember <klember@redhat.com>
Mon, 23 Aug 2021 13:38:46 +0000 (15:38 +0200)
committerMatthias Clasen <mclasen@redhat.com>
Sun, 31 Oct 2021 21:52:04 +0000 (17:52 -0400)
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/.

gtk/meson.build

index b123e062b39f0835800da255c080c6631ed7a0d8..599bdc99676c6ba9867c1ce6adbe2b2757f72630 100644 (file)
@@ -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()