From a6465ebd1283a209a43ab1d5b9d42bfe8a4b91d3 Mon Sep 17 00:00:00 2001 From: not-me-for-sure <188757791+not-me-for-sure@users.noreply.github.com> Date: Fri, 10 Jan 2025 09:41:14 +0100 Subject: [PATCH] stashapp 0.27.2 (new formula) --- Formula/s/stashapp.rb | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 Formula/s/stashapp.rb diff --git a/Formula/s/stashapp.rb b/Formula/s/stashapp.rb new file mode 100644 index 0000000000000..989d6979cb49f --- /dev/null +++ b/Formula/s/stashapp.rb @@ -0,0 +1,28 @@ +class Stashapp < Formula + desc "Organizer for your porn" + homepage "https://stashapp.cc" + url "https://github.com/stashapp/stash/archive/refs/tags/v0.27.2.tar.gz" + sha256 "23402a61329d3c57f0d161e469b07a14a7672f799ff9d97bf082c1b67ace2dea" + license "AGPL-3.0-only" + + depends_on "go" => :build + depends_on "node" => :build + depends_on "yarn" => :build + depends_on "ffmpeg" + + def install + ENV.deparallelize + system "make", "release" + bin.install "stash" + bin.install "phasher" + end + + service do + run [opt_bin/"stash", "--nobrowser"] + keep_alive true + end + + test do + system "#{bin}/stash", "-v" + end +end