mirror of
https://github.com/chromebrew/chromebrew.git
synced 2026-01-10 07:57:59 -05:00
Update libopus and libx264 and remove zimg library
This commit is contained in:
@@ -6,7 +6,9 @@ class Libopus < Package
|
||||
source_sha1 'fb6d55cf73059bd916790960c2eeffe83edabafe'
|
||||
|
||||
def self.build
|
||||
system "./configure --host=#{ARCH}"
|
||||
system "./configure --prefix=/usr/local \
|
||||
--enable-shared \
|
||||
--enable-static"
|
||||
system "make"
|
||||
end
|
||||
|
||||
|
||||
@@ -1,14 +1,16 @@
|
||||
require 'package'
|
||||
|
||||
class Libx264 < Package
|
||||
version '20170524-2245-stable'
|
||||
source_url 'http://ftp.videolan.org/pub/videolan/x264/snapshots/x264-snapshot-20170524-2245-stable.tar.bz2'
|
||||
source_sha1 'e2e34a6bb7724ebf7b06b8607eb173966b5e0e25'
|
||||
version '20170528-2245-stable'
|
||||
source_url 'http://ftp.videolan.org/pub/videolan/x264/snapshots/last_stable_x264.tar.bz2'
|
||||
source_sha1 '5ce46323b25cba7b5c7c960be327eeecc8b8395b'
|
||||
|
||||
depends_on 'yasm'
|
||||
|
||||
def self.build
|
||||
system "./configure"
|
||||
system "./configure \
|
||||
--enable-shared \
|
||||
--enable-static"
|
||||
system "make"
|
||||
end
|
||||
|
||||
|
||||
@@ -1,20 +0,0 @@
|
||||
require 'package'
|
||||
|
||||
class Zimg < Package
|
||||
version '5.0.0'
|
||||
source_url 'https://downloads.sourceforge.net/project/zimg/zimg/zimg-5.0.0/zimg-5.0.0.tar.gz'
|
||||
source_sha1 'f263e6629a7eadd0e32ac13e3380afd7238f944e'
|
||||
|
||||
depends_on 'libgd'
|
||||
|
||||
def self.build
|
||||
#system "sed -i '/^ zimg_t z;/d' zimg.c"
|
||||
#system "sed -i 's/if (z\.fontspec/if (z.fontspec != null/g' zimg.c"
|
||||
system "./configure"
|
||||
system "make"
|
||||
end
|
||||
|
||||
def self.install
|
||||
system "make", "DESTDIR=#{CREW_DEST_DIR}", "install"
|
||||
end
|
||||
end
|
||||
Reference in New Issue
Block a user