Created
December 30, 2016 17:15
-
-
Save mnutt/90a72e4bef184eb1bc122c64613027c3 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class Qtwebkit < Formula | |
desc "Full-featured qt port of the WebKit rendering engine" | |
homepage "https://github.com/annulen/webkit" | |
url "https://github.com/annulen/webkit/releases/download/qtwebkit-tp4/qtwebkit-tp4.tar.xz" | |
version "tp4" | |
sha256 "35fcf7e04742b040a072245d79f36d1486e63345a69f53e09408c6564d3bcf27" | |
revision 1 | |
# to be changed to https://github.com/annulen/webkit.git | |
head "https://github.com/movableink/webkit.git", :branch => "pri-mac-frameworks" | |
depends_on "cmake" => :build | |
depends_on "ninja" => [:build, :optional] | |
depends_on "qt5" | |
depends_on "libpng" | |
def install | |
qt5 = Formula["qt5"] | |
extra_args = %W[ | |
-DPORT=Qt | |
-DCMAKE_PREFIX_PATH=#{qt5.installed_prefix} | |
] | |
mkdir "build" do | |
system "cmake", "..", *(std_cmake_args + extra_args) | |
system "make", "install" | |
end | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment