package/jbig2dec: new package.
authorRaphaël Mélotte <raphael.melotte@essensium.com>
Fri, 13 Sep 2019 11:24:13 +0000 (13:24 +0200)
committerThomas Petazzoni <thomas.petazzoni@bootlin.com>
Sun, 29 Mar 2020 20:47:35 +0000 (22:47 +0200)
jbig2dec is a decoder implementation of the JBIG2 image compression format.

Signed-off-by: Raphaël Mélotte <raphael.melotte@essensium.com>
Tested-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
DEVELOPERS
package/Config.in
package/jbig2dec/Config.in [new file with mode: 0644]
package/jbig2dec/jbig2dec.hash [new file with mode: 0644]
package/jbig2dec/jbig2dec.mk [new file with mode: 0644]

index 75aaf98c441c173957c6d8639c207dc14ff9e32c..6d4718a1ef3016e05a26bbac9e1f1c6f4923779e 100644 (file)
@@ -2125,6 +2125,9 @@ N:        Refik Tuzakli <tuzakli.refik@gmail.com>
 F:     package/freescale-imx/
 F:     package/paho-mqtt-cpp/
 
+N:     Raphaël Mélotte <raphael.melotte@essensium.com>
+F:     package/jbig2dec/
+
 N:     Rémi Rérolle <remi.rerolle@gmail.com>
 F:     package/libfreeimage/
 
index a51125e17bf34fe202e2a0e4072cec36515617c5..b81952b5e1bb4104d6c7c3bbafc2ff275389dc00 100644 (file)
@@ -1391,6 +1391,7 @@ menu "Graphics"
        source "package/intel-mediasdk/Config.in"
        source "package/irrlicht/Config.in"
        source "package/jasper/Config.in"
+       source "package/jbig2dec/Config.in"
        source "package/jpeg/Config.in"
        source "package/kmsxx/Config.in"
        source "package/lcms2/Config.in"
diff --git a/package/jbig2dec/Config.in b/package/jbig2dec/Config.in
new file mode 100644 (file)
index 0000000..d1440dc
--- /dev/null
@@ -0,0 +1,7 @@
+config BR2_PACKAGE_JBIG2DEC
+       bool "jbig2dec"
+       help
+         jbig2dec is a decoder implementation of the JBIG2
+         image compression format.
+
+         https://jbig2dec.com/
diff --git a/package/jbig2dec/jbig2dec.hash b/package/jbig2dec/jbig2dec.hash
new file mode 100644 (file)
index 0000000..eb2b674
--- /dev/null
@@ -0,0 +1,7 @@
+# https://github.com/ArtifexSoftware/ghostpdl-downloads/releases/download/gs927/MD5SUMS
+# and SHA512SUMS are missing the hashes for this file.
+# Locally computed:
+sha256 a4f6bf15d217e7816aa61b92971597c801e81f0a63f9fe1daee60fb88e0f0602  jbig2dec-0.16.tar.gz
+
+# Hash for license files:
+sha256 1bf5258afe453934484fd0cea97508b72301633a6a78b0ae8a9ee44ac78f26d9  LICENSE
diff --git a/package/jbig2dec/jbig2dec.mk b/package/jbig2dec/jbig2dec.mk
new file mode 100644 (file)
index 0000000..5ac5b87
--- /dev/null
@@ -0,0 +1,13 @@
+################################################################################
+#
+# jbig2dec
+#
+################################################################################
+
+JBIG2DEC_VERSION = 0.16
+JBIG2DEC_SITE = https://github.com/ArtifexSoftware/ghostpdl-downloads/releases/download/gs927
+JBIG2DEC_LICENSE = AGPL-3.0+
+JBIG2DEC_LICENSE_FILES = LICENSE
+JBIG2DEC_INSTALL_STAGING = YES
+
+$(eval $(autotools-package))