diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index c2c756f..0522d57 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -18,8 +18,9 @@ jobs: # Remember to re-enable it one day. # # - ubuntu-latest - + # https://github.com/actions/virtual-environments/#available-environments + - macos-12 - macos-11 - macos-10.15 runs-on: ${{ matrix.os }} diff --git a/amc-pango.rb b/amc-pango.rb index 2834d0e..5d9642c 100644 --- a/amc-pango.rb +++ b/amc-pango.rb @@ -6,7 +6,7 @@ class AmcPango < Formula homepage "https://www.pango.org/" url "https://download.gnome.org/sources/pango/1.42/pango-1.42.4.tar.xz" sha256 "1d2b74cd63e8bd41961f2f8d952355aa0f9be6002b52c8aa7699d9f5da597c9d" - revision 2 + revision 3 bottle do root_url "https://github.com/maelvls/homebrew-amc/releases/download/amc-pango-1.42.4_2" diff --git a/auto-multiple-choice.rb b/auto-multiple-choice.rb index 7d63ae8..7f9e0f7 100644 --- a/auto-multiple-choice.rb +++ b/auto-multiple-choice.rb @@ -3,7 +3,7 @@ class AutoMultipleChoice < Formula homepage "https://www.auto-multiple-choice.net" url "https://gitlab.com/jojo_boulix/auto-multiple-choice/uploads/3262cbab3161e5e63239a281e9a2ce23/auto-multiple-choice_1.5.0_dist.tar.gz" sha256 "2e48ebb11a215c7882212c46f31d9013bb488c32899104008b0840e67f716948" - revision 0 + revision 1 bottle do root_url "https://github.com/maelvls/homebrew-amc/releases/download/auto-multiple-choice-1.5.0" @@ -472,7 +472,7 @@ def install # broke things. Now c++11 is needed and I use pkg-config for conveniency. # And since pkg-config is used, CFLAGS, CXXFLAGS and LDFLAGS aren't needed # anymore. - inreplace "Makefile", "opencv\)", "opencv4)" + inreplace "Makefile", "opencv)", "opencv4)" inreplace "Makefile", "$(GCC_OPENCV) $(GCC_OPENCV_LIBS)", "$(GCC_OPENCV) $(GCC_OPENCV_LIBS) -std=c++11" inreplace "Makefile-brew.conf", /^GCC_.*/, "" inreplace "Makefile-brew.conf", /^CFLAGS.*/, "" @@ -502,8 +502,8 @@ def install (bin/"auto-multiple-choice").write_env_script libexec/"bin/auto-multiple-choice", PERL5LIB: ENV["PERL5LIB"], # netpbm, poppler and imagemagick@6 must be in the PATH - PATH: "#{libexec}/bin:#{Formula["qpdf"].bin}:#{Formula["netpbm"].bin}"\ - ":#{Formula["poppler"].bin}:#{Formula["imagemagick@6"].bin}"\ + PATH: "#{libexec}/bin:#{Formula["qpdf"].bin}:#{Formula["netpbm"].bin}" \ + ":#{Formula["poppler"].bin}:#{Formula["imagemagick@6"].bin}" \ ":#{Formula["gobject-introspection"].bin}:$PATH", AMCBASEDIR: prefix