mirror of
https://github.com/chromebrew/chromebrew.git
synced 2026-01-11 00:18:06 -05:00
@@ -20,12 +20,14 @@ class Libgdiplus < Package
|
||||
depends_on 'imake' => :build
|
||||
|
||||
def self.build
|
||||
system "./configure #{CREW_OPTIONS} \
|
||||
--with-libexif \
|
||||
--with-libtiff \
|
||||
--with-jpeg \
|
||||
--with-libgif \
|
||||
--with-x11"
|
||||
system "CFLAGS='-flto=auto' CXXFLAGS='-flto=auto'
|
||||
LDFLAGS='-flto=auto' \
|
||||
./configure #{CREW_OPTIONS} \
|
||||
--with-libexif \
|
||||
--with-libtiff \
|
||||
--with-jpeg \
|
||||
--with-libgif \
|
||||
--with-x11"
|
||||
system "make"
|
||||
end
|
||||
|
||||
|
||||
@@ -17,16 +17,18 @@ class Libwebp < Package
|
||||
|
||||
def self.build
|
||||
system "env NOCONFIGURE=1 ./autogen.sh"
|
||||
system "./configure #{CREW_OPTIONS} \
|
||||
--enable-libwebpmux \
|
||||
--enable-libwebpdemux \
|
||||
--enable-libwebpdecoder \
|
||||
--enable-libwebpextras \
|
||||
--enable-sdl \
|
||||
--enable-tiff \
|
||||
--enable-jpeg \
|
||||
--enable-png \
|
||||
--enable-gif"
|
||||
system "CFLAGS='-flto=auto' CXXFLAGS='-flto=auto'
|
||||
LDFLAGS='-flto=auto' \
|
||||
./configure #{CREW_OPTIONS} \
|
||||
--enable-libwebpmux \
|
||||
--enable-libwebpdemux \
|
||||
--enable-libwebpdecoder \
|
||||
--enable-libwebpextras \
|
||||
--enable-sdl \
|
||||
--enable-tiff \
|
||||
--enable-jpeg \
|
||||
--enable-png \
|
||||
--enable-gif"
|
||||
system 'make'
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user