GTK3.0源码编译
# GTK官方构建说明
# https://docs.gtk.org/gtk4/building.html?q=ss
# GTK源码
# https://www.gtk.org/docs/installations
# 注:gtk将会安装在/opt/gtk目录下,注意CPPFLAGS,LDFLAGS,PKG_CONFIG_PATH,LD_LIBRARY_PATH,PATH等变量
meson setup --prefix /opt/gtk builddir
cd builddir
# 若低版本meson,则meson compile执行与meson.build为同一层目录
meson compile
meson install