Skip to content

Commit

Permalink
svg2png: and missing conflicts
Browse files Browse the repository at this point in the history
  • Loading branch information
bayandin committed Jul 9, 2024
1 parent 1c01556 commit 9065881
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion Formula/s/svg2png.rb
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ class Svg2png < Formula
homepage "https://cairographics.org/"
url "https://cairographics.org/snapshots/svg2png-0.1.3.tar.gz"
sha256 "e658fde141eb7ce981ad63d319339be5fa6d15e495d1315ee310079cbacae52b"
license "LGPL-2.1"
license "LGPL-2.1-only"
revision 2

livecheck do
Expand All @@ -25,8 +25,14 @@ class Svg2png < Formula
end

depends_on "pkg-config" => :build
depends_on "cairo"
depends_on "jpeg-turbo"
depends_on "libpng"
depends_on "libsvg"
depends_on "libsvg-cairo"

conflicts_with "mapnik", because: "both install `svg2png` binaries"

def install
# svg2png.c:53:9: note: include the header <string.h> or explicitly provide a declaration for 'strcmp'
inreplace("src/svg2png.c",
Expand Down

0 comments on commit 9065881

Please sign in to comment.