open-mesh: fix missing smoother files, update HEAD

Closes #8644.

Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
This commit is contained in:
mueller 2017-01-09 11:45:51 +01:00 committed by Mike McQuaid
parent a79c6bcd0d
commit 85a60e1a10

View file

@ -3,7 +3,7 @@ class OpenMesh < Formula
homepage "https://openmesh.org/"
url "https://www.openmesh.org/media/Releases/5.1/OpenMesh-5.1.tar.gz"
sha256 "643262dec62d1c2527950286739613a5b8d450943c601ecc42a817738556e6f7"
head "http://openmesh.org/svnrepo/OpenMesh/trunk/", :using => :svn
head "https://www.graphics.rwth-aachen.de:9000/OpenMesh/OpenMesh.git"
bottle do
cellar :any
@ -15,6 +15,14 @@ class OpenMesh < Formula
depends_on "cmake" => :build
stable do
patch do
# Fixes missing include files in OpenMesh/Tools/Smoother during install
url "https://graphics.rwth-aachen.de:9000/OpenMesh/OpenMesh/commit/c5cfef87427a793268f9e012856872bbed958d92.diff"
sha256 "5180b3ea8e92b88e9212a4fcfc214666d3b2ca2133a95c2f6b0a44855a298c79"
end
end
def install
mkdir "build" do
system "cmake", "..", "-DBUILD_APPS=OFF", *std_cmake_args