avif-2.0.0.0: avif.cabal
cabal-version: 1.18
name: avif
version: 2.0.0.0
license: AGPL-3
license-file: LICENSE
copyright: Copyright: (c) 2021 Vanessa McHale
maintainer: vamchale@gmail.com
author: Vanessa McHale
category: Image, Codec
synopsis: High-level bindings to libavif
build-type: Simple
extra-doc-files:
README.md
CHANGELOG.md
data-files:
test/data/original.avif
source-repository head
type: git
location: https://github.com/vmchale/avif
library
exposed-modules: Codec.Avif
other-modules: Codec.Avif.FFI
hs-source-dirs: src
default-language: Haskell2010
ghc-options: -Wall
build-depends: base >=4.8 && <5
, bytestring
, JuicyPixels
, vector
build-tool-depends: c2hs:c2hs
pkgconfig-depends: libavif
if impl(ghc >=8.0)
ghc-options:
-Wincomplete-uni-patterns -Wincomplete-record-updates
-Wredundant-constraints
if impl(ghc >=8.4)
ghc-options: -Wmissing-export-lists
if impl(ghc >=8.2)
ghc-options: -Wcpp-undef
if impl(ghc >=8.10)
ghc-options: -Wunused-packages
test-suite avif-test
type: exitcode-stdio-1.0
main-is: Spec.hs
hs-source-dirs: test
default-language: Haskell2010
ghc-options: -threaded -rtsopts "-with-rtsopts=-N -K1K" -Wall
build-depends:
base,
avif,
tasty,
tasty-hunit,
bytestring >=0.10.0.0,
deepseq
if impl(ghc >=8.0)
ghc-options:
-Wincomplete-uni-patterns -Wincomplete-record-updates
-Wredundant-constraints
if impl(ghc >=8.4)
ghc-options: -Wmissing-export-lists
if impl(ghc >=8.2)
ghc-options: -Wcpp-undef
if impl(ghc >=8.10)
ghc-options: -Wunused-packages