Skip to content

Commit

Permalink
fixup! sile: 0.15.8
Browse files Browse the repository at this point in the history
  • Loading branch information
alerque committed Dec 14, 2024
1 parent 228085a commit 835911f
Showing 1 changed file with 8 additions and 9 deletions.
17 changes: 8 additions & 9 deletions Formula/s/sile.rb
Original file line number Diff line number Diff line change
Expand Up @@ -15,15 +15,12 @@ class Sile < Formula
sha256 cellar: :any_skip_relocation, x86_64_linux: "dbd247ab127cc9f68e3f25e4404974e1ec87e074af1210fb19240bde79dd4ff1"
end

head do
url "https://github.com/sile-typesetter/sile.git", branch: "master"

depends_on "autoconf" => :build
depends_on "automake" => :build
depends_on "libtool" => :build
end
url "https://github.com/sile-typesetter/sile.git", branch: "master" if build.head?

depends_on "autoconf" => :build
depends_on "automake" => :build
depends_on "jq" => :build
depends_on "libtool" => :build
depends_on "pkgconf" => :build
depends_on "poppler" => :build
depends_on "rust" => :build
Expand Down Expand Up @@ -143,8 +140,6 @@ class Sile < Formula
end

def install
# Workaround upstream darwin detection not picking up on e.g. aarch64-apple-darwin22.6.0
inreplace "configure", "darwin*", "*darwin*" if build.stable?

lua = Formula["luajit"]
luaversion = "5.1"
Expand Down Expand Up @@ -195,7 +190,11 @@ def install
]

system "./bootstrap.sh" if build.head?
# Workaround Darwin detection *results* being baked in the generated Makefile in the tarball
system "autoreconf", "-fiv" if build.stable?
system "./configure", *configure_args, *std_configure_args
system "grep", "-R", "SHARED_LIB_EXT"
system "grep", "-R", "librusile"
system "make"
system "make", "install"
end
Expand Down

0 comments on commit 835911f

Please sign in to comment.