Skip to content

Commit

Permalink
gst-plugins-bad 1.8.3
Browse files Browse the repository at this point in the history
Missing headers are shipped in 1.8.3, hack can be removed.
  • Loading branch information
lovebug356 authored and DomT4 committed Aug 20, 2016
1 parent e296307 commit 0b2a547
Showing 1 changed file with 2 additions and 22 deletions.
24 changes: 2 additions & 22 deletions Formula/gst-plugins-bad.rb
Expand Up @@ -3,24 +3,8 @@ class GstPluginsBad < Formula
homepage "https://gstreamer.freedesktop.org/"

stable do
url "https://gstreamer.freedesktop.org/src/gst-plugins-bad/gst-plugins-bad-1.8.2.tar.xz"
sha256 "d7995317530c8773ec088f94d9320909d41da61996b801ebacce9a56af493f97"

# corevideomemory.h and iosurfacememory.h are missing from the tarball
# should be removed after >1.8.2 is released
# https://bugzilla.gnome.org/show_bug.cgi?id=766163
# https://github.com/GStreamer/gst-plugins-bad/commit/43487482e5c5ec71867acb887d50b8c3f813cd63
resource "corevideomemory_header" do
url "https://raw.githubusercontent.com/GStreamer/gst-plugins-bad/1.8.2/sys/applemedia/corevideomemory.h"
sha256 "9d8c0fc6b310cb510a2af93a7614db80ec272ebd3dd943ecd47e65130b43aeea"
end

# same as above
# should be removed after >1.8.2 is released
resource "iosurfacememory_header" do
url "https://raw.githubusercontent.com/GStreamer/gst-plugins-bad/1.8.2/sys/applemedia/iosurfacememory.h"
sha256 "c617ff11e5abd8d71e97afe33d8e573685ab209a1a22184d56ad2cdb916d826c"
end
url "https://gstreamer.freedesktop.org/src/gst-plugins-bad/gst-plugins-bad-1.8.3.tar.xz"
sha256 "7899fcb18e6a1af2888b19c90213af018a57d741c6e72ec56b133bc73ec8509b"
end

bottle do
Expand Down Expand Up @@ -71,10 +55,6 @@ def install
# https://github.com/Homebrew/legacy-homebrew/pull/35284
if MacOS.version <= :mavericks
args << "--disable-apple_media"
elsif !build.head?
# should be removed after >1.8.2 is released
resource("corevideomemory_header").stage buildpath/"sys/applemedia"
resource("iosurfacememory_header").stage buildpath/"sys/applemedia"
end

args << "--with-gtk=3.0" if build.with? "gtk+3"
Expand Down

0 comments on commit 0b2a547

Please sign in to comment.