Update libjpeg-turbo: added new version and removed redundant dependency. (#1897)
This commit is contained in:
parent
bd61a36587
commit
7fd639d6fc
@ -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")
|
||||||
|
Loading…
Reference in New Issue
Block a user