diff --git a/ChangeLog.md b/ChangeLog.md
--- a/ChangeLog.md
+++ b/ChangeLog.md
@@ -1,3 +1,7 @@
+### 3.0.8
+
++ Add support for inherited dependencies
+
 ### 3.0.7
 
 + Tighten bounds in haskell-gi(-base)
diff --git a/README.md b/README.md
--- a/README.md
+++ b/README.md
@@ -1,6 +1,6 @@
 # Documentation
 Autogenerated documentation for this package can be found at
 
-[https://hackage.haskell.org/package/gi-gdkx11-3.0.7/docs/GI-GdkX11.html](https://hackage.haskell.org/package/gi-gdkx11-3.0.7/docs/GI-GdkX11.html)
+[https://hackage.haskell.org/package/gi-gdkx11-3.0.8/docs/GI-GdkX11.html](https://hackage.haskell.org/package/gi-gdkx11-3.0.8/docs/GI-GdkX11.html)
 
 For general documentation on using [haskell-gi](https://github.com/haskell-gi/haskell-gi) based bindings, see [the project page](https://github.com/haskell-gi/haskell-gi) or [the Wiki](https://github.com/haskell-gi/haskell-gi/wiki).
diff --git a/Setup.hs b/Setup.hs
--- a/Setup.hs
+++ b/Setup.hs
@@ -1,11 +1,19 @@
 {-# LANGUAGE OverloadedStrings #-}
 
-import Data.GI.CodeGen.CabalHooks (setupHaskellGIBinding)
+import Data.GI.CodeGen.CabalHooks (setupBinding, TaggedOverride(..))
 
+import qualified GI.GObject.Config as GObject
+import qualified GI.Gdk.Config as Gdk
+import qualified GI.Gio.Config as Gio
+import qualified GI.Cairo.Config as Cairo
+import qualified GI.Xlib.Config as Xlib
+
+
 main :: IO ()
-main = setupHaskellGIBinding name version verbose overridesFile outputDir
+main = setupBinding name version verbose overridesFile inheritedOverrides outputDir
   where name = "GdkX11"
         version = "3.0"
         overridesFile = Just "GdkX11.overrides"
         verbose = False
         outputDir = Nothing
+        inheritedOverrides = [TaggedOverride "inherited:GObject" GObject.overrides, TaggedOverride "inherited:Gdk" Gdk.overrides, TaggedOverride "inherited:Gio" Gio.overrides, TaggedOverride "inherited:Cairo" Cairo.overrides, TaggedOverride "inherited:Xlib" Xlib.overrides]
diff --git a/gi-gdkx11.cabal b/gi-gdkx11.cabal
--- a/gi-gdkx11.cabal
+++ b/gi-gdkx11.cabal
@@ -1,5 +1,5 @@
 name:                 gi-gdkx11
-version:              3.0.7
+version:              3.0.8
 synopsis:             GdkX11 bindings
 description:          Bindings for GdkX11, autogenerated by haskell-gi.
 homepage:             https://github.com/haskell-gi/haskell-gi
@@ -16,7 +16,12 @@
 custom-setup
       setup-depends: base >= 4.9 && < 5,
                      Cabal >= 1.24,
-                     haskell-gi >= 0.22.0 && < 0.23
+                     haskell-gi >= 0.22.5 && < 0.23,
+                     gi-gobject == 2.0.*,
+                     gi-gdk == 3.0.*,
+                     gi-gio == 2.0.*,
+                     gi-cairo == 1.0.*,
+                     gi-xlib == 2.0.*
 
 library
       default-language: Haskell2010
@@ -27,7 +32,7 @@
       pkgconfig-depends: gdk-x11-3.0
       build-depends: base >= 4.7 && <5,
                      haskell-gi-base >= 0.22.0 && < 0.23,
-                     haskell-gi >= 0.22.0 && < 0.23,
+                     haskell-gi >= 0.22.5 && < 0.23,
                      haskell-gi-overloading < 1.1,
                      gi-gobject == 2.0.*,
                      gi-gdk == 3.0.*,
@@ -43,6 +48,12 @@
       -- see https://ghc.haskell.org/trac/ghc/ticket/14382
       if impl(ghc == 8.2.*)
               build-depends: haskell-gi-overloading == 0.0
+
+      -- Note that the following list of exposed modules and autogen
+      -- modules is for documentation purposes only, so that some
+      -- documentation appears in hackage. The actual list of modules
+      -- to be built will be built at configure time, based on the
+      -- available introspection data.
 
       exposed-modules: GI.GdkX11,
                        GI.GdkX11.Functions,
