diff --git a/debian/control b/debian/control
index f2f1a7dd..f00883c6 100644
--- a/debian/control
+++ b/debian/control
@@ -50,7 +50,8 @@ Build-Depends: bubblewrap (>= 0.3.1) [!alpha !ia64 !m68k !riscv64 !sh4 !sparc64
                ninja-build,
                libegl1-mesa-dev,
                libgl-dev,
-               libgles-dev
+               libgles-dev,
+               liblcms-dev
 Build-Depends-Indep: gtk-doc-tools,
                libglib2.0-doc,
                libgtk-3-doc,
diff --git a/debian/rules b/debian/rules
index 969b86e1..261202b7 100755
--- a/debian/rules
+++ b/debian/rules
@@ -7,6 +7,7 @@ include /usr/share/dpkg/buildflags.mk
 
 EXTRA_CMAKE_ARGUMENTS =
 DH_GENCONTROL_ARGS =
+export HOME=$(CURDIR)
 
 # Sacrifice speed in order to make it more likely resource limits
 # won't be hit.
@@ -116,6 +117,7 @@ override_dh_auto_configure:
 	   -DCMAKE_CXX_FLAGS_DEBUG="" \
 	   -DENABLE_MINIBROWSER=ON \
 	   -DUSE_LIBWEBRTC=ON \
+	   -DUSE_SOUP2=ON \
 	   $(EXTRA_CMAKE_ARGUMENTS)
 
 # Create a dummy doc directory in case the "nodoc" build option is set
