homebrew-core/Formula/scale2x.rb

30 lines
1.9 KiB
Ruby

class Scale2x < Formula
desc "Real-time graphics effect"
homepage "https://www.scale2x.it/"
url "https://github.com/amadvance/scale2x/releases/download/v4.0/scale2x-4.0.tar.gz"
sha256 "996f2673206c73fb57f0f5d0e094d3774f595f7e7e80fcca8cc045e8b4ba6d32"
license "GPL-2.0"
bottle do
sha256 cellar: :any, arm64_ventura: "bff379927979a35d8106edb039f4654afee5c4d973fd26a2b1f6d6a6979540ed"
sha256 cellar: :any, arm64_monterey: "fdc15180cc28f6677f0a14647292744970707eb9e0302bbc95ec65f902f935ce"
sha256 cellar: :any, arm64_big_sur: "f7d4ecfe86027e9aec4928c84ba6262e7f8633796ed3317da93a2d8b2e1a5b58"
sha256 cellar: :any, ventura: "ec4ecdb490fb74e96b3192a475d2c0069d075af72cd24a8ae7dd93dd6546d168"
sha256 cellar: :any, monterey: "8a91f909eb5e0d332c7718e47a59fd45dc74625d3828049a2819a55f24226f6d"
sha256 cellar: :any, big_sur: "9ba9679c817187ca44e3074c102572781ad4e90abb1aa8a41d452e5d6814d046"
sha256 cellar: :any, catalina: "83ab737ffb44b1b2913244a82c63d754057e79034bcf455d75b9150b630f85c7"
sha256 cellar: :any, mojave: "da91fa8382839f9cf1b9d58b1e38b1d2f6d3cc1fef3cd0dce1481774397ebe35"
sha256 cellar: :any, high_sierra: "2a3519bdbba8ff6caa1ca9b48d461866b8121dfd224a2c25da106087bb3cfd61"
sha256 cellar: :any, sierra: "771e1b1ea660234e8bea89e774d0d802f7f1cb12c08e100cbb5b83d0a02a61ea"
sha256 cellar: :any, el_capitan: "033e1adf0430ced99eef1b746842e9ca876b542f6fbd8f050e8f7c7e1b59f692"
sha256 cellar: :any_skip_relocation, x86_64_linux: "c8c30b93ecb6bf66a18c8004a6b56ca9ab4fc074fe4e433439f3bd49ba944005"
end
depends_on "libpng"
def install
system "./configure", "--prefix=#{prefix}", "CPPFLAGS=-I/usr/include/malloc/"
system "make", "install"
end
end