Commit 74e258dd authored by saltedcoffii's avatar saltedcoffii Committed by GitHub

[Fix packages] libgdiplus libwebp (#5237)

* Add gif support to libwebp

* Add gif support to libgdiplus
parent e54823cf
require 'package'
class Libgdiplus < Package
description 'libgdiplus is the mono library that provides a GDI+-compatible API on non-windows operating systems.'
description 'The mono library that provides a GDI+-compatible API on non-windows operating systems.'
homepage 'https://www.mono-project.com/docs/gui/libgdiplus/'
version '6.0.5-1'
version '6.0.5-2'
compatibility 'all'
source_url 'https://download.mono-project.com/sources/libgdiplus/libgdiplus-6.0.5.tar.gz'
source_sha256 'b81e4e5cc3e4831b2945de08bef26eb1bdcd795aeaf8f971b221c51213a025ef'
binary_url ({
aarch64: 'https://dl.bintray.com/chromebrew/chromebrew/libgdiplus-6.0.5-1-chromeos-armv7l.tar.xz',
armv7l: 'https://dl.bintray.com/chromebrew/chromebrew/libgdiplus-6.0.5-1-chromeos-armv7l.tar.xz',
i686: 'https://dl.bintray.com/chromebrew/chromebrew/libgdiplus-6.0.5-1-chromeos-i686.tar.xz',
x86_64: 'https://dl.bintray.com/chromebrew/chromebrew/libgdiplus-6.0.5-1-chromeos-x86_64.tar.xz',
})
binary_sha256 ({
aarch64: 'c64e89cc05e8499da3aa10b6f63fa2ada890ac1ec93135802e48a26e338998d3',
armv7l: 'c64e89cc05e8499da3aa10b6f63fa2ada890ac1ec93135802e48a26e338998d3',
i686: 'd74692453aeffe340db28fd820cfdbc4e372d2869d121a841ea0defc81523211',
x86_64: '8a5e8b654ad4266d31ce25ba4f5eac6b54286a65f698c34f4e7a80df360edfed',
})
depends_on 'pcre'
depends_on 'glib'
depends_on 'cairo'
......@@ -29,12 +16,15 @@ class Libgdiplus < Package
depends_on 'libtiff'
depends_on 'libpng'
depends_on 'libwebp'
depends_on 'giflib'
depends_on 'imake' => :build
def self.build
system "./configure #{CREW_OPTIONS} \
--with-libexif \
--with-libtiff \
--with-jpeg \
--with-libgif \
--with-x11"
system "make"
end
......
......@@ -3,28 +3,16 @@ require 'package'
class Libwebp < Package
description 'WebP is a modern image format that provides superior lossless and lossy compression for images on the web.'
homepage 'https://developers.google.com/speed/webp/'
version '1.2.0'
version '1.2.0-1'
compatibility 'all'
source_url 'http://storage.googleapis.com/downloads.webmproject.org/releases/webp/libwebp-1.2.0.tar.gz'
source_url 'http://downloads.webmproject.org/releases/webp/libwebp-1.2.0.tar.gz'
source_sha256 '2fc8bbde9f97f2ab403c0224fb9ca62b2e6852cbc519e91ceaa7c153ffd88a0c'
binary_url ({
aarch64: 'https://dl.bintray.com/chromebrew/chromebrew/libwebp-1.2.0-chromeos-armv7l.tar.xz',
armv7l: 'https://dl.bintray.com/chromebrew/chromebrew/libwebp-1.2.0-chromeos-armv7l.tar.xz',
i686: 'https://dl.bintray.com/chromebrew/chromebrew/libwebp-1.2.0-chromeos-i686.tar.xz',
x86_64: 'https://dl.bintray.com/chromebrew/chromebrew/libwebp-1.2.0-chromeos-x86_64.tar.xz',
})
binary_sha256 ({
aarch64: 'c156d14ddbfa22beeadedaa0d1a6ae949319ec605003866b39aea37070cf2313',
armv7l: 'c156d14ddbfa22beeadedaa0d1a6ae949319ec605003866b39aea37070cf2313',
i686: 'c195c44117804c73eada397285490d9f724c98bae35457fb687560442f27207e',
x86_64: '248f9490dd57210c642929ab42879dd27a956cc6002164cc0276b600748d9866',
})
depends_on 'libpng'
depends_on 'libtiff'
depends_on 'libjpeg'
depends_on 'libsdl'
depends_on 'giflib'
depends_on 'mesa'
def self.build
......@@ -37,7 +25,8 @@ class Libwebp < Package
--enable-sdl \
--enable-tiff \
--enable-jpeg \
--enable-png"
--enable-png \
--enable-gif"
system 'make'
end
......
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