packages feed

nanovg 0.2.0.0 → 0.3.0.0

raw patch · 1 files changed

+25/−17 lines, 1 filesdep ~basedep ~bytestringdep ~containersPVP ok

version bump matches the API change (PVP)

Dependency ranges changed: base, bytestring, containers, linear, text, vector

API changes (from Hackage documentation)

Files

nanovg.cabal view
@@ -1,5 +1,5 @@ name:                nanovg-version:             0.2.0.0+version:             0.3.0.0 synopsis:            Haskell bindings for nanovg description:         Raw bindings to the OpenGL vector graphics library NanoVG homepage:            https://github.com/cocreature/nanovg-hs@@ -16,6 +16,10 @@   type:     git   location: https://github.com/cocreature/nanovg-hs +flag examples+  description: Build examples+  default:     False+  manual:      True  library   exposed-modules:     NanoVG@@ -33,12 +37,12 @@                        NanoVG.Internal.Scissor                        NanoVG.Internal.Image                        NanoVG.Internal.GL3-  build-depends:       base >=4.8 && <4.9-                     , bytestring-                     , containers-                     , linear-                     , text-                     , vector+  build-depends:       base >=4.8 && <5.0+                     , bytestring >= 0.10 && < 0.11+                     , containers >= 0.5 && < 0.6+                     , linear >= 1.20 && < 1.21+                     , text >= 1.2 && < 1.3+                     , vector >= 0.11 && < 0.12   hs-source-dirs:      src   default-language:    Haskell2010   include-dirs:        nanovg/src@@ -52,20 +56,24 @@   cc-options:          -DNDEBUG   ghc-options:         -Wall   extra-libraries:     GLU, GL, m, GLEW+  ghc-options:         -pgml gcc "-optl-Wl,--whole-archive" "-optl-Wl,-lGLEW" "-optl-Wl,--no-whole-archive"  executable example00   hs-source-dirs:     example   main-is:            Example.hs-  build-depends:      base-                    , containers-                    , gl-                    , GLFW-b-                    , linear-                    , monad-loops-                    , nanovg-                    , text-                    , transformers-                    , vector+  if flag(examples)+    build-depends:      base+                      , containers+                      , gl+                      , GLFW-b+                      , linear+                      , monad-loops+                      , nanovg+                      , text+                      , transformers+                      , vector+  else+    buildable:        False   default-language:   Haskell2010   c-sources:          cbits/glew.c