jsaddle 0.2.0.6 → 0.2.1.0
raw patch · 1 files changed
+9/−19 lines, 1 filesdep ~webkitdep ~webkitgtk3
Dependency ranges changed: webkit, webkitgtk3
Files
- jsaddle.cabal +9/−19
jsaddle.cabal view
@@ -1,5 +1,5 @@ name: jsaddle-version: 0.2.0.6+version: 0.2.1.0 cabal-version: >=1.10 license: MIT license-file: LICENSE@@ -17,10 +17,6 @@ type: git location: https://github.com/ghcjs/jsaddle -flag ghcjs- description: Tell cabal we are using ghcjs (work around until hackage supports impl(ghcjs))- default: True- flag gtk3 Description: Use GTK3 rather than GTK2 Default: True@@ -34,23 +30,17 @@ default: False library- -- Make sure ghcjs gets turned off if ghcjs-base is not avaialbe- if flag(ghcjs)- build-depends: ghcjs-base---- if impl(ghcjs) && flag(jsffi)- if flag(ghcjs) && flag(jsffi)+ if impl(ghcjs) && flag(jsffi) cpp-options: -DUSE_JAVASCRIPTFFI build-depends: ghcjs-base --- if !impl(ghcjs) || flag(webkit)- if !flag(ghcjs) || flag(webkit)+ if !impl(ghcjs) || flag(webkit) cpp-options: -DUSE_WEBKIT if flag(gtk3)- build-depends: webkitgtk3 >=0.13.0.0 && <0.14,+ build-depends: webkitgtk3 >=0.13.0.0 && <0.15, webkitgtk3-javascriptcore >=0.13.0.0 && <0.14 else- build-depends: webkit >=0.13.0.0 && <0.14,+ build-depends: webkit >=0.13.0.0 && <0.15, webkit-javascriptcore >=0.13.0.0 && <0.14 build-depends: template-haskell -any, base <5, lens >=3.8.5 && <4.13,@@ -72,14 +62,14 @@ test-suite test-tool if flag(jsffi) buildable: False+ else+ buildable: True --- if impl(ghcjs) && flag(jsffi)- if flag(ghcjs) && flag(jsffi)+ if impl(ghcjs) && flag(jsffi) cpp-options: -DUSE_JAVASCRIPTFFI build-depends: ghcjs-base --- if !impl(ghcjs) || flag(webkit)- if !flag(ghcjs) || flag(webkit)+ if !impl(ghcjs) || flag(webkit) cpp-options: -DUSE_WEBKIT build-depends: glib if flag(gtk3)