spack/var/spack/repos/builtin/packages/imlib2/package.py
Axel Huebl abbc47823d
SourceForge: Mirror Mixin (#16112)
* SourceForge: Mirror Mixin

Add a mixing class for direct `CNAME`s to sourceforge mirrors.
Since the main gateway servers are often down, this could reduce
timeouts and fetch errors for sourceforge.net hosted software.

* SourceForge: unspectacular mirror replacement

add mirrors to all sourceforge packages with trivial
download logic.

tested fetch of latest version of each of these packages
with various mirrors before committing.

* SourceForge: xz

the author homepage is chronocially overrun and this is the offical
upload with many mirrors.
2020-04-16 21:35:30 -07:00

31 lines
1.0 KiB
Python

# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
from spack import *
class Imlib2(AutotoolsPackage, SourceforgePackage):
"""
Library that does image file loading and saving as well as rendering,
manipulation, arbitrary polygon support
"""
homepage = "http://sourceforge.net/projects/enlightenment/"
sourceforge_mirror_path = "enlightenment/imlib2-1.5.1.tar.bz2"
maintainers = ['TheQueasle']
version('1.6.1', sha256='4d393a77e13da883c8ee2da3b029da3570210fe37d000c9ac33d9fce751b166d')
version('1.6.0', sha256='cfc440ddfaed5fc85ba2572ad8d87a87cd77a5bffb33ebca882c42cefcd8691d')
version('1.5.1', sha256='fa4e57452b8843f4a70f70fd435c746ae2ace813250f8c65f977db5d7914baae')
depends_on('libtiff')
depends_on('giflib')
depends_on('bzip2')
depends_on('freetype')
depends_on('libxext')
depends_on('libpng')
depends_on('libid3tag')
depends_on('libjpeg-turbo')