Skip to content

Commit

Permalink
Merge pull request #6 from pointrlabs/revise-formula/maplibre-gl-native
Browse files Browse the repository at this point in the history
[maplibre-gl-native] Use internal ICU
  • Loading branch information
cantunca-pointr authored Jul 25, 2023
2 parents 7f3180c + 45fe48e commit 9854b8f
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions Formula/maplibre-gl-native.rb
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ class MaplibreGlNative < Formula
sha256 cellar: :any, arm64_monterey: "0933d9f23f44a7659348954d4ac9f46b3d61611acb018a1b937744ccc07d35c8"
sha256 cellar: :any, ventura: "b09808287c3e7b1b7d30f3bbfbfd465430ecab5d0a02466fb0915ec856ab4de0"
sha256 cellar: :any, monterey: "ec52135fa73f2b29c2e33e026394b2f61925efa1ab067fced617e219a1cd060a"
sha256 cellar: :any_skip_relocation, x86_64_linux: "e2dca19547b2ae447294c238150f12a043fb753426ee3e73d09eaf26192b40d1"
sha256 cellar: :any_skip_relocation, x86_64_linux: "3536000142a638b9fecd0ba3e4330789d3d18a3397261f63169ea515b020288a"
end

depends_on "cmake" => :build
Expand All @@ -21,7 +21,9 @@ class MaplibreGlNative < Formula

def install
system "cmake", "-S", ".", "-B", "build", "-G", "Ninja",
"-DMBGL_WITH_QT=ON", "-DMBGL_QT_LIBRARY_ONLY=ON", "-DMBGL_QT_WITH_INTERNAL_SQLITE=ON", "-DMBGL_WITH_WERROR=OFF",
"-DMBGL_WITH_QT=ON", "-DMBGL_QT_LIBRARY_ONLY=ON",
"-DMBGL_QT_WITH_INTERNAL_SQLITE=ON", "-DMBGL_QT_WITH_INTERNAL_ICU=ON",
"-DMBGL_WITH_WERROR=OFF",
*std_cmake_args
system "cmake", "--build", "build", "--target", "qmaplibregl"
system "cmake", "--install", "build"
Expand Down

0 comments on commit 9854b8f

Please sign in to comment.