libuvc: add HEAD and optional JPEG dependency.

Closes Homebrew/homebrew#31257.

Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
This commit is contained in:
CyberCastle 2014-07-30 19:59:19 -04:00 committed by Mike McQuaid
parent ee94893b29
commit 3b334b6d3c

View file

@ -5,6 +5,8 @@ class Libuvc < Formula
url "https://github.com/ktossell/libuvc/archive/v0.0.5.tar.gz"
sha1 "ab2e06d014af6aa72238113666f57405f45d1d18"
head "https://github.com/ktossell/libuvc.git"
bottle do
sha1 "592b2190a35ab15f07c25d39f3e34a0baae971e2" => :mavericks
sha1 "c13fafbeab7ebc19565be18423bb34248c9557a6" => :mountain_lion
@ -13,6 +15,7 @@ class Libuvc < Formula
depends_on "cmake" => :build
depends_on "libusb"
depends_on "jpeg" => :optional
def install
system "cmake", ".", *std_cmake_args