Make jpeg a virtual dependency. (#5190)

* Make jpeg a virtual dependency.

* Make 'libjpeg-turbo' the default implementation of 'jpeg'.
This commit is contained in:
Sergey Kosukhin
2017-08-24 10:30:35 +02:00
committed by Massimiliano Culpo
parent 49a9d63be7
commit a48b5a627c
9 changed files with 50 additions and 11 deletions

View File

@@ -38,7 +38,7 @@ class Jasper(AutotoolsPackage):
variant('debug', default=False,
description='Builds debug versions of the libraries')
depends_on('libjpeg-turbo')
depends_on('jpeg')
# Fixes a bug (still in upstream as of v.1.900.1) where an assertion fails
# when certain JPEG-2000 files with an alpha channel are processed