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

aravis: migrate to pkgconf #198590

Merged
merged 1 commit into from
Nov 22, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 7 additions & 1 deletion Formula/a/aravis.rb
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ class Aravis < Formula
depends_on "gtk-doc" => :build
depends_on "meson" => :build
depends_on "ninja" => :build
depends_on "pkg-config" => :build
depends_on "pkgconf" => :build

depends_on "adwaita-icon-theme"
depends_on "glib"
Expand Down Expand Up @@ -68,6 +68,12 @@ def caveats
end

test do
# The initial plugin load takes a long time without extra permissions on
# macOS, which frequently causes the slower Intel macOS runners to time out.
#
# Ref: https://gitlab.freedesktop.org/gstreamer/gstreamer/-/issues/1119
ENV["GST_PLUGIN_SYSTEM_PATH"] = testpath if OS.mac? && Hardware::CPU.intel? && ENV["HOMEBREW_GITHUB_ACTIONS"]

lib_ext = OS.mac? ? "dylib" : "so"
output = shell_output("gst-inspect-1.0 #{lib}/gstreamer-1.0/libgstaravis.#{version.major_minor}.#{lib_ext}")
assert_match(/Description *Aravis Video Source/, output)
Expand Down
Loading