import jbig2dec
jbig2dec is a decoder library and example utility implementing the JBIG2 bi-level image compression spec. Also known as ITU T.88 and ISO IEC 14492, and now included by reference in Adobe's PDF 1.4.
This commit is contained in:
parent
a307812e3b
commit
0a07765649
41
graphics/jbig2dec/Makefile
Normal file
41
graphics/jbig2dec/Makefile
Normal file
@ -0,0 +1,41 @@
|
||||
# $OpenBSD: Makefile,v 1.1.1.1 2009/10/11 09:59:16 sthen Exp $
|
||||
|
||||
COMMENT= decoder for JBIG2 monochrome hi-res image compression format
|
||||
|
||||
DISTNAME= jbig2dec-0.10
|
||||
DISTFILES= ${DISTNAME}${EXTRACT_SUFX} \
|
||||
jb2streams.zip:0
|
||||
|
||||
CATEGORIES= graphics
|
||||
|
||||
HOMEPAGE= http://jbig2dec.sourceforge.net/
|
||||
|
||||
# GPLv2+
|
||||
PERMIT_PACKAGE_CDROM= Yes
|
||||
PERMIT_PACKAGE_FTP= Yes
|
||||
PERMIT_DISTFILES_CDROM= Yes
|
||||
PERMIT_DISTFILES_FTP= Yes
|
||||
|
||||
MASTER_SITES= http://ghostscript.com/~giles/jbig2/jbig2dec/
|
||||
MASTER_SITES0= http://jbig2dec.sourceforge.net/ubc/
|
||||
|
||||
WANTLIB += c m z
|
||||
|
||||
LIB_DEPENDS= png::graphics/png
|
||||
|
||||
SEPARATE_BUILD= concurrent
|
||||
CONFIGURE_STYLE= gnu
|
||||
CONFIGURE_ARGS= --with-libpng=${LOCALBASE}
|
||||
CFLAGS+= -I${LOCALBASE}/include/libpng
|
||||
CONFIGURE_ENV= LDFLAGS="`pkg-config --libs libpng`"
|
||||
|
||||
MODULES= lang/python
|
||||
MODPY_RUNDEP= No
|
||||
REGRESS_DEPENDS= ${BUILD_DEPENDS}
|
||||
|
||||
pre-regress:
|
||||
${SUBST_CMD} -c ${WRKSRC}/test_jbig2dec.py ${WRKBUILD}/test_jbig2dec.py
|
||||
${INSTALL_DATA_DIR} ${WRKBUILD}/ubc/
|
||||
mv ${WRKDIR}/*bmp ${WRKDIR}/*jb2 ${WRKBUILD}/ubc/
|
||||
|
||||
.include <bsd.port.mk>
|
10
graphics/jbig2dec/distinfo
Normal file
10
graphics/jbig2dec/distinfo
Normal file
@ -0,0 +1,10 @@
|
||||
MD5 (jb2streams.zip) = IO5UOiBVfrWNEimmChPbgA==
|
||||
MD5 (jbig2dec-0.10.tar.gz) = 05EkCtvBIfZ/stGXH/we4w==
|
||||
RMD160 (jb2streams.zip) = c1U974zLZN3miF2kJb0UmUQAm/4=
|
||||
RMD160 (jbig2dec-0.10.tar.gz) = Bkfe+38jT/bwniqRvQb43T9csLo=
|
||||
SHA1 (jb2streams.zip) = JQGTW3JzTomaDCyiS4tltoEP4xo=
|
||||
SHA1 (jbig2dec-0.10.tar.gz) = DvhbEZncWlVpDn1REArMLAleddc=
|
||||
SHA256 (jb2streams.zip) = PR5ceQVLWdBhyr2x17otGz+EcA9cUXukMG9wR2YAFvc=
|
||||
SHA256 (jbig2dec-0.10.tar.gz) = 8I98e6DLM2XDusyRe+xJEgUsoNwQLO3bBbvO+Y7QL+4=
|
||||
SIZE (jb2streams.zip) = 1285838
|
||||
SIZE (jbig2dec-0.10.tar.gz) = 165877
|
9
graphics/jbig2dec/patches/patch-test_jbig2dec_py
Normal file
9
graphics/jbig2dec/patches/patch-test_jbig2dec_py
Normal file
@ -0,0 +1,9 @@
|
||||
$OpenBSD: patch-test_jbig2dec_py,v 1.1.1.1 2009/10/11 09:59:16 sthen Exp $
|
||||
--- test_jbig2dec.py.orig Tue Jul 14 22:00:16 2009
|
||||
+++ test_jbig2dec.py Tue Jul 14 22:00:21 2009
|
||||
@@ -1,4 +1,4 @@
|
||||
-#! /usr/bin/env python
|
||||
+#!${MODPY_BIN}
|
||||
|
||||
# this is the testtest script for jbig2dec
|
||||
|
3
graphics/jbig2dec/pkg/DESCR
Normal file
3
graphics/jbig2dec/pkg/DESCR
Normal file
@ -0,0 +1,3 @@
|
||||
jbig2dec is a decoder library and example utility implementing the JBIG2
|
||||
bi-level image compression spec. Also known as ITU T.88 and ISO IEC
|
||||
14492, and now included by reference in Adobe's PDF 1.4.
|
4
graphics/jbig2dec/pkg/PLIST
Normal file
4
graphics/jbig2dec/pkg/PLIST
Normal file
@ -0,0 +1,4 @@
|
||||
@comment $OpenBSD: PLIST,v 1.1.1.1 2009/10/11 09:59:16 sthen Exp $
|
||||
@bin bin/jbig2dec
|
||||
include/jbig2.h
|
||||
lib/libjbig2dec.a
|
Loading…
Reference in New Issue
Block a user