From 3900f1512d894e709168fa5906917231114999eb Mon Sep 17 00:00:00 2001 From: mhmdanas Date: Sun, 17 Jul 2022 15:59:00 +0300 Subject: [PATCH] jbig2dec: update livecheck The previous livecheck block doesn't work at the moment, because the first page of https://github.com/ArtifexSoftware/ghostpdl-downloads has no jbig2dec tarballs right now. Closes #106004. Signed-off-by: Sam Ford <1584702+samford@users.noreply.github.com> Signed-off-by: BrewTestBot <1589480+BrewTestBot@users.noreply.github.com> --- Formula/jbig2dec.rb | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Formula/jbig2dec.rb b/Formula/jbig2dec.rb index ee050673e09..14fb3fe6639 100644 --- a/Formula/jbig2dec.rb +++ b/Formula/jbig2dec.rb @@ -6,11 +6,11 @@ class Jbig2dec < Formula license "AGPL-3.0-or-later" # Not every GhostPDL release contains a jbig2dec archive, so we have to check - # the GitHub releases page instead (which we otherwise avoid). This is - # necessary because the jbig2dec homepage hasn't been updated to link to - # versions after 0.17. + # the GitHub releases page (which we otherwise avoid) instead of the tags. + # We avoid checking the jbig2dec homepage because it has been very slow to + # update in the past when new versions were released. livecheck do - url "https://github.com/ArtifexSoftware/ghostpdl-downloads/releases" + url "https://github.com/ArtifexSoftware/ghostpdl-downloads/releases?q=prerelease%3Afalse" regex(%r{href=.*?/jbig2dec[._-]v?(\d+(?:\.\d+)+)\.t}i) strategy :page_match end