From 58dd0877e73c7932b03088f86716dbf447c227b3 Mon Sep 17 00:00:00 2001 From: David Helkowski Date: Thu, 22 Jan 2026 14:28:58 +0900 Subject: [PATCH] Add gtk-doc as a build dependency for libgpod and run gtkdocize during the build process to ensure proper documentation generation. --- Formula/libgpod.rb | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Formula/libgpod.rb b/Formula/libgpod.rb index 0ebd575a4..9a2288afa 100644 --- a/Formula/libgpod.rb +++ b/Formula/libgpod.rb @@ -9,6 +9,7 @@ class Libgpod < Formula depends_on "automake" => :build depends_on "libtool" => :build depends_on "pkg-config" => :build + depends_on "gtk-doc" => :build depends_on "glib" depends_on "gdk-pixbuf" @@ -20,6 +21,10 @@ class Libgpod < Formula # Upstream's autogen.sh is very old and may hardcode ancient automake checks # (e.g. looking for automake-1.7). Using autoreconf is the standard Homebrew # way and works with modern autotools. + # + # libgpod's build system expects gtk-doc's makefile snippet to exist (gtk-doc.make), + # which is normally provided by running gtkdocize. + system "gtkdocize", "--copy" system "autoreconf", "-fiv" system "./configure", *std_configure_args,