-
Notifications
You must be signed in to change notification settings - Fork 9
/
Copy pathwebviewhs.cabal
77 lines (73 loc) · 1.82 KB
/
webviewhs.cabal
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
name: webviewhs
version: 0.1.0.0
synopsis: Create native dialogs and windows that run web pages.
description: Please see the README on GitHub at <https://github.com/lettier/webviewhs#readme>
category: UI
, Graphics
, GUI
, User Interfaces
homepage: https://github.com/lettier/webviewhs#readme
bug-reports: https://github.com/lettier/webviewhs/issues
author: David Lettier
maintainer: David Lettier
copyright: (C) 2018 David Lettier
license: BSD3
license-file: LICENSE
build-type: Simple
cabal-version: >= 1.10
extra-source-files:
./CHANGELOG.md
, ./deps/webview/webview.h
, ./deps/webview/LICENSE
, ./src/c/webview-ffi.h
, ./src/c/webview-ffi.c
Flag light
Description: Exclude clay, jmacro, and text-format-heavy.
Default: False
source-repository head
type: git
location: https://github.com/lettier/webviewhs
library
hs-source-dirs:
src/
, src/Graphics/UI/
include-dirs:
deps/webview/
includes:
deps/webview/webview.h
, src/c/webview-ffi.h
c-sources:
src/c/webview-ffi.c
build-depends:
base >= 4.7 && < 5
, text
if !flag(light)
build-depends:
clay
, text-format-heavy
, jmacro
exposed-modules:
Graphics.UI.Webviewhs
if os(linux)
cc-options: -DWEBVIEW_GTK=1 -pthread
else
if os(darwin)
cc-options: -DWEBVIEW_COCOA=1
else
if os(windows)
cc-options: -DWEBVIEW_WINAPI=1 -mwindows -std=c99
extra-libraries: ole32 comctl32 oleaut32 uuid
if os(linux)
pkgconfig-depends:
gtk+-3.0
, webkit2gtk-4.0
if os(darwin)
frameworks:
Webkit
ghc-options:
-Wall
-freverse-errors
default-language: Haskell2010
if flag(light)
cpp-options:
-DLIGHT