name:                 gi-gdk
version:              3.0.16
synopsis:             Gdk bindings
description:          Bindings for Gdk, 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 Gdk.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: gdk-3.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-pango == 1.0.*,
                     gi-gio == 2.0.*,
                     gi-gdkpixbuf == 2.0.*,
                     gi-gobject == 2.0.*,
                     gi-glib == 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
