gtk: build gtk from subprojects wrap

This commit is contained in:
Stéphane Cerveau 2023-09-22 10:02:09 +02:00
parent aa551db066
commit cbd7fc41c2
2 changed files with 9 additions and 6 deletions

View file

@ -7,8 +7,8 @@ HOMEBREW_NO_INSTALL_CLEANUP=1
brew install pkg-config brew install pkg-config
# GTK4 support # GTK4 support
brew install gtk4 brew install gtk4 libepoxy
# brew install cairo libxrandr libxi libxcursor libxdamage libxinerama brew install cairo libxrandr libxi libxcursor libxdamage libxinerama
brew install npm brew install npm

View file

@ -22,17 +22,20 @@ echo "VERSION=$VERSION"
GSTREAMER_OPTS=" GSTREAMER_OPTS="
-Dforce_fallback_for=gstreamer-1.0,libffi,pcre2 \ -Dforce_fallback_for=gstreamer-1.0,libffi,pcre2,gtk \
-Dgstreamer-1.0:libav=disabled \ -Dgstreamer-1.0:libav=disabled \
-Dgstreamer-1.0:examples=disabled \ -Dgstreamer-1.0:examples=disabled \
-Dgstreamer-1.0:introspection=disabled \ -Dgstreamer-1.0:introspection=disabled \
-Dgstreamer-1.0:rtsp_server=disabled \ -Dgstreamer-1.0:rtsp_server=disabled \
-Dgstreamer-1.0:devtools=disabled \ -Dgstreamer-1.0:devtools=disabled \
-Dgst-plugins-base:tests=disabled \
-Dgstreamer-1.0:tests=disabled \ -Dgstreamer-1.0:tests=disabled \
-Dgstreamer-1.0:python=disabled \
-Dgst-plugins-base:tests=disabled \
-Dgst-plugins-bad:openexr=disabled -Dgstreamer-1.0:gst-examples=disabled \ -Dgst-plugins-bad:openexr=disabled -Dgstreamer-1.0:gst-examples=disabled \
-Dorc:gtk_doc=disabled \ -Dorc:gtk_doc=disabled \
-Dgstreamer-1.0:python=disabled" -Dgtk:build-examples=false \
-Dgtk:demos=false \
-Dgtk:build-tests=false"
# rebuild app release version # rebuild app release version
rm -rf "${TARGETDIR}" rm -rf "${TARGETDIR}"