Skip to content
Snippets Groups Projects
Commit 7fd639d6 authored by Sergey Kosukhin's avatar Sergey Kosukhin Committed by Todd Gamblin
Browse files

Update libjpeg-turbo: added new version and removed redundant dependency. (#1897)

parent bd61a365
No related branches found
No related tags found
No related merge requests found
...@@ -26,20 +26,25 @@ ...@@ -26,20 +26,25 @@
class LibjpegTurbo(Package): class LibjpegTurbo(Package):
"""libjpeg-turbo is a fork of the original IJG libjpeg which uses """libjpeg-turbo is a fork of the original IJG libjpeg which uses SIMD to
SIMD to accelerate baseline JPEG compression and accelerate baseline JPEG compression and decompression. libjpeg is a
decompression. libjpeg is a library that implements JPEG image library that implements JPEG image encoding, decoding and
encoding, decoding and transcoding.""" transcoding."""
homepage = "http://libjpeg-turbo.virtualgl.org" homepage = "http://libjpeg-turbo.virtualgl.org"
url = "http://downloads.sourceforge.net/libjpeg-turbo/libjpeg-turbo-1.3.1.tar.gz" url = "http://downloads.sourceforge.net/libjpeg-turbo/libjpeg-turbo-1.3.1.tar.gz"
version('1.5.0', '3fc5d9b6a8bce96161659ae7a9939257')
version('1.3.1', '2c3a68129dac443a72815ff5bb374b05') version('1.3.1', '2c3a68129dac443a72815ff5bb374b05')
# Can use either of these. # Can use either of these. But in the current version of the package
depends_on("yasm", type='build') # only nasm is used. In order to use yasm an environmental variable
# NASM must be set.
# TODO: Implement the selection between two supported assemblers.
# depends_on("yasm", type='build')
depends_on("nasm", type='build') depends_on("nasm", type='build')
def install(self, spec, prefix): def install(self, spec, prefix):
configure("--prefix=%s" % prefix) configure("--prefix=" + prefix)
make() make()
make("install") make("install")
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment