[vlc-commits] [Git][videolan/vlc][master] skins2: meson.build: fix freetype requirement

Felix Paul Kühne (@fkuehne) gitlab at videolan.org
Fri Apr 10 18:12:56 UTC 2026



Felix Paul Kühne pushed to branch master at VideoLAN / VLC


Commits:
75b2c1e8 by Alexandre Janniaux at 2026-04-10T19:49:00+02:00
skins2: meson.build: fix freetype requirement

Before this commit, if freetype was missing, the skins2 module was
silently disabled even if it was forced with -Dskins2=enabled.

Now, it will fail with:

	modules/gui/skins2/meson.build:3:5: ERROR: Feature skins2 cannot be enabled: Freetype is not available

- - - - -


1 changed file:

- modules/gui/skins2/meson.build


Changes:

=====================================
modules/gui/skins2/meson.build
=====================================
@@ -1,6 +1,7 @@
 skins2_enabled = get_option('skins2') \
-    .disable_auto_if(host_system != 'windows' and host_system != 'darwin' and not x11_dep.found()).allowed() and \
-    freetype_dep.found()
+    .disable_auto_if(host_system != 'windows' and host_system != 'darwin' and not x11_dep.found()) \
+    .require(freetype_dep.found(), error_message: 'Freetype is not available') \
+    .allowed()
 
 skins2_flags = []
 skins2_deps = [ freetype_dep ]



View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/75b2c1e882b0abe62701037535480aabbeb3899c

-- 
View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/75b2c1e882b0abe62701037535480aabbeb3899c
You're receiving this email because of your account on code.videolan.org.




More information about the vlc-commits mailing list