Skip to content

Commit 16d1f4f

Browse files
authored
Merge pull request Homebrew#208227 from Homebrew/libdpp-json
libdpp: use Homebrew `nlohmann-json`
2 parents 5833445 + 6fee50b commit 16d1f4f

File tree

1 file changed

+15
-7
lines changed

1 file changed

+15
-7
lines changed

Formula/lib/libdpp.rb

Lines changed: 15 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -6,23 +6,31 @@ class Libdpp < Formula
66
license "Apache-2.0"
77

88
bottle do
9-
sha256 cellar: :any, arm64_sequoia: "e041426c1fbfe60b1f751fd4223a5daae7d6b01f51f7398058f91b330c07c55e"
10-
sha256 cellar: :any, arm64_sonoma: "7d1f71ae80c3b9f1af8ca633658092b75d01545eb7a32d5eaac79674633b5a7a"
11-
sha256 cellar: :any, arm64_ventura: "cc4dbaf15b453c352c5af33ed24259245832edb50354bdcf2eb508f8839ce973"
12-
sha256 cellar: :any, sonoma: "a187b0a03194c894eb3dd574585ecadb53b3885385f0a76f480ae9dd6e054169"
13-
sha256 cellar: :any, ventura: "0dda8005329206e980a1e0aa5875f0193ebc5df90839a1e6e321e68a169c7463"
14-
sha256 cellar: :any_skip_relocation, x86_64_linux: "c8e268ad44b11da37020f457c7ae9108057a286d989adc38780e9362326bfce2"
9+
rebuild 1
10+
sha256 cellar: :any, arm64_sequoia: "cb77910370788f5e76d754b8af942de607af64be8a0d4d54bb1873b640bd0f09"
11+
sha256 cellar: :any, arm64_sonoma: "d0f9149351006277ca0adb82fc28373f079737120a4b848b4aa86f9cd025a42b"
12+
sha256 cellar: :any, arm64_ventura: "b1f6b78be46f887a9ee35eaf55a80677a3565c8877a42353bfc5fbe31f25a3b6"
13+
sha256 cellar: :any, sonoma: "bea496c05d0e5421ab9099bc2cf497909484450a3e1b723d3fd8d86f7fc60815"
14+
sha256 cellar: :any, ventura: "658e968e1df3e5562da1da0648d37c45c5246664cc63d46d7d904d9c06e27df0"
15+
sha256 cellar: :any_skip_relocation, x86_64_linux: "4f49b2d9cd65d0dfc27cf75ea7ce866a57b00b0f70f8e2797f307f3c60bf22b1"
1516
end
1617

1718
depends_on "cmake" => :build
19+
depends_on "nlohmann-json" => :build
1820
depends_on "openssl@3"
1921
depends_on "opus"
2022
depends_on "pkgconf"
2123

2224
uses_from_macos "zlib"
2325

2426
def install
25-
system "cmake", "-S", ".", "-B", "build", "-DDPP_BUILD_TEST=OFF", *std_cmake_args
27+
system "cmake", "-S", ".", "-B", "build",
28+
"-DDPP_BUILD_TEST=OFF",
29+
"-DDPP_NO_CONAN=ON",
30+
"-DDPP_NO_VCPKG=ON",
31+
"-DDPP_USE_EXTERNAL_JSON=ON",
32+
"-DRUN_LDCONFIG=OFF",
33+
*std_cmake_args
2634
system "cmake", "--build", "build"
2735
system "cmake", "--install", "build"
2836
end

0 commit comments

Comments
 (0)