name:                 gi-webkit2
version:              4.0.18
synopsis:             WebKit2 bindings
description:          Bindings for WebKit2, autogenerated by haskell-gi.
homepage:             https://github.com/haskell-gi/haskell-gi
license:              LGPL-2.1
license-file:         LICENSE
author:               Will Thompson, Iñaki García Etxebarria and Jonas Platte
maintainer:           Iñaki García Etxebarria (garetxe@gmail.com)
category:             Bindings
build-type:           Custom
cabal-version:        1.24

extra-source-files: README.md ChangeLog.md stack.yaml WebKit2.overrides

custom-setup
      setup-depends: base >= 4.7 && < 5,
                     Cabal >= 1.24,
                     haskell-gi >= 0.21.1 && < 0.22

library
      default-language: Haskell2010
      default-extensions: NoImplicitPrelude, ScopedTypeVariables, CPP, OverloadedStrings, NegativeLiterals, ConstraintKinds, TypeFamilies, MultiParamTypeClasses, KindSignatures, FlexibleInstances, UndecidableInstances, DataKinds, FlexibleContexts
      other-extensions: PatternSynonyms, ViewPatterns
      ghc-options: -fno-warn-unused-imports -fno-warn-warnings-deprecations

      pkgconfig-depends: webkit2gtk-4.0
      build-depends: base >= 4.7 && <5,
                     haskell-gi-base == 0.21.*,
                     haskell-gi >= 0.21.1 && < 0.22,
                     haskell-gi-overloading < 1.1,
                     gi-cairo == 1.0.*,
                     gi-soup == 2.4.*,
                     gi-javascriptcore == 4.0.*,
                     gi-gtk == 3.0.*,
                     gi-gio == 2.0.*,
                     gi-gdk == 3.0.*,
                     gi-gobject == 2.0.*,
                     gi-glib == 2.0.*,
                     gi-atk == 2.0.*,
                     bytestring >= 0.10 && < 1,
                     containers >= 0.5 && < 1,
                     text >= 1.0 && < 2,
                     transformers >= 0.4 && < 1

      -- Disable overloading when compiling under GHC 8.2.x
      -- see https://ghc.haskell.org/trac/ghc/ticket/14382
      if impl(ghc == 8.2.*)
              build-depends: haskell-gi-overloading == 0.0