Clean up AppVeyor scripts (#126)
[packages/Win32.git] / Win32.cabal
1 name:           Win32
2 version:        2.8.3.0
3 license:        BSD3
4 license-file:   LICENSE
5 author:         Alastair Reid, shelarcy, Tamar Christina
6 copyright:      Alastair Reid, 1999-2003; shelarcy, 2012-2013; Tamar Christina, 2016-2018
7 maintainer:     Haskell Libraries <libraries@haskell.org>
8 bug-reports:    https://github.com/haskell/win32/issues
9 homepage:       https://github.com/haskell/win32
10 category:       System, Graphics
11 synopsis:       A binding to Windows Win32 API.
12 description:    This library contains direct bindings to the Windows Win32 APIs for Haskell.
13 build-type:     Simple
14 cabal-version:  >=1.10
15 extra-source-files:
16         include/diatemp.h include/dumpBMP.h include/ellipse.h include/errors.h
17         include/Win32Aux.h include/win32debug.h include/alignment.h
18         changelog.md
19
20 Library
21     default-language: Haskell2010
22     default-extensions: ForeignFunctionInterface, CPP
23     if impl(ghc >= 7.1)
24         default-extensions: NondecreasingIndentation
25
26     if !os(windows)
27         -- This package requires Windows to build
28         build-depends: unbuildable<0
29         buildable: False
30
31     build-depends:      base >= 4.5 && < 5, bytestring, filepath
32     ghc-options:    -Wall -fno-warn-name-shadowing
33     cc-options:     -fno-strict-aliasing
34     exposed-modules:
35         Graphics.Win32.GDI
36         Graphics.Win32.GDI.Bitmap
37         Graphics.Win32.GDI.Brush
38         Graphics.Win32.GDI.Clip
39         Graphics.Win32.GDI.Font
40         Graphics.Win32.GDI.Graphics2D
41         Graphics.Win32.GDI.HDC
42         Graphics.Win32.GDI.Palette
43         Graphics.Win32.GDI.Path
44         Graphics.Win32.GDI.Pen
45         Graphics.Win32.GDI.Region
46         Graphics.Win32.GDI.Types
47         Graphics.Win32
48         Graphics.Win32.Control
49         Graphics.Win32.Dialogue
50         Graphics.Win32.Icon
51         Graphics.Win32.Key
52         Graphics.Win32.Menu
53         Graphics.Win32.Message
54         Graphics.Win32.Misc
55         Graphics.Win32.Resource
56         Graphics.Win32.Window
57         Graphics.Win32.LayeredWindow
58         Graphics.Win32.GDI.AlphaBlend
59         Graphics.Win32.Window.AnimateWindow
60         Graphics.Win32.Window.HotKey
61         Graphics.Win32.Window.IMM
62         Graphics.Win32.Window.ForegroundWindow
63         Graphics.Win32.Window.PostMessage
64
65         Media.Win32
66
67         System.Win32
68         System.Win32.DebugApi
69         System.Win32.DLL
70         System.Win32.File
71         System.Win32.FileMapping
72         System.Win32.Info
73         System.Win32.Path
74         System.Win32.Mem
75         System.Win32.MinTTY
76         System.Win32.NLS
77         System.Win32.Process
78         System.Win32.Registry
79         System.Win32.SimpleMAPI
80         System.Win32.Time
81         System.Win32.Console
82         System.Win32.Security
83         System.Win32.Types
84         System.Win32.Shell
85         System.Win32.Automation
86         System.Win32.Automation.Input
87         System.Win32.Automation.Input.Key
88         System.Win32.Automation.Input.Mouse
89         System.Win32.Console.CtrlHandler
90         System.Win32.Console.HWND
91         System.Win32.Console.Title
92         System.Win32.Encoding
93         System.Win32.Exception.Unsupported
94         System.Win32.HardLink
95         System.Win32.Info.Computer
96         System.Win32.Info.Version
97         System.Win32.String
98         System.Win32.SymbolicLink
99         System.Win32.Thread
100         System.Win32.Utils
101         System.Win32.Word
102
103     extra-libraries:
104         "user32", "gdi32", "winmm", "advapi32", "shell32", "shfolder", "shlwapi", "msimg32", "imm32"
105     ghc-options:      -Wall
106     include-dirs:     include
107     includes:         "alphablend.h", "diatemp.h", "dumpBMP.h", "ellipse.h", "errors.h", "HsGDI.h", "HsWin32.h", "Win32Aux.h", "win32debug.h", "windows_cconv.h", "WndProc.h", "alignment.h"
108     install-includes: "HsWin32.h", "HsGDI.h", "WndProc.h", "windows_cconv.h", "alphablend.h", "winternl_compat.h", "winuser_compat.h", "winreg_compat.h", "tlhelp32_compat.h"
109     c-sources:
110         cbits/HsGDI.c
111         cbits/HsWin32.c
112         cbits/WndProc.c
113         cbits/diatemp.c
114         cbits/dumpBMP.c
115         cbits/ellipse.c
116         cbits/errors.c
117         cbits/alphablend.c
118     cc-options: -Wall
119
120 source-repository head
121     type:     git
122     location: git://github.com/haskell/win32