assimp 5.0.1

Closes #49003.

Signed-off-by: Alexander Bayandin <a.bayandin@gmail.com>
This commit is contained in:
Caleb Xu 2020-01-14 09:18:37 -05:00 committed by Alexander Bayandin
parent 2e7ebedf92
commit 2be45df1ee

View file

@ -1,8 +1,8 @@
class Assimp < Formula class Assimp < Formula
desc "Portable library for importing many well-known 3D model formats" desc "Portable library for importing many well-known 3D model formats"
homepage "http://www.assimp.org" homepage "http://www.assimp.org"
url "https://github.com/assimp/assimp/archive/v5.0.0.tar.gz" url "https://github.com/assimp/assimp/archive/v5.0.1.tar.gz"
sha256 "b0110a91650d6bb4000e3d5c2185bf77b0ff0a2e7a284bc2c4af81b33988b63c" sha256 "11310ec1f2ad2cd46b95ba88faca8f7aaa1efe9aa12605c55e3de2b977b3dbfc"
head "https://github.com/assimp/assimp.git" head "https://github.com/assimp/assimp.git"
bottle do bottle do
@ -25,14 +25,6 @@ class Assimp < Formula
end end
end end
# Fix CMake error "The imported target "assimp::assimp" references the file
# "/usr/local/lib/libassimp.dylib.5""
# Upstream PR from 11 Nov 2019 "Fix shared lib name on macOS"
patch do
url "https://github.com/assimp/assimp/pull/2765.patch?full_index=1"
sha256 "4c8102fea4af720f65d420aa883d60e6ed0f9eb8309938793e82de69d11a23dc"
end
def install def install
args = std_cmake_args args = std_cmake_args
args << "-DASSIMP_BUILD_TESTS=OFF" args << "-DASSIMP_BUILD_TESTS=OFF"