Commit 6c2d632c authored by Ed Reel's avatar Ed Reel Committed by Chris Thurber

Update libpng from 1.6.34 to 1.6.36 (#3177)

Add pre-built binaries
parent 94b779e6
......@@ -3,32 +3,37 @@ require 'package'
class Libpng < Package
description 'libpng is the official PNG reference library.'
homepage 'http://libpng.org/pub/png/libpng.html'
version '1.6.34'
source_url 'https://sourceforge.net/projects/libpng/files/libpng16/1.6.34/libpng-1.6.34.tar.xz'
source_sha256 '2f1e960d92ce3b3abd03d06dfec9637dfbd22febf107a536b44f7a47c60659f6'
version '1.6.36'
source_url 'https://downloads.sourceforge.net/project/libpng/libpng16/1.6.36/libpng-1.6.36.tar.xz'
source_sha256 'eceb924c1fa6b79172fdfd008d335f0e59172a86a66481e09d4089df872aa319'
binary_url ({
aarch64: 'https://dl.bintray.com/chromebrew/chromebrew/libpng-1.6.34-chromeos-armv7l.tar.xz',
armv7l: 'https://dl.bintray.com/chromebrew/chromebrew/libpng-1.6.34-chromeos-armv7l.tar.xz',
i686: 'https://dl.bintray.com/chromebrew/chromebrew/libpng-1.6.34-chromeos-i686.tar.xz',
x86_64: 'https://dl.bintray.com/chromebrew/chromebrew/libpng-1.6.34-chromeos-x86_64.tar.xz',
aarch64: 'https://dl.bintray.com/chromebrew/chromebrew/libpng-1.6.36-chromeos-armv7l.tar.xz',
armv7l: 'https://dl.bintray.com/chromebrew/chromebrew/libpng-1.6.36-chromeos-armv7l.tar.xz',
i686: 'https://dl.bintray.com/chromebrew/chromebrew/libpng-1.6.36-chromeos-i686.tar.xz',
x86_64: 'https://dl.bintray.com/chromebrew/chromebrew/libpng-1.6.36-chromeos-x86_64.tar.xz',
})
binary_sha256 ({
aarch64: '380cd321d5abdbda55f3941e7ebeccccbe2b4618d939ca3e8bb80f13c229fc68',
armv7l: '380cd321d5abdbda55f3941e7ebeccccbe2b4618d939ca3e8bb80f13c229fc68',
i686: 'b7ec1bfc198559a3568add4351eea4f9f05d35dcf97af57df017e2355e5e7234',
x86_64: '172fa194c4a7e185a9bacf7a1932c6dcf71ce0a3d19990fd10a39ee9f6a2171a',
aarch64: '134223fd27b8f1fb39bd1f44c795d41b60b49070c9f5f8c7b582af53b090279e',
armv7l: '134223fd27b8f1fb39bd1f44c795d41b60b49070c9f5f8c7b582af53b090279e',
i686: 'd84e969b8f24fc998ed61bf4a669346216d6167ed9f9f5b026eac5acb47ea0a0',
x86_64: 'fe2f3ba8855fbba9c0f81a1a5d377e78be56e8895e428e19c32b497417a8bf79',
})
depends_on 'zlibpkg'
def self.patch
# Fix /usr/bin/file: No such file or directory
system 'filefix'
end
def self.build
system './configure',
"--prefix=#{CREW_PREFIX}",
"--libdir=#{CREW_LIB_PREFIX}",
'--disable-dependency-tracking',
'--disable-maintainer-mode'
system 'make'
system './configure',
"--prefix=#{CREW_PREFIX}",
"--libdir=#{CREW_LIB_PREFIX}",
'--disable-dependency-tracking',
'--disable-maintainer-mode'
system 'make'
end
def self.install
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment