Skip to content
This repository has been archived by the owner on Jul 4, 2023. It is now read-only.

Commit

Permalink
libcec 3.1.0
Browse files Browse the repository at this point in the history
Closes #45359.
  • Loading branch information
DomT4 committed Mar 20, 2016
1 parent 62568d3 commit f7ae591
Showing 1 changed file with 6 additions and 13 deletions.
19 changes: 6 additions & 13 deletions Library/Formula/libcec.rb
Original file line number Diff line number Diff line change
@@ -1,35 +1,28 @@
class Libcec < Formula
desc "Control devices with TV remote control and HDMI cabling"
homepage "http://libcec.pulse-eight.com/"
url "https://github.com/Pulse-Eight/libcec/archive/libcec-3.0.1.tar.gz"
sha256 "7e3670c8949a1964d6e5481f56dfff838857da10bdc60b506f6e9b7f117e253e"
url "https://github.com/Pulse-Eight/libcec/archive/libcec-3.1.0.tar.gz"
sha256 "09109d21a1b03f42c9e341d12600f2e4c41038d640269fa75408e2d36126f921"

bottle do
sha256 "306d97c80d93ceaf6e2b74cc3da4a969db12bf9d8c6143a485b81f2885aed664" => :yosemite
sha256 "25b8dd9dc73cf4127ef1f585a164e44f48390edc4904c76c8642c091ce795325" => :mavericks
sha256 "587fe017014efe02fd31e7f7ada38025e9f05f1788ab4b94c4b172aa7d3310b3" => :mountain_lion
end

resource "platform" do
url "https://github.com/Pulse-Eight/platform/archive/1.0.10.tar.gz"
sha256 "6ba3239cb1c0a5341efcf9488f4d3dfad8c26d6b2994b2b2247e5a61568ab5cd"
end

depends_on "cmake" => :build

needs :cxx11

# This patch can be removed with the next release bump
# https://github.com/Pulse-Eight/libcec/issues/112
patch do
url "https://github.com/Pulse-Eight/libcec/commit/2f32a9debc1f148b5dfcfc463480f1432bb71725.diff"
sha256 "93ae5259fadeb710c5ac70d72955c3be55cf68e589584ee7f520c0b2a7bc8a20"
resource "p8-platform" do
url "https://github.com/Pulse-Eight/platform/archive/p8-platform-2.0.1.tar.gz"
sha256 "e97e45273e90571aa37732cde913b262f5f519c387083645d2557d7189c054cf"
end

def install
ENV.cxx11

resource("platform").stage do
resource("p8-platform").stage do
mkdir "build" do
system "cmake", "..", *std_cmake_args
system "make"
Expand Down

0 comments on commit f7ae591

Please sign in to comment.