jasper: 1.900.28 -> 2.0.6
This commit is contained in:
parent
f92544fe12
commit
eb7ea181f1
@ -1,18 +1,18 @@
|
|||||||
{ stdenv, fetchurl, fetchpatch, libjpeg, autoreconfHook }:
|
{ stdenv, fetchurl, fetchpatch, libjpeg, cmake }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
name = "jasper-1.900.28";
|
name = "jasper-2.0.6";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
# You can find this code on Github at https://github.com/mdadams/jasper
|
# You can find this code on Github at https://github.com/mdadams/jasper
|
||||||
# however note at https://www.ece.uvic.ca/~frodo/jasper/#download
|
# however note at https://www.ece.uvic.ca/~frodo/jasper/#download
|
||||||
# not all tagged releases are for distribution.
|
# not all tagged releases are for distribution.
|
||||||
url = "http://www.ece.uvic.ca/~mdadams/jasper/software/${name}.tar.gz";
|
url = "http://www.ece.uvic.ca/~mdadams/jasper/software/${name}.tar.gz";
|
||||||
sha256 = "0nsiblsfpfa0dahsk6hw9cd18fp9c8sk1z5hdp19m33c0bf92ip9";
|
sha256 = "0g6fl8rrbspa9vpswixmpxrg71l19kqgc2b5cak7vmwxphj01wbk";
|
||||||
};
|
};
|
||||||
|
|
||||||
# newer reconf to recognize a multiout flag
|
# newer reconf to recognize a multiout flag
|
||||||
nativeBuildInputs = [ autoreconfHook ];
|
nativeBuildInputs = [ cmake ];
|
||||||
propagatedBuildInputs = [ libjpeg ];
|
propagatedBuildInputs = [ libjpeg ];
|
||||||
|
|
||||||
configureFlags = "--enable-shared";
|
configureFlags = "--enable-shared";
|
||||||
@ -21,6 +21,10 @@ stdenv.mkDerivation rec {
|
|||||||
|
|
||||||
enableParallelBuilding = true;
|
enableParallelBuilding = true;
|
||||||
|
|
||||||
|
postInstall = ''
|
||||||
|
moveToOutput bin "$bin"
|
||||||
|
'';
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
homepage = https://www.ece.uvic.ca/~frodo/jasper/;
|
homepage = https://www.ece.uvic.ca/~frodo/jasper/;
|
||||||
description = "JPEG2000 Library";
|
description = "JPEG2000 Library";
|
||||||
|
Loading…
x
Reference in New Issue
Block a user