File: Setup.hs

package info (click to toggle)
haskell-gi-gdkx11 3.0.10-1
  • links: PTS
  • area: main
  • in suites: bullseye, sid
  • size: 120 kB
  • sloc: haskell: 15; makefile: 5
file content (19 lines) | stat: -rw-r--r-- 832 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
{-# LANGUAGE OverloadedStrings #-}

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 = 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]