Skip to content

Commit 57c7ec8

Browse files
BrewTestBotchenrui333
authored andcommitted
glbinding 3.5.0
glbinding: remove build patch Signed-off-by: Rui Chen <[email protected]>
1 parent 3f68d9b commit 57c7ec8

File tree

1 file changed

+2
-7
lines changed

1 file changed

+2
-7
lines changed

Formula/g/glbinding.rb

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
class Glbinding < Formula
22
desc "C++ binding for the OpenGL API"
33
homepage "https://glbinding.org/"
4-
url "https://github.com/cginternals/glbinding/archive/refs/tags/v3.4.0.tar.gz"
5-
sha256 "0f623f9eb924d9e24124fd014c877405560f8864a4a1f9b1f92a160dfa32f816"
4+
url "https://github.com/cginternals/glbinding/archive/refs/tags/v3.5.0.tar.gz"
5+
sha256 "bb39a97d5d94f70fe6e9c2152e0d8d760758bb031b352e1707fa90f00a43fc69"
66
license "MIT"
77
head "https://github.com/cginternals/glbinding.git", branch: "master"
88

@@ -29,11 +29,6 @@ def install
2929
# considers /usr and /usr/local to be valid for a system installation
3030
inreplace "CMakeLists.txt", "set(SYSTEM_DIR_INSTALL FALSE)", "set(SYSTEM_DIR_INSTALL TRUE)"
3131

32-
# support cmake 4 build, upstream pr ref, https://github.com/cginternals/glbinding/pull/356
33-
inreplace ["CMakeLists.txt", "source/tests/CMakeLists.txt"] do |f|
34-
f.gsub! "cmake_minimum_required(VERSION 3.0", "cmake_minimum_required(VERSION 3.5"
35-
end
36-
3732
system "cmake", "-S", ".", "-B", "build",
3833
"-DOPTION_BUILD_OWN_KHR_HEADERS=#{OS.mac? ? "ON" : "OFF"}",
3934
"-DEXECUTABLE_INSTALL_RPATH=#{rpath}",

0 commit comments

Comments
 (0)