Accepting request 1127021 from devel:languages:haskell
version update OBS-URL: https://build.opensuse.org/request/show/1127021 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/ghc-JuicyPixels?expand=0&rev=34
This commit is contained in:
commit
fef00fa307
87
JuicyPixels.cabal
Normal file
87
JuicyPixels.cabal
Normal file
@ -0,0 +1,87 @@
|
|||||||
|
-- Constraint on the version of Cabal needed to build this package.
|
||||||
|
Cabal-version: 1.18
|
||||||
|
|
||||||
|
Name: JuicyPixels
|
||||||
|
Version: 3.3.8
|
||||||
|
x-revision: 1
|
||||||
|
Synopsis: Picture loading/serialization (in png, jpeg, bitmap, gif, tga, tiff and radiance)
|
||||||
|
Description:
|
||||||
|
<<data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAMAAAADABAMAAACg8nE0AAAAElBMVEUAAABJqDSTWEL/qyb///8AAABH/1GTAAAAAXRSTlMAQObYZgAAAN5JREFUeF7s1sEJgFAQxFBbsAV72v5bEVYWPwT/XDxmCsi7zvHXavYREBDI3XP2GgICqBBYuwIC+/rVayPUAyAg0HvIXBcQoDFDGnUBgWQQ2Bx3AYFaRoBpAQHWb3bt2ARgGAiCYFFuwf3X5HA/McgGJWI2FdykCv4aBYzmKwDwvl6NVmUAAK2vlwEALK7fo88GANB6HQsAAAAAAAAA7P94AQCzswEAAAAAAAAAAAAAAAAAAICzh4UAO4zWAYBfRutHA4Bn5C69JhowAMGoBaMWDG0wCkbBKBgFo2AUAACPmegUST/IJAAAAABJRU5ErkJggg==>>
|
||||||
|
.
|
||||||
|
This library can load and store images in PNG,Bitmap, Jpeg, Radiance, Tiff and Gif images.
|
||||||
|
|
||||||
|
homepage: https://github.com/Twinside/Juicy.Pixels
|
||||||
|
License: BSD3
|
||||||
|
License-file: LICENSE
|
||||||
|
Author: Vincent Berthoux
|
||||||
|
Maintainer: vincent.berthoux@gmail.com
|
||||||
|
Category: Codec, Graphics, Image
|
||||||
|
Stability: Stable
|
||||||
|
Build-type: Simple
|
||||||
|
|
||||||
|
extra-source-files: changelog, docimages/*.png, docimages/*.svg, README.md
|
||||||
|
extra-doc-files: docimages/*.png, docimages/*.svg
|
||||||
|
|
||||||
|
Source-Repository head
|
||||||
|
Type: git
|
||||||
|
Location: https://github.com/Twinside/Juicy.Pixels.git
|
||||||
|
|
||||||
|
Source-Repository this
|
||||||
|
Type: git
|
||||||
|
Location: https://github.com/Twinside/Juicy.Pixels.git
|
||||||
|
Tag: v3.3.8
|
||||||
|
|
||||||
|
Flag Mmap
|
||||||
|
Description: Enable the file loading via mmap (memory map)
|
||||||
|
Default: False
|
||||||
|
|
||||||
|
Library
|
||||||
|
hs-source-dirs: src
|
||||||
|
Default-Language: Haskell2010
|
||||||
|
Exposed-modules: Codec.Picture,
|
||||||
|
Codec.Picture.Bitmap,
|
||||||
|
Codec.Picture.Gif,
|
||||||
|
Codec.Picture.Png,
|
||||||
|
Codec.Picture.Jpg,
|
||||||
|
Codec.Picture.HDR,
|
||||||
|
Codec.Picture.Tga,
|
||||||
|
Codec.Picture.Tiff,
|
||||||
|
Codec.Picture.Metadata,
|
||||||
|
Codec.Picture.Metadata.Exif,
|
||||||
|
Codec.Picture.Saving,
|
||||||
|
Codec.Picture.Types,
|
||||||
|
Codec.Picture.ColorQuant,
|
||||||
|
Codec.Picture.Jpg.Internal.DefaultTable,
|
||||||
|
Codec.Picture.Jpg.Internal.Metadata,
|
||||||
|
Codec.Picture.Jpg.Internal.FastIdct,
|
||||||
|
Codec.Picture.Jpg.Internal.FastDct,
|
||||||
|
Codec.Picture.Jpg.Internal.Types,
|
||||||
|
Codec.Picture.Jpg.Internal.Common,
|
||||||
|
Codec.Picture.Jpg.Internal.Progressive,
|
||||||
|
Codec.Picture.Gif.Internal.LZW,
|
||||||
|
Codec.Picture.Gif.Internal.LZWEncoding,
|
||||||
|
Codec.Picture.Png.Internal.Export,
|
||||||
|
Codec.Picture.Png.Internal.Type,
|
||||||
|
Codec.Picture.Png.Internal.Metadata,
|
||||||
|
Codec.Picture.Tiff.Internal.Metadata,
|
||||||
|
Codec.Picture.Tiff.Internal.Types
|
||||||
|
|
||||||
|
Ghc-options: -O3 -Wall
|
||||||
|
Build-depends: base >= 4.8 && < 5,
|
||||||
|
bytestring >= 0.9 && < 0.13,
|
||||||
|
mtl >= 1.1 && < 2.4,
|
||||||
|
binary >= 0.8.1 && < 0.9,
|
||||||
|
zlib >= 0.5.3.1 && < 0.7,
|
||||||
|
transformers >= 0.2,
|
||||||
|
vector >= 0.12.3.1,
|
||||||
|
primitive >= 0.4,
|
||||||
|
deepseq >= 1.1 && < 1.6,
|
||||||
|
containers >= 0.4.2 && < 0.8
|
||||||
|
|
||||||
|
-- Modules not exported by this package.
|
||||||
|
Other-modules: Codec.Picture.BitWriter,
|
||||||
|
Codec.Picture.InternalHelper,
|
||||||
|
Codec.Picture.VectorByteConversion
|
||||||
|
|
||||||
|
Install-Includes: src/Codec/Picture/ConvGraph.hs
|
||||||
|
Include-Dirs: src/Codec/Picture
|
@ -1,3 +1,9 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Nov 7 17:40:05 UTC 2023 - Peter Simons <psimons@suse.com>
|
||||||
|
|
||||||
|
- Update JuicyPixels to version 3.3.8 revision 1.
|
||||||
|
Upstream has revised the Cabal build instructions on Hackage.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Thu Mar 30 17:07:20 UTC 2023 - Peter Simons <psimons@suse.com>
|
Thu Mar 30 17:07:20 UTC 2023 - Peter Simons <psimons@suse.com>
|
||||||
|
|
||||||
|
@ -25,6 +25,7 @@ Summary: Picture loading/serialization (in png, jpeg, bitmap, gif, tga, t
|
|||||||
License: BSD-3-Clause
|
License: BSD-3-Clause
|
||||||
URL: https://hackage.haskell.org/package/%{pkg_name}
|
URL: https://hackage.haskell.org/package/%{pkg_name}
|
||||||
Source0: https://hackage.haskell.org/package/%{pkg_name}-%{version}/%{pkg_name}-%{version}.tar.gz
|
Source0: https://hackage.haskell.org/package/%{pkg_name}-%{version}/%{pkg_name}-%{version}.tar.gz
|
||||||
|
Source1: https://hackage.haskell.org/package/%{pkg_name}-%{version}/revision/1.cabal#/%{pkg_name}.cabal
|
||||||
BuildRequires: ghc-Cabal-devel
|
BuildRequires: ghc-Cabal-devel
|
||||||
BuildRequires: ghc-base-devel
|
BuildRequires: ghc-base-devel
|
||||||
BuildRequires: ghc-base-prof
|
BuildRequires: ghc-base-prof
|
||||||
@ -81,6 +82,7 @@ This package provides the Haskell %{pkg_name} profiling library.
|
|||||||
|
|
||||||
%prep
|
%prep
|
||||||
%autosetup -n %{pkg_name}-%{version}
|
%autosetup -n %{pkg_name}-%{version}
|
||||||
|
cp -p %{SOURCE1} %{pkg_name}.cabal
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%ghc_lib_build
|
%ghc_lib_build
|
||||||
|
Loading…
Reference in New Issue
Block a user