mirror of
https://github.com/chromebrew/chromebrew.git
synced 2026-01-07 22:54:11 -05:00
* Add unbuilt libpng to updater-libpng-1.6.53 * updater-libpng-1.6.53: Package File Update Run on linux/386 container. * updater-libpng-1.6.53: Package File Update Run on linux/amd64 container. * updater-libpng-1.6.53: Package File Update Run on linux/arm/v7 container. --------- Co-authored-by: Zopolis4 <Zopolis4@users.noreply.github.com> Co-authored-by: chromebrew-actions[bot] <chromebrew-actions[bot]@users.noreply.github.com>
27 lines
785 B
Ruby
27 lines
785 B
Ruby
require 'buildsystems/cmake'
|
|
|
|
class Libpng < CMake
|
|
description 'libpng is the official PNG reference library.'
|
|
homepage 'https://www.libpng.org/pub/png/libpng.html'
|
|
version '1.6.53'
|
|
license 'libpng2'
|
|
compatibility 'all'
|
|
source_url 'https://github.com/pnggroup/libpng.git'
|
|
git_hashtag "v#{version}"
|
|
binary_compression 'tar.zst'
|
|
|
|
binary_sha256({
|
|
aarch64: '6a8dc1970e5fa94081fc14e50ea0ab060ec4af3fe6a6b77b3ff49e1be02da85a',
|
|
armv7l: '6a8dc1970e5fa94081fc14e50ea0ab060ec4af3fe6a6b77b3ff49e1be02da85a',
|
|
i686: 'f8b319b2d00dc8771561b140a4d2f9044b8bb2baf5ea714eda06058526f7814b',
|
|
x86_64: '57168fc3f94d9652220b9fc27d58b1d410c4bb5938e9ef4e39862fe8d545ee20'
|
|
})
|
|
|
|
depends_on 'glibc' # R
|
|
depends_on 'zlib'
|
|
|
|
gnome
|
|
|
|
cmake_options '-DPNG_STATIC=OFF'
|
|
end
|