Commit 2b40f3de authored by Ed Reel's avatar Ed Reel

Update libopus and libx264 and remove zimg library

parent d5de459b
...@@ -6,7 +6,9 @@ class Libopus < Package ...@@ -6,7 +6,9 @@ class Libopus < Package
source_sha1 'fb6d55cf73059bd916790960c2eeffe83edabafe' source_sha1 'fb6d55cf73059bd916790960c2eeffe83edabafe'
def self.build def self.build
system "./configure --host=#{ARCH}" system "./configure --prefix=/usr/local \
--enable-shared \
--enable-static"
system "make" system "make"
end end
......
require 'package' require 'package'
class Libx264 < Package class Libx264 < Package
version '20170524-2245-stable' version '20170528-2245-stable'
source_url 'http://ftp.videolan.org/pub/videolan/x264/snapshots/x264-snapshot-20170524-2245-stable.tar.bz2' source_url 'http://ftp.videolan.org/pub/videolan/x264/snapshots/last_stable_x264.tar.bz2'
source_sha1 'e2e34a6bb7724ebf7b06b8607eb173966b5e0e25' source_sha1 '5ce46323b25cba7b5c7c960be327eeecc8b8395b'
depends_on 'yasm' depends_on 'yasm'
def self.build def self.build
system "./configure" system "./configure \
--enable-shared \
--enable-static"
system "make" system "make"
end end
......
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
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