diff --git a/home/claudia/repos/repo-community/community/webkit2gtk/build b/webkit2gtk/build
index 9504f96..bebe756 100755
--- a/home/claudia/repos/repo-community/community/webkit2gtk/build
+++ b/webkit2gtk/build
@@ -1,5 +1,8 @@
#!/bin/sh -e
+# Enable streaming related options if gstreamer is installed.
+kiss list gst-plugins-base && streaming=ON
+
# Enable the use of openjpeg if the package is installed.
kiss list openjpeg2 && jpeg=ON
@@ -41,6 +44,8 @@ cmake -B build \
-DUSE_WOFF2=OFF \
-DUSE_WPE_RENDERER=OFF \
-DENABLE_WEB_CRYPTO=${tasn:-OFF} \
+ -DENABLE_VIDEO=${streaming:-OFF} \
+ -DENABLE_WEB_AUDIO=${streaming:-OFF} \
-Wno-dev
cmake --build build
diff --git a/home/claudia/repos/repo-community/community/webkit2gtk/depends b/webkit2gtk/depends
index 256bdcd..6bbf47e 100644
--- a/home/claudia/repos/repo-community/community/webkit2gtk/depends
+++ b/webkit2gtk/depends
@@ -2,7 +2,6 @@ cairo
cmake make
glib-networking
gperf make
-gst-plugins-base
gtk+3
harfbuzz-icu
libXslt