]> git.ipfire.org Git - ipfire-3.x.git/commitdiff
jbig2dec: New package
authorMichael Tremer <michael.tremer@ipfire.org>
Sat, 31 Dec 2022 11:33:33 +0000 (11:33 +0000)
committerMichael Tremer <michael.tremer@ipfire.org>
Sat, 31 Dec 2022 11:33:33 +0000 (11:33 +0000)
Required by Ghostscript.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
jbig2dec/jbig2dec.nm [new file with mode: 0644]

diff --git a/jbig2dec/jbig2dec.nm b/jbig2dec/jbig2dec.nm
new file mode 100644 (file)
index 0000000..9b618f5
--- /dev/null
@@ -0,0 +1,50 @@
+###############################################################################
+# IPFire.org    - An Open Source Firewall Solution                            #
+# Copyright (C) - IPFire Development Team <info@ipfire.org>                   #
+###############################################################################
+
+name       = jbig2dec
+version    = 0.19
+release    = 1
+
+groups     = System/Libraries
+url        = https://jbig2dec.com
+license    = AGPLv3+
+summary    = A decoder implementation of the JBIG2 image compression format
+
+description
+       jbig2dec is a decoder implementation of the JBIG2 image compression format.
+       JBIG2 is designed for lossy or lossless encoding of 'bilevel' (1-bit
+       monochrome) images at moderately high resolution, and in particular scanned
+       paper documents. In this domain it is very efficient, offering compression
+       ratios on the order of 100:1.
+end
+
+source_dl  = https://github.com/ArtifexSoftware/ghostpdl-downloads/releases/download/gs9533/
+
+build
+       requires
+               libpng-devel
+               zlib-devel
+       end
+end
+
+packages
+       package %{name}
+
+       package %{name}-libs
+               template LIBS
+       end
+
+       package %{name}-devel
+               template DEVEL
+
+               requires
+                       jbig2dec-libs = %{thisver}
+               end
+       end
+
+       package %{name}-debuginfo
+               template DEBUGINFO
+       end
+end