diff --git a/Formula/s/sh4d0wup.rb b/Formula/s/sh4d0wup.rb index 6b2b04896549..7992180aa0da 100644 --- a/Formula/s/sh4d0wup.rb +++ b/Formula/s/sh4d0wup.rb @@ -15,7 +15,7 @@ class Sh4d0wup < Formula end depends_on "llvm" => :build - depends_on "pkg-config" => :build + depends_on "pkgconf" => :build depends_on "rust" => :build depends_on "pgpdump" => :test diff --git a/Formula/s/shairport-sync.rb b/Formula/s/shairport-sync.rb index 2dfb05aa8165..2d9815f3da87 100644 --- a/Formula/s/shairport-sync.rb +++ b/Formula/s/shairport-sync.rb @@ -24,7 +24,7 @@ class ShairportSync < Formula depends_on "autoconf" => :build depends_on "automake" => :build - depends_on "pkg-config" => :build + depends_on "pkgconf" => :build depends_on "libao" depends_on "libconfig" depends_on "libdaemon" @@ -34,7 +34,7 @@ class ShairportSync < Formula depends_on "pulseaudio" def install - system "autoreconf", "-fvi" + system "autoreconf", "--force", "--install", "--verbose" args = %W[ --with-libdaemon --with-ssl=openssl diff --git a/Formula/s/shared-mime-info.rb b/Formula/s/shared-mime-info.rb index 3cecb0c21cd5..d3e28dc4c0ed 100644 --- a/Formula/s/shared-mime-info.rb +++ b/Formula/s/shared-mime-info.rb @@ -27,7 +27,7 @@ class SharedMimeInfo < Formula depends_on "itstool" => :build depends_on "meson" => :build depends_on "ninja" => :build - depends_on "pkg-config" => :build + depends_on "pkgconf" => :build depends_on "xmlto" => :build depends_on "glib" diff --git a/Formula/s/shibboleth-sp.rb b/Formula/s/shibboleth-sp.rb index bf428da16935..9356cb4ad5c8 100644 --- a/Formula/s/shibboleth-sp.rb +++ b/Formula/s/shibboleth-sp.rb @@ -19,7 +19,7 @@ class ShibbolethSp < Formula sha256 x86_64_linux: "0dd53cb012bdb80804df6c2ae04476966cc9f337b4e5b2df5ee5cdef9017191c" end - depends_on "pkg-config" => :build + depends_on "pkgconf" => :build depends_on "apr" depends_on "apr-util" diff --git a/Formula/s/sigrok-cli.rb b/Formula/s/sigrok-cli.rb index 8b0d5ed83f97..d17f1e317c86 100644 --- a/Formula/s/sigrok-cli.rb +++ b/Formula/s/sigrok-cli.rb @@ -32,7 +32,7 @@ class SigrokCli < Formula depends_on "libtool" => :build end - depends_on "pkg-config" => :build + depends_on "pkgconf" => :build depends_on "glib" depends_on "libsigrok" depends_on "libsigrokdecode" diff --git a/Formula/s/sile.rb b/Formula/s/sile.rb index 52f3ddb25dd0..b9164f4c02c9 100644 --- a/Formula/s/sile.rb +++ b/Formula/s/sile.rb @@ -24,7 +24,7 @@ class Sile < Formula end depends_on "jq" => :build - depends_on "pkg-config" => :build + depends_on "pkgconf" => :build depends_on "poppler" => :build depends_on "rust" => :build diff --git a/Formula/s/silicon.rb b/Formula/s/silicon.rb index 5eef8dd6622e..eb034744c740 100644 --- a/Formula/s/silicon.rb +++ b/Formula/s/silicon.rb @@ -20,7 +20,7 @@ class Silicon < Formula depends_on "harfbuzz" on_linux do - depends_on "pkg-config" => :build + depends_on "pkgconf" => :build depends_on "libxcb" depends_on "xclip" end @@ -30,7 +30,7 @@ def install end test do - (testpath/"test.rs").write <<~EOF + (testpath/"test.rs").write <<~RUST fn factorial(n: u64) -> u64 { match n { 0 => 1, @@ -41,10 +41,10 @@ def install fn main() { println!("10! = {}", factorial(10)); } - EOF + RUST system bin/"silicon", "-o", "output.png", "test.rs" - assert_predicate testpath/"output.png", :exist? + assert_path_exists testpath/"output.png" expected_size = [894, 630] assert_equal expected_size, File.read("output.png")[0x10..0x18].unpack("NN") end diff --git a/Formula/s/silk.rb b/Formula/s/silk.rb index e8dc4044a478..7a3d56a0fa70 100644 --- a/Formula/s/silk.rb +++ b/Formula/s/silk.rb @@ -19,7 +19,7 @@ class Silk < Formula sha256 x86_64_linux: "41438d609da5625f2a222397a1e8e5e85c82d2fe5aed69192e5b82394f52ebc0" end - depends_on "pkg-config" => :build + depends_on "pkgconf" => :build depends_on "glib" depends_on "libfixbuf" diff --git a/Formula/s/simple-mtpfs.rb b/Formula/s/simple-mtpfs.rb index d963c160e997..90c02f5459bc 100644 --- a/Formula/s/simple-mtpfs.rb +++ b/Formula/s/simple-mtpfs.rb @@ -13,7 +13,7 @@ class SimpleMtpfs < Formula depends_on "autoconf" => :build depends_on "autoconf-archive" => :build # required for AX_CXX_COMPILE_STDCXX_17 depends_on "automake" => :build - depends_on "pkg-config" => :build + depends_on "pkgconf" => :build depends_on "libfuse@2" depends_on "libmtp" depends_on "libusb" diff --git a/Formula/s/simple-scan.rb b/Formula/s/simple-scan.rb index 6f2c39da3cf7..5183125efcfe 100644 --- a/Formula/s/simple-scan.rb +++ b/Formula/s/simple-scan.rb @@ -20,7 +20,7 @@ class SimpleScan < Formula depends_on "itstool" => :build depends_on "meson" => :build depends_on "ninja" => :build - depends_on "pkg-config" => :build + depends_on "pkgconf" => :build depends_on "vala" => :build depends_on "cairo" diff --git a/Formula/s/simple-tiles.rb b/Formula/s/simple-tiles.rb index cc6d0b8040e9..0c02319d76a7 100644 --- a/Formula/s/simple-tiles.rb +++ b/Formula/s/simple-tiles.rb @@ -16,7 +16,7 @@ class SimpleTiles < Formula sha256 cellar: :any_skip_relocation, x86_64_linux: "5b9bddf6bb8104fa5720df1b5a14e1f15710a09f04ccd9901555cc61bfd9d568" end - depends_on "pkg-config" => [:build, :test] + depends_on "pkgconf" => [:build, :test] depends_on "cairo" depends_on "gdal" @@ -59,7 +59,7 @@ def install return 0; } C - cflags = shell_output("pkg-config --cflags simple-tiles").chomp.split + cflags = shell_output("pkgconf --cflags simple-tiles").chomp.split system ENV.cc, "test.c", *cflags, "-L#{lib}", "-lsimple-tiles", "-o", "test" system "./test" end diff --git a/Formula/s/simutrans.rb b/Formula/s/simutrans.rb index df2ae27f4b98..0a09f5046017 100644 --- a/Formula/s/simutrans.rb +++ b/Formula/s/simutrans.rb @@ -27,7 +27,7 @@ class Simutrans < Formula end depends_on "cmake" => :build - depends_on "pkg-config" => :build + depends_on "pkgconf" => :build depends_on "fluid-synth" depends_on "fontconfig" depends_on "freetype" @@ -41,8 +41,6 @@ class Simutrans < Formula uses_from_macos "curl" uses_from_macos "zlib" - fails_with gcc: "5" - resource "pak64" do url "https://downloads.sourceforge.net/project/simutrans/pak64/124-2/simupak64-124-2.zip" sha256 "e690e4647a1a617032a3778a2457c8812cc4510afad0f5bf8524999468146d86" @@ -56,7 +54,7 @@ def install # These translations are dynamically generated. system "./tools/get_lang_files.sh" - system "cmake", "-B", "build", "-S", ".", *std_cmake_args, "-DSIMUTRANS_USE_REVISION=#{stable.specs[:revision]}" + system "cmake", "-B", "build", "-S", ".", "-DSIMUTRANS_USE_REVISION=#{stable.specs[:revision]}", *std_cmake_args system "cmake", "--build", "build" system "cmake", "--build", "build", "--target", "makeobj" system "cmake", "--build", "build", "--target", "nettool" diff --git a/Formula/s/siril.rb b/Formula/s/siril.rb index fd2241ea99af..d46aa63f5412 100644 --- a/Formula/s/siril.rb +++ b/Formula/s/siril.rb @@ -19,7 +19,7 @@ class Siril < Formula depends_on "cmake" => :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 "cairo" @@ -55,8 +55,6 @@ class Siril < Formula depends_on "libomp" end - fails_with gcc: "5" # ffmpeg is compiled with GCC - def install args = %w[ --force-fallback-for=kplot diff --git a/Formula/s/sispmctl.rb b/Formula/s/sispmctl.rb index b6cfadc1f0be..e6884ad44743 100644 --- a/Formula/s/sispmctl.rb +++ b/Formula/s/sispmctl.rb @@ -16,12 +16,11 @@ class Sispmctl < Formula sha256 x86_64_linux: "db43f15862bbace1e2af6f17b257da7d3522011d82f00fa581d78fea1faa47db" end - depends_on "pkg-config" => :build + depends_on "pkgconf" => :build depends_on "libusb-compat" def install - system "./configure", "--disable-dependency-tracking", - "--prefix=#{prefix}" + system "./configure", *std_configure_args system "make", "install" end