Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

h*: migrate to pkgconf (part 1) #198691

Merged
merged 16 commits into from
Nov 23, 2024
7 changes: 2 additions & 5 deletions Formula/h/h2o.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
class H2o < Formula

Check notice on line 1 in Formula/h/h2o.rb

View workflow job for this annotation

GitHub Actions / macOS 15-arm64

Bottle cache hit

Bottle for h2o built at 78d49cbb533 (Merge c93c895182f1f8edc9c38292074a86349afc4828 into 878793ca44b26940c3057ac579c5828a0b0e5699, 2024-11-22)

Check notice on line 1 in Formula/h/h2o.rb

View workflow job for this annotation

GitHub Actions / Linux

Bottle cache hit

Bottle for h2o built at 78d49cbb533 (Merge c93c895182f1f8edc9c38292074a86349afc4828 into 878793ca44b26940c3057ac579c5828a0b0e5699, 2024-11-22)

Check notice on line 1 in Formula/h/h2o.rb

View workflow job for this annotation

GitHub Actions / macOS 13-arm64

Bottle cache hit

Bottle for h2o built at 78d49cbb533 (Merge c93c895182f1f8edc9c38292074a86349afc4828 into 878793ca44b26940c3057ac579c5828a0b0e5699, 2024-11-22)

Check notice on line 1 in Formula/h/h2o.rb

View workflow job for this annotation

GitHub Actions / macOS 14-arm64

Bottle cache hit

Bottle for h2o built at 78d49cbb533 (Merge c93c895182f1f8edc9c38292074a86349afc4828 into 878793ca44b26940c3057ac579c5828a0b0e5699, 2024-11-22)
desc "HTTP server with support for HTTP/1.x and HTTP/2"
homepage "https://github.com/h2o/h2o/"
url "https://github.com/h2o/h2o/archive/refs/tags/v2.2.6.tar.gz"
Expand All @@ -20,7 +20,7 @@
end

depends_on "cmake" => :build
depends_on "pkg-config" => :build
depends_on "pkgconf" => :build
depends_on "openssl@3"

uses_from_macos "zlib"
Expand Down Expand Up @@ -81,11 +81,8 @@
test do
port = free_port
(testpath/"h2o.conf").write conf_example(port)
fork do
exec "#{bin}/h2o -c #{testpath}/h2o.conf"
end
spawn "#{bin}/h2o -c #{testpath}/h2o.conf"
sleep 2

assert_match "Welcome to H2O", shell_output("curl localhost:#{port}")
end
end
16 changes: 5 additions & 11 deletions Formula/h/hackrf.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
class Hackrf < Formula

Check notice on line 1 in Formula/h/hackrf.rb

View workflow job for this annotation

GitHub Actions / macOS 15-arm64

Bottle cache hit

Bottle for hackrf built at 78d49cbb533 (Merge c93c895182f1f8edc9c38292074a86349afc4828 into 878793ca44b26940c3057ac579c5828a0b0e5699, 2024-11-22)

Check notice on line 1 in Formula/h/hackrf.rb

View workflow job for this annotation

GitHub Actions / Linux

Bottle cache hit

Bottle for hackrf built at 78d49cbb533 (Merge c93c895182f1f8edc9c38292074a86349afc4828 into 878793ca44b26940c3057ac579c5828a0b0e5699, 2024-11-22)

Check notice on line 1 in Formula/h/hackrf.rb

View workflow job for this annotation

GitHub Actions / macOS 14-arm64

Bottle cache hit

Bottle for hackrf built at 78d49cbb533 (Merge c93c895182f1f8edc9c38292074a86349afc4828 into 878793ca44b26940c3057ac579c5828a0b0e5699, 2024-11-22)

Check notice on line 1 in Formula/h/hackrf.rb

View workflow job for this annotation

GitHub Actions / macOS 13-arm64

Bottle cache hit

Bottle for hackrf built at 78d49cbb533 (Merge c93c895182f1f8edc9c38292074a86349afc4828 into 878793ca44b26940c3057ac579c5828a0b0e5699, 2024-11-22)

Check notice on line 1 in Formula/h/hackrf.rb

View workflow job for this annotation

GitHub Actions / macOS 13-x86_64

Bottle cache hit

Bottle for hackrf built at 78d49cbb533 (Merge c93c895182f1f8edc9c38292074a86349afc4828 into 878793ca44b26940c3057ac579c5828a0b0e5699, 2024-11-22)

Check notice on line 1 in Formula/h/hackrf.rb

View workflow job for this annotation

GitHub Actions / macOS 14-x86_64

Bottle cache hit

Bottle for hackrf built at 78d49cbb533 (Merge c93c895182f1f8edc9c38292074a86349afc4828 into 878793ca44b26940c3057ac579c5828a0b0e5699, 2024-11-22)
desc "Low cost software radio platform"
homepage "https://github.com/greatscottgadgets/hackrf"
url "https://github.com/greatscottgadgets/hackrf/releases/download/v2024.02.1/hackrf-2024.02.1.tar.xz"
Expand All @@ -23,22 +23,16 @@
end

depends_on "cmake" => :build
depends_on "pkg-config" => :build
depends_on "pkgconf" => :build
depends_on "fftw"
depends_on "libusb"

def install
cd "host" do
args = std_cmake_args
args = OS.linux? ? ["-DUDEV_RULES_GROUP=plugdev", "-DUDEV_RULES_PATH=#{lib}/udev/rules.d"] : []

if OS.linux?
args << "-DUDEV_RULES_GROUP=plugdev"
args << "-DUDEV_RULES_PATH=#{lib}/udev/rules.d"
end

system "cmake", ".", *args
system "make", "install"
end
system "cmake", "-S", "host", "-B", "build", *args, *std_cmake_args
system "cmake", "--build", "build"
system "cmake", "--install", "build"
pkgshare.install "firmware-bin/"
end

Expand Down
4 changes: 1 addition & 3 deletions Formula/h/hamlib.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
class Hamlib < Formula

Check notice on line 1 in Formula/h/hamlib.rb

View workflow job for this annotation

GitHub Actions / macOS 15-arm64

Bottle cache hit

Bottle for hamlib built at 78d49cbb533 (Merge c93c895182f1f8edc9c38292074a86349afc4828 into 878793ca44b26940c3057ac579c5828a0b0e5699, 2024-11-22)

Check notice on line 1 in Formula/h/hamlib.rb

View workflow job for this annotation

GitHub Actions / Linux

Bottle cache hit

Bottle for hamlib built at 78d49cbb533 (Merge c93c895182f1f8edc9c38292074a86349afc4828 into 878793ca44b26940c3057ac579c5828a0b0e5699, 2024-11-22)

Check notice on line 1 in Formula/h/hamlib.rb

View workflow job for this annotation

GitHub Actions / macOS 13-arm64

Bottle cache hit

Bottle for hamlib built at 78d49cbb533 (Merge c93c895182f1f8edc9c38292074a86349afc4828 into 878793ca44b26940c3057ac579c5828a0b0e5699, 2024-11-22)

Check notice on line 1 in Formula/h/hamlib.rb

View workflow job for this annotation

GitHub Actions / macOS 14-arm64

Bottle cache hit

Bottle for hamlib built at 78d49cbb533 (Merge c93c895182f1f8edc9c38292074a86349afc4828 into 878793ca44b26940c3057ac579c5828a0b0e5699, 2024-11-22)

Check notice on line 1 in Formula/h/hamlib.rb

View workflow job for this annotation

GitHub Actions / macOS 13-x86_64

Bottle cache hit

Bottle for hamlib built at 78d49cbb533 (Merge c93c895182f1f8edc9c38292074a86349afc4828 into 878793ca44b26940c3057ac579c5828a0b0e5699, 2024-11-22)

Check notice on line 1 in Formula/h/hamlib.rb

View workflow job for this annotation

GitHub Actions / macOS 14-x86_64

Bottle cache hit

Bottle for hamlib built at 78d49cbb533 (Merge c93c895182f1f8edc9c38292074a86349afc4828 into 878793ca44b26940c3057ac579c5828a0b0e5699, 2024-11-22)
desc "Ham radio control libraries"
homepage "http://www.hamlib.org/"
url "https://github.com/Hamlib/Hamlib/releases/download/4.5.5/hamlib-4.5.5.tar.gz"
Expand All @@ -21,7 +21,7 @@

depends_on "autoconf" => :build
depends_on "automake" => :build
depends_on "pkg-config" => :build
depends_on "pkgconf" => :build
depends_on "libtool"
depends_on "libusb"
depends_on "libusb-compat"
Expand All @@ -30,8 +30,6 @@
depends_on "readline"
end

fails_with gcc: "5"

def install
system "./bootstrap" if build.head?
system "./configure", "--disable-silent-rules", *std_configure_args
Expand Down
2 changes: 1 addition & 1 deletion Formula/h/handbrake.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
class Handbrake < Formula

Check notice on line 1 in Formula/h/handbrake.rb

View workflow job for this annotation

GitHub Actions / macOS 15-arm64

Bottle cache hit

Bottle for handbrake built at 78d49cbb533 (Merge c93c895182f1f8edc9c38292074a86349afc4828 into 878793ca44b26940c3057ac579c5828a0b0e5699, 2024-11-22)

Check notice on line 1 in Formula/h/handbrake.rb

View workflow job for this annotation

GitHub Actions / Linux

Bottle cache hit

Bottle for handbrake built at 78d49cbb533 (Merge c93c895182f1f8edc9c38292074a86349afc4828 into 878793ca44b26940c3057ac579c5828a0b0e5699, 2024-11-22)

Check notice on line 1 in Formula/h/handbrake.rb

View workflow job for this annotation

GitHub Actions / macOS 13-arm64

Bottle cache hit

Bottle for handbrake built at 78d49cbb533 (Merge c93c895182f1f8edc9c38292074a86349afc4828 into 878793ca44b26940c3057ac579c5828a0b0e5699, 2024-11-22)

Check notice on line 1 in Formula/h/handbrake.rb

View workflow job for this annotation

GitHub Actions / macOS 14-arm64

Bottle cache hit

Bottle for handbrake built at 78d49cbb533 (Merge c93c895182f1f8edc9c38292074a86349afc4828 into 878793ca44b26940c3057ac579c5828a0b0e5699, 2024-11-22)

Check notice on line 1 in Formula/h/handbrake.rb

View workflow job for this annotation

GitHub Actions / macOS 13-x86_64

Bottle cache hit

Bottle for handbrake built at 78d49cbb533 (Merge c93c895182f1f8edc9c38292074a86349afc4828 into 878793ca44b26940c3057ac579c5828a0b0e5699, 2024-11-22)

Check notice on line 1 in Formula/h/handbrake.rb

View workflow job for this annotation

GitHub Actions / macOS 14-x86_64

Bottle cache hit

Bottle for handbrake built at 78d49cbb533 (Merge c93c895182f1f8edc9c38292074a86349afc4828 into 878793ca44b26940c3057ac579c5828a0b0e5699, 2024-11-22)
desc "Open-source video transcoder available for Linux, Mac, and Windows"
homepage "https://handbrake.fr/"
url "https://github.com/HandBrake/HandBrake/releases/download/1.7.3/HandBrake-1.7.3-source.tar.bz2"
Expand All @@ -23,7 +23,7 @@
depends_on "meson" => :build
depends_on "nasm" => :build
depends_on "ninja" => :build
depends_on "pkg-config" => :build
depends_on "pkgconf" => :build
depends_on "yasm" => :build

uses_from_macos "m4" => :build
Expand Down
4 changes: 2 additions & 2 deletions Formula/h/harfbuzz.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
class Harfbuzz < Formula

Check notice on line 1 in Formula/h/harfbuzz.rb

View workflow job for this annotation

GitHub Actions / macOS 15-arm64

Bottle cache hit

Bottle for harfbuzz built at 78d49cbb533 (Merge c93c895182f1f8edc9c38292074a86349afc4828 into 878793ca44b26940c3057ac579c5828a0b0e5699, 2024-11-22)

Check notice on line 1 in Formula/h/harfbuzz.rb

View workflow job for this annotation

GitHub Actions / Linux

Bottle cache hit

Bottle for harfbuzz built at 78d49cbb533 (Merge c93c895182f1f8edc9c38292074a86349afc4828 into 878793ca44b26940c3057ac579c5828a0b0e5699, 2024-11-22)

Check notice on line 1 in Formula/h/harfbuzz.rb

View workflow job for this annotation

GitHub Actions / macOS 13-arm64

Bottle cache hit

Bottle for harfbuzz built at 78d49cbb533 (Merge c93c895182f1f8edc9c38292074a86349afc4828 into 878793ca44b26940c3057ac579c5828a0b0e5699, 2024-11-22)

Check notice on line 1 in Formula/h/harfbuzz.rb

View workflow job for this annotation

GitHub Actions / macOS 14-arm64

Bottle cache hit

Bottle for harfbuzz built at 78d49cbb533 (Merge c93c895182f1f8edc9c38292074a86349afc4828 into 878793ca44b26940c3057ac579c5828a0b0e5699, 2024-11-22)

Check notice on line 1 in Formula/h/harfbuzz.rb

View workflow job for this annotation

GitHub Actions / macOS 13-x86_64

Bottle cache hit

Bottle for harfbuzz built at 78d49cbb533 (Merge c93c895182f1f8edc9c38292074a86349afc4828 into 878793ca44b26940c3057ac579c5828a0b0e5699, 2024-11-22)

Check notice on line 1 in Formula/h/harfbuzz.rb

View workflow job for this annotation

GitHub Actions / macOS 14-x86_64

Bottle cache hit

Bottle for harfbuzz built at 78d49cbb533 (Merge c93c895182f1f8edc9c38292074a86349afc4828 into 878793ca44b26940c3057ac579c5828a0b0e5699, 2024-11-22)
desc "OpenType text shaping engine"
homepage "https://github.com/harfbuzz/harfbuzz"
url "https://github.com/harfbuzz/harfbuzz/archive/refs/tags/10.1.0.tar.gz"
Expand All @@ -18,7 +18,7 @@
depends_on "gobject-introspection" => :build
depends_on "meson" => :build
depends_on "ninja" => :build
depends_on "pkg-config" => :build
depends_on "pkgconf" => :build
depends_on "[email protected]" => [:build, :test]
depends_on "pygobject3" => :test
depends_on "cairo"
Expand Down Expand Up @@ -46,7 +46,7 @@
-Dtests=disabled
]

system "meson", "setup", "build", *std_meson_args, *args
system "meson", "setup", "build", *args, *std_meson_args
system "meson", "compile", "-C", "build", "--verbose"
system "meson", "install", "-C", "build"
end
Expand Down
2 changes: 1 addition & 1 deletion Formula/h/haxe.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
class Haxe < Formula

Check notice on line 1 in Formula/h/haxe.rb

View workflow job for this annotation

GitHub Actions / macOS 15-arm64

Bottle cache hit

Bottle for haxe built at 78d49cbb533 (Merge c93c895182f1f8edc9c38292074a86349afc4828 into 878793ca44b26940c3057ac579c5828a0b0e5699, 2024-11-22)

Check notice on line 1 in Formula/h/haxe.rb

View workflow job for this annotation

GitHub Actions / Linux

Bottle cache hit

Bottle for haxe built at 78d49cbb533 (Merge c93c895182f1f8edc9c38292074a86349afc4828 into 878793ca44b26940c3057ac579c5828a0b0e5699, 2024-11-22)

Check notice on line 1 in Formula/h/haxe.rb

View workflow job for this annotation

GitHub Actions / macOS 13-arm64

Bottle cache hit

Bottle for haxe built at 78d49cbb533 (Merge c93c895182f1f8edc9c38292074a86349afc4828 into 878793ca44b26940c3057ac579c5828a0b0e5699, 2024-11-22)

Check notice on line 1 in Formula/h/haxe.rb

View workflow job for this annotation

GitHub Actions / macOS 14-arm64

Bottle cache hit

Bottle for haxe built at 78d49cbb533 (Merge c93c895182f1f8edc9c38292074a86349afc4828 into 878793ca44b26940c3057ac579c5828a0b0e5699, 2024-11-22)

Check notice on line 1 in Formula/h/haxe.rb

View workflow job for this annotation

GitHub Actions / macOS 13-x86_64

Bottle cache hit

Bottle for haxe built at 78d49cbb533 (Merge c93c895182f1f8edc9c38292074a86349afc4828 into 878793ca44b26940c3057ac579c5828a0b0e5699, 2024-11-22)
desc "Multi-platform programming language"
homepage "https://haxe.org/"
license all_of: ["GPL-2.0-or-later", "MIT"]
Expand Down Expand Up @@ -38,7 +38,7 @@
depends_on "cmake" => :build
depends_on "ocaml" => :build
depends_on "opam" => :build
depends_on "pkg-config" => :build
depends_on "pkgconf" => :build
depends_on "mbedtls"
depends_on "neko"
depends_on "pcre2"
Expand Down
2 changes: 1 addition & 1 deletion Formula/h/hcxtools.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
class Hcxtools < Formula

Check notice on line 1 in Formula/h/hcxtools.rb

View workflow job for this annotation

GitHub Actions / macOS 15-arm64

Bottle cache hit

Bottle for hcxtools built at 78d49cbb533 (Merge c93c895182f1f8edc9c38292074a86349afc4828 into 878793ca44b26940c3057ac579c5828a0b0e5699, 2024-11-22)

Check notice on line 1 in Formula/h/hcxtools.rb

View workflow job for this annotation

GitHub Actions / Linux

Bottle cache hit

Bottle for hcxtools built at 78d49cbb533 (Merge c93c895182f1f8edc9c38292074a86349afc4828 into 878793ca44b26940c3057ac579c5828a0b0e5699, 2024-11-22)

Check notice on line 1 in Formula/h/hcxtools.rb

View workflow job for this annotation

GitHub Actions / macOS 13-arm64

Bottle cache hit

Bottle for hcxtools built at 78d49cbb533 (Merge c93c895182f1f8edc9c38292074a86349afc4828 into 878793ca44b26940c3057ac579c5828a0b0e5699, 2024-11-22)

Check notice on line 1 in Formula/h/hcxtools.rb

View workflow job for this annotation

GitHub Actions / macOS 14-arm64

Bottle cache hit

Bottle for hcxtools built at 78d49cbb533 (Merge c93c895182f1f8edc9c38292074a86349afc4828 into 878793ca44b26940c3057ac579c5828a0b0e5699, 2024-11-22)

Check notice on line 1 in Formula/h/hcxtools.rb

View workflow job for this annotation

GitHub Actions / macOS 13-x86_64

Bottle cache hit

Bottle for hcxtools built at 78d49cbb533 (Merge c93c895182f1f8edc9c38292074a86349afc4828 into 878793ca44b26940c3057ac579c5828a0b0e5699, 2024-11-22)
desc "Utils for conversion of cap/pcap/pcapng WiFi dump files"
homepage "https://github.com/ZerBea/hcxtools"
url "https://github.com/ZerBea/hcxtools/archive/refs/tags/6.3.5.tar.gz"
Expand All @@ -15,7 +15,7 @@
sha256 cellar: :any_skip_relocation, x86_64_linux: "cfa435ef982fe30b6e3ea26c1d736882a4799c0ee035bccb5cf20bdca00740dd"
end

depends_on "pkg-config" => :build
depends_on "pkgconf" => :build
depends_on "openssl@3"

uses_from_macos "curl"
Expand Down
2 changes: 1 addition & 1 deletion Formula/h/hdf5-mpi.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
class Hdf5Mpi < Formula

Check notice on line 1 in Formula/h/hdf5-mpi.rb

View workflow job for this annotation

GitHub Actions / macOS 15-arm64

Bottle cache hit

Bottle for hdf5-mpi built at 78d49cbb533 (Merge c93c895182f1f8edc9c38292074a86349afc4828 into 878793ca44b26940c3057ac579c5828a0b0e5699, 2024-11-22)

Check notice on line 1 in Formula/h/hdf5-mpi.rb

View workflow job for this annotation

GitHub Actions / Linux

Bottle cache hit

Bottle for hdf5-mpi built at 78d49cbb533 (Merge c93c895182f1f8edc9c38292074a86349afc4828 into 878793ca44b26940c3057ac579c5828a0b0e5699, 2024-11-22)

Check notice on line 1 in Formula/h/hdf5-mpi.rb

View workflow job for this annotation

GitHub Actions / macOS 13-arm64

Bottle cache hit

Bottle for hdf5-mpi built at 78d49cbb533 (Merge c93c895182f1f8edc9c38292074a86349afc4828 into 878793ca44b26940c3057ac579c5828a0b0e5699, 2024-11-22)

Check notice on line 1 in Formula/h/hdf5-mpi.rb

View workflow job for this annotation

GitHub Actions / macOS 14-arm64

Bottle cache hit

Bottle for hdf5-mpi built at 78d49cbb533 (Merge c93c895182f1f8edc9c38292074a86349afc4828 into 878793ca44b26940c3057ac579c5828a0b0e5699, 2024-11-22)

Check notice on line 1 in Formula/h/hdf5-mpi.rb

View workflow job for this annotation

GitHub Actions / macOS 13-x86_64

Bottle cache hit

Bottle for hdf5-mpi built at 78d49cbb533 (Merge c93c895182f1f8edc9c38292074a86349afc4828 into 878793ca44b26940c3057ac579c5828a0b0e5699, 2024-11-22)
desc "File format designed to store large amounts of data"
homepage "https://www.hdfgroup.org/solutions/hdf5/"
url "https://github.com/HDFGroup/hdf5/releases/download/hdf5_1.14.5/hdf5-1.14.5.tar.gz"
Expand All @@ -23,7 +23,7 @@
depends_on "gcc" # for gfortran
depends_on "libaec"
depends_on "open-mpi"
depends_on "pkg-config"
depends_on "pkgconf"

uses_from_macos "zlib"

Expand Down
2 changes: 1 addition & 1 deletion Formula/h/hdf5.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
class Hdf5 < Formula

Check notice on line 1 in Formula/h/hdf5.rb

View workflow job for this annotation

GitHub Actions / macOS 15-arm64

Bottle cache hit

Bottle for hdf5 built at 78d49cbb533 (Merge c93c895182f1f8edc9c38292074a86349afc4828 into 878793ca44b26940c3057ac579c5828a0b0e5699, 2024-11-22)

Check notice on line 1 in Formula/h/hdf5.rb

View workflow job for this annotation

GitHub Actions / Linux

Bottle cache hit

Bottle for hdf5 built at 78d49cbb533 (Merge c93c895182f1f8edc9c38292074a86349afc4828 into 878793ca44b26940c3057ac579c5828a0b0e5699, 2024-11-22)

Check notice on line 1 in Formula/h/hdf5.rb

View workflow job for this annotation

GitHub Actions / macOS 13-arm64

Bottle cache hit

Bottle for hdf5 built at 78d49cbb533 (Merge c93c895182f1f8edc9c38292074a86349afc4828 into 878793ca44b26940c3057ac579c5828a0b0e5699, 2024-11-22)

Check notice on line 1 in Formula/h/hdf5.rb

View workflow job for this annotation

GitHub Actions / macOS 14-arm64

Bottle cache hit

Bottle for hdf5 built at 78d49cbb533 (Merge c93c895182f1f8edc9c38292074a86349afc4828 into 878793ca44b26940c3057ac579c5828a0b0e5699, 2024-11-22)

Check notice on line 1 in Formula/h/hdf5.rb

View workflow job for this annotation

GitHub Actions / macOS 13-x86_64

Bottle cache hit

Bottle for hdf5 built at 78d49cbb533 (Merge c93c895182f1f8edc9c38292074a86349afc4828 into 878793ca44b26940c3057ac579c5828a0b0e5699, 2024-11-22)
desc "File format designed to store large amounts of data"
homepage "https://www.hdfgroup.org/solutions/hdf5/"
url "https://github.com/HDFGroup/hdf5/releases/download/hdf5_1.14.5/hdf5-1.14.5.tar.gz"
Expand Down Expand Up @@ -26,7 +26,7 @@
depends_on "cmake" => :build
depends_on "gcc" # for gfortran
depends_on "libaec"
depends_on "pkg-config"
depends_on "pkgconf"

uses_from_macos "zlib"

Expand Down
4 changes: 2 additions & 2 deletions Formula/h/hdt.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
class Hdt < Formula

Check notice on line 1 in Formula/h/hdt.rb

View workflow job for this annotation

GitHub Actions / macOS 15-arm64

Bottle cache hit

Bottle for hdt built at 78d49cbb533 (Merge c93c895182f1f8edc9c38292074a86349afc4828 into 878793ca44b26940c3057ac579c5828a0b0e5699, 2024-11-22)

Check notice on line 1 in Formula/h/hdt.rb

View workflow job for this annotation

GitHub Actions / Linux

Bottle cache hit

Bottle for hdt built at 78d49cbb533 (Merge c93c895182f1f8edc9c38292074a86349afc4828 into 878793ca44b26940c3057ac579c5828a0b0e5699, 2024-11-22)

Check notice on line 1 in Formula/h/hdt.rb

View workflow job for this annotation

GitHub Actions / macOS 13-arm64

Bottle cache hit

Bottle for hdt built at 78d49cbb533 (Merge c93c895182f1f8edc9c38292074a86349afc4828 into 878793ca44b26940c3057ac579c5828a0b0e5699, 2024-11-22)

Check notice on line 1 in Formula/h/hdt.rb

View workflow job for this annotation

GitHub Actions / macOS 14-arm64

Bottle cache hit

Bottle for hdt built at 78d49cbb533 (Merge c93c895182f1f8edc9c38292074a86349afc4828 into 878793ca44b26940c3057ac579c5828a0b0e5699, 2024-11-22)

Check notice on line 1 in Formula/h/hdt.rb

View workflow job for this annotation

GitHub Actions / macOS 13-x86_64

Bottle cache hit

Bottle for hdt built at 78d49cbb533 (Merge c93c895182f1f8edc9c38292074a86349afc4828 into 878793ca44b26940c3057ac579c5828a0b0e5699, 2024-11-22)
desc "Header Dictionary Triples (HDT) is a compression format for RDF data"
homepage "https://github.com/rdfhdt/hdt-cpp"
url "https://github.com/rdfhdt/hdt-cpp/archive/refs/tags/v1.3.3.tar.gz"
Expand All @@ -24,7 +24,7 @@
depends_on "autoconf" => :build
depends_on "automake" => :build
depends_on "libtool" => :build
depends_on "pkg-config" => :build
depends_on "pkgconf" => :build
depends_on "serd"

uses_from_macos "zlib"
Expand Down Expand Up @@ -55,7 +55,7 @@
EOS

system bin/"rdf2hdt", test_file, "test.hdt"
assert_predicate testpath/"test.hdt", :exist?
assert_path_exists testpath/"test.hdt"
system bin/"hdtInfo", "test.hdt"
end
end
2 changes: 1 addition & 1 deletion Formula/h/healpix.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
class Healpix < Formula

Check notice on line 1 in Formula/h/healpix.rb

View workflow job for this annotation

GitHub Actions / macOS 13-x86_64

Bottle cache hit

Bottle for healpix built at 78d49cbb533 (Merge c93c895182f1f8edc9c38292074a86349afc4828 into 878793ca44b26940c3057ac579c5828a0b0e5699, 2024-11-22)
desc "Hierarchical Equal Area isoLatitude Pixelization of a sphere"
homepage "https://healpix.jpl.nasa.gov"
url "https://downloads.sourceforge.net/project/healpix/Healpix_3.83/Healpix_3.83_2024Nov13.tar.gz"
Expand All @@ -18,7 +18,7 @@
depends_on "autoconf" => :build
depends_on "automake" => :build
depends_on "libtool" => :build
depends_on "pkg-config" => :build
depends_on "pkgconf" => :build
depends_on "cfitsio"

def install
Expand Down
2 changes: 1 addition & 1 deletion Formula/h/heimdal.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
class Heimdal < Formula

Check warning on line 1 in Formula/h/heimdal.rb

View workflow job for this annotation

GitHub Actions / Linux

`brew linkage --cached --test --strict heimdal` failed on Linux!

ncurses
desc "Free Kerberos 5 implementation"
homepage "https://www.h5l.org"
url "https://github.com/heimdal/heimdal/releases/download/heimdal-7.8.0/heimdal-7.8.0.tar.gz"
Expand Down Expand Up @@ -38,7 +38,7 @@
uses_from_macos "libxcrypt"

on_linux do
depends_on "pkg-config" => :build
depends_on "pkgconf" => :build
end

resource "JSON" do
Expand Down
2 changes: 1 addition & 1 deletion Formula/h/hfstospell.rb
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ class Hfstospell < Formula
depends_on "autoconf" => :build
depends_on "automake" => :build
depends_on "libtool" => :build
depends_on "pkg-config" => :build
depends_on "pkgconf" => :build
depends_on "icu4c@76"
depends_on "libarchive"

Expand Down
2 changes: 1 addition & 1 deletion Formula/h/hidapi.rb
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ class Hidapi < Formula
end

depends_on "cmake" => :build
depends_on "pkg-config" => :build
depends_on "pkgconf" => :build

on_linux do
depends_on "libusb"
Expand Down
4 changes: 1 addition & 3 deletions Formula/h/highlight.rb
Original file line number Diff line number Diff line change
Expand Up @@ -21,11 +21,9 @@ class Highlight < Formula
end

depends_on "boost" => :build
depends_on "pkg-config" => :build
depends_on "pkgconf" => :build
depends_on "lua"

fails_with gcc: "5" # needs C++17

def install
conf_dir = etc/"highlight/" # highlight needs a final / for conf_dir
system "make", "PREFIX=#{prefix}", "conf_dir=#{conf_dir}"
Expand Down
6 changes: 3 additions & 3 deletions Formula/h/highs.rb
Original file line number Diff line number Diff line change
Expand Up @@ -23,14 +23,14 @@ class Highs < Formula
end

depends_on "cmake" => :build
depends_on "pkg-config" => :build
depends_on "pkgconf" => :build

uses_from_macos "zlib"

def install
system "cmake", "-S", ".", "-B", "build",
*std_cmake_args,
"-DCMAKE_INSTALL_RPATH=#{rpath}"
"-DCMAKE_INSTALL_RPATH=#{rpath}",
*std_cmake_args
system "cmake", "--build", "build"
system "cmake", "--install", "build"
pkgshare.install "check", "examples"
Expand Down
Loading