Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

pstoedit 4.02 #201507

Merged
merged 2 commits into from
Dec 21, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
28 changes: 13 additions & 15 deletions Formula/p/pstoedit.rb
Original file line number Diff line number Diff line change
@@ -1,32 +1,30 @@
class Pstoedit < Formula
desc "Convert PostScript and PDF files to editable vector graphics"
homepage "http://www.pstoedit.net/"
url "https://downloads.sourceforge.net/project/pstoedit/pstoedit/3.78/pstoedit-3.78.tar.gz"
sha256 "8cc28e34bc7f88d913780f8074e813dd5aaa0ac2056a6b36d4bf004a0e90d801"
url "https://downloads.sourceforge.net/project/pstoedit/pstoedit/4.02/pstoedit-4.02.tar.gz"
sha256 "5588b432d2c6b2ad9828b44915ea5813ff9a3a3312a41fa0de4c38ddac9df72f"
license "GPL-2.0-or-later"

bottle do
rebuild 1
sha256 arm64_sequoia: "710d9fe3382069ec8a04acca8b0eaf886c0bdb732dcad0d82418709570d8f1e3"
sha256 arm64_sonoma: "b90928f94bd8fad92f0d728b5bc63eefdc7c6033bc957cdacfb1cbe00db0aed6"
sha256 arm64_ventura: "95d05bfcb5d1ed195c74b93104ebc1891774dec5daae6e91b81fb965a50d7ea2"
sha256 arm64_monterey: "9f4bedee7e78de9078d4d799cbc52dc799b715668b10977a96d0858e17c024ef"
sha256 arm64_big_sur: "a52e8b66f580278acb40be868a259d9e410bea922379fb5244ea63729606f876"
sha256 sonoma: "325d450520ca8077737ad6b7a201f18c03c28242c1bcbb38823f5a26b4094c81"
sha256 ventura: "e4c711021e252bb34f8dc0f1e204f7253f4567c4f7f89e632813366d0bd78731"
sha256 monterey: "578d8dd21d622fef301739b3da93ced074113fd641503f39cb5313671d0d8b4f"
sha256 big_sur: "8cf73733366948cd732643dd90b9f8122eb4a3c170961386f8a16f0d3438aa1b"
sha256 catalina: "5dcbb6919e233abc953f621b23c536f554fcf497af4aa4b7ce639560e912252b"
sha256 x86_64_linux: "0c915e6e038467fb683d484de48d2b61df78f3af0de3b2ca85bb69ef8cc998da"
sha256 arm64_sequoia: "4577e541a3d69e7c9fdc3291b552e4cfb50a8a3603c080a3c2c2d1f9ea7e96a6"
sha256 arm64_sonoma: "b17eff3c581194a6bf0290507456b75edbbad20cde4c01793cc9754425e59712"
sha256 arm64_ventura: "355cc44f552bd82c5cf39915449de0a4051eb2f9efba352323b87eb0403f15db"
sha256 sonoma: "6353b2d9287a6e0524047a32cafb61f8c09d4d476d1bc13d40b73289aace060c"
sha256 ventura: "bd4b577c2ed8b2f4c1b9ded0ed953365f445b29bff62e262caef589cb49d049c"
sha256 x86_64_linux: "c2c8d0315852f2dca193e34433526f2635f9a8b3b6fd02ccca85646f92cbf56a"
end

depends_on "pkgconf" => :build
depends_on "gd"
depends_on "ghostscript"
depends_on "imagemagick"
depends_on "plotutils"

def install
ENV.cxx11 if OS.mac?
# Avoid Linux libc-specific behavior when building on macOS
# Notified author about the issue via email
inreplace "src/pstoedit.cpp", "#ifndef _MSC_VER\n", "#if !defined(_MSC_VER) && !defined(__APPLE__)\n"

system "./configure", *std_configure_args
system "make", "install"
end
Expand Down
Loading