packages feed

webp 0.1.0.0 → 0.1.0.1

raw patch · 3 files changed

+41/−21 lines, 3 filesPVP: minor bump suggested

API additions: PVP suggests at least a minor version bump

API changes (from Hackage documentation)

+ WebP.Decode: webPDecodeYUV :: Ptr a -> CSize -> IO (Ptr UInt8, CInt, CInt, Ptr UInt8, Ptr UInt8, CInt, CInt)

Files

CHANGELOG.md view
@@ -1,5 +1,9 @@ # webp +## 0.1.0.1++  * Add `cross` flag to work around Cabal cross-compilation bug+ ## 0.1.0.0  Initial release
src/WebP/Decode.chs view
@@ -1,5 +1,6 @@ module WebP.Decode ( webPDecodeRGBA                    , webPDecodeRGB+                   , webPDecodeYUV                    , UInt8                    ) where @@ -18,4 +19,12 @@ {# fun WebPDecodeRGBA as ^ { castPtr `Ptr a', coerce `CSize', alloca- `CInt' peek*, alloca- `CInt' peek* } -> `Ptr UInt8' id #} {# fun WebPDecodeRGB as ^ { castPtr `Ptr a', coerce `CSize', alloca- `CInt' peek*, alloca- `CInt' peek* } -> `Ptr UInt8' id #} --- WebPDecodeYUV+{# fun WebPDecodeYUV as ^ { castPtr `Ptr a'+                          , coerce `CSize'+                          , alloca- `CInt' peek*+                          , alloca- `CInt' peek*+                          , alloca- `Ptr UInt8' peek*+                          , alloca- `Ptr UInt8' peek*+                          , alloca- `CInt' peek*+                          , alloca- `CInt' peek*+                          } -> `Ptr UInt8' id #}
webp.cabal view
@@ -1,11 +1,11 @@ cabal-version:      1.18 name:               webp-version:            0.1.0.0+version:            0.1.0.1 license:            GPL-3 license-file:       LICENSE-copyright:          Copyright: (c) 2020 Vanessa-maintainer:         McHale-author:             Vanessa+copyright:          Copyright: (c) 2020 Vanessa McHale+maintainer:         Vanessa McHale <vamchale@gmail.com>+author:             Vanessa McHale synopsis:           JuicyPixels support for WebP format description:     Haskell library for webp format, via [c2hs](http://hackage.haskell.org/package/c2hs) and [libwebp](https://developers.google.com/speed/webp/docs/api).@@ -19,27 +19,34 @@  source-repository head     type:     darcs-    location: http://hub.darcs.net/vmchale/webp+    location: https://hub.darcs.net/vmchale/webp +flag cross+    description: Enable to ease cross-compiling+    default:     False+    manual:      True+ library-    exposed-modules:    Codec.Picture.WebP-    build-tool-depends: c2hs:c2hs -any-    pkgconfig-depends:  libwebp ==1.1.0 || >1.1.0-    hs-source-dirs:     src+    exposed-modules:   Codec.Picture.WebP+    pkgconfig-depends: libwebp >=0.6.1+    hs-source-dirs:    src     other-modules:         WebP.Encode         WebP.Decode         WebP.Types -    default-language:   Haskell2010-    other-extensions:   TypeFamilies-    ghc-options:        -Wall+    default-language:  Haskell2010+    other-extensions:  TypeFamilies+    ghc-options:       -Wall     build-depends:         base >=4.7 && <5,         JuicyPixels >=3.0,-        bytestring -any,-        vector -any+        bytestring,+        vector >=0.9.1 +    if !flag(cross)+        build-tool-depends: c2hs:c2hs+     if impl(ghc >=8.0)         ghc-options:             -Wincomplete-uni-patterns -Wincomplete-record-updates@@ -61,12 +68,12 @@     default-language: Haskell2010     ghc-options:      -threaded -rtsopts "-with-rtsopts=-N -K1K" -Wall     build-depends:-        base -any,-        webp -any,-        tasty -any,-        tasty-hunit -any,-        JuicyPixels -any,-        bytestring -any+        base,+        webp,+        tasty,+        tasty-hunit,+        JuicyPixels,+        bytestring      if impl(ghc >=8.0)         ghc-options: