Commit 98a6dd4f authored by satmandu's avatar satmandu Committed by GitHub

Libwebp + libgdiplus binaries (#5273)

* add binaries
parent 7353d20b
......@@ -8,7 +8,19 @@ class Libgdiplus < Package
source_url 'https://download.mono-project.com/sources/libgdiplus/libgdiplus-6.0.5.tar.gz'
source_sha256 'b81e4e5cc3e4831b2945de08bef26eb1bdcd795aeaf8f971b221c51213a025ef'
depends_on 'pcre'
binary_url({
aarch64: 'https://dl.bintray.com/chromebrew/chromebrew/libgdiplus-6.0.5-2-chromeos-armv7l.tar.xz',
armv7l: 'https://dl.bintray.com/chromebrew/chromebrew/libgdiplus-6.0.5-2-chromeos-armv7l.tar.xz',
i686: 'https://dl.bintray.com/chromebrew/chromebrew/libgdiplus-6.0.5-2-chromeos-i686.tar.xz',
x86_64: 'https://dl.bintray.com/chromebrew/chromebrew/libgdiplus-6.0.5-2-chromeos-x86_64.tar.xz'
})
binary_sha256({
aarch64: '1f6af1a888b6892619e1e75d4d81626e44e683e4bc416cbc2ecf67fd56395bb9',
armv7l: '1f6af1a888b6892619e1e75d4d81626e44e683e4bc416cbc2ecf67fd56395bb9',
i686: 'f82da1a7932e0f10234c60662f9f1cbbd6d47d35015bdd32c1394f782faa59cf',
x86_64: 'f36f2f2729d1184131c855de987d432fed17a8c848f044768c4b20a9fb35267e'
})
depends_on 'glib'
depends_on 'cairo'
depends_on 'graphite'
......@@ -20,7 +32,7 @@ class Libgdiplus < Package
depends_on 'imake' => :build
def self.build
system "CFLAGS='-flto=auto' CXXFLAGS='-flto=auto'
system "CFLAGS='-flto=auto' CXXFLAGS='-flto=auto'
LDFLAGS='-flto=auto' \
./configure #{CREW_OPTIONS} \
--with-libexif \
......@@ -28,10 +40,10 @@ class Libgdiplus < Package
--with-jpeg \
--with-libgif \
--with-x11"
system "make"
system 'make'
end
def self.install
system "make", "DESTDIR=#{CREW_DEST_DIR}", "install"
system 'make', "DESTDIR=#{CREW_DEST_DIR}", 'install'
end
end
......@@ -8,6 +8,19 @@ class Libwebp < Package
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-1-chromeos-armv7l.tar.xz',
armv7l: 'https://dl.bintray.com/chromebrew/chromebrew/libwebp-1.2.0-1-chromeos-armv7l.tar.xz',
i686: 'https://dl.bintray.com/chromebrew/chromebrew/libwebp-1.2.0-1-chromeos-i686.tar.xz',
x86_64: 'https://dl.bintray.com/chromebrew/chromebrew/libwebp-1.2.0-1-chromeos-x86_64.tar.xz'
})
binary_sha256({
aarch64: 'd1c5298b87e15ebcb33e7fb6a99ed6c4daf130b1efa2994abfe846c692bf34fc',
armv7l: 'd1c5298b87e15ebcb33e7fb6a99ed6c4daf130b1efa2994abfe846c692bf34fc',
i686: '45647f97cf2a589675a9326b542fdba4609c7fb9aa58f863322aa6937a9107a3',
x86_64: '4c18160017de211353c5b82b603a2749ae421a05b15c39d285038f324f84c67b'
})
depends_on 'libpng'
depends_on 'libtiff'
depends_on 'libjpeg'
......@@ -16,8 +29,8 @@ class Libwebp < Package
depends_on 'mesa'
def self.build
system "env NOCONFIGURE=1 ./autogen.sh"
system "CFLAGS='-flto=auto' CXXFLAGS='-flto=auto'
system 'env NOCONFIGURE=1 ./autogen.sh'
system "CFLAGS='-flto=auto' CXXFLAGS='-flto=auto'
LDFLAGS='-flto=auto' \
./configure #{CREW_OPTIONS} \
--enable-libwebpmux \
......@@ -33,6 +46,6 @@ class Libwebp < Package
end
def self.install
system "make", "DESTDIR=#{CREW_DEST_DIR}", "install"
system 'make', "DESTDIR=#{CREW_DEST_DIR}", 'install'
end
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