Skip to content

Commit

Permalink
openjpeg-2 Adding to moonbase, can co-exist with openjpeg-1.5.
Browse files Browse the repository at this point in the history
  • Loading branch information
stumbles committed Oct 21, 2014
1 parent 001f8a9 commit 97cf623
Show file tree
Hide file tree
Showing 4 changed files with 47 additions and 0 deletions.
14 changes: 14 additions & 0 deletions graphics/openjpeg-2/BUILD
@@ -0,0 +1,14 @@

OPTS+=" -DBUILD_SHARED_LIBS=1 \
-DBUILD_PKGCONFIG_FILES=1 \
-DBUILD_VIEWER=0 \
-DBUILD_THIRDPARTY=1 \
-DBUILD_JAVA=0 \
-DBUILD_JP3D=1 \
-DBUILD_JPIP=0 \
-DBUILD_JPWL=1 \
-DBUILD_MJ2=1 \
-DBUILD_CODEC=1 \
-DBUILD_JPIP_SERVER=1" &&

default_cmake_build
4 changes: 4 additions & 0 deletions graphics/openjpeg-2/CONFIGURE
@@ -0,0 +1,4 @@
mquery BUILD_MJ2 "Build mj2 binaries?" y "--enable-mj2" "--disable-mj2"
mquery BUILD_JPWL "Build JPWL library?" y "--enable-jpwl" "--disable-jpwl"
mquery ENABLE_JPIP "Build jpip library? (Needed if yes to JPIP server" y "--enable-jpip" "--disable-jpip"
mquery ENABLE_JPIP_SERVER "Build jpip server?" n "--enable-jpip-server" "--disable-jpip-server"
7 changes: 7 additions & 0 deletions graphics/openjpeg-2/DEPENDS
@@ -0,0 +1,7 @@
depends zlib
depends curl
depends pkgconfig
depends cmake
depends libpng
depends tiff
depends lcms2
22 changes: 22 additions & 0 deletions graphics/openjpeg-2/DETAILS
@@ -0,0 +1,22 @@
MODULE=openjpeg-2
VERSION=1.0
SOURCE=$MODULE.$VERSION.tar.gz
SOURCE_URL[0]=http://downloads.sourceforge.net/openjpeg.mirror/
SOURCE_URL[1]=http://openjpeg.googlecode.com/files/
SOURCE_DIRECTORY=$BUILD_DIRECTORY/$MODULE.$VERSION
SOURCE_VFY=sha1:c2a255f6b51ca96dc85cd6e85c89d300018cb1cb
WEB_SITE=http://code.google.com/p/openjpeg/
ENTERED=20141020
UPDATED=20141020
SHORT="open-source JPEG 2000 codec written in C language"
PSAFE=no
cat << EOF
The OpenJPEG library is an open-source JPEG 2000 codec written in C language.
It has been developed in order to promote the use of JPEG 2000, the new
still-image compression standard from the Joint Photographic Experts Group
(JPEG). In addition to the basic codec, various other features are under
development, among them the JP2 and MJ2 (Motion JPEG 2000) file formats, an
indexing tool useful for the JPIP protocol, JPWL-tools for error-resilience, a
Java-viewer for j2k-images, ...
EOF

0 comments on commit 97cf623

Please sign in to comment.