File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ name : Test Homebrew Formula
2+
3+ on :
4+ push :
5+ branches : master
6+
7+ jobs :
8+ test-formula :
9+ runs-on : macos-latest
10+
11+ steps :
12+ - name : Checkout repo
13+ uses : actions/checkout@v4
14+
15+ - name : Install dependencies
16+ run : |
17+ brew tap FastTrackOrg/fasttrack
18+ brew install -s --verbose fasttrack
19+
20+ - name : Run CLI binary to verify install
21+ run : |
22+ fasttrack-cli --help
Original file line number Diff line number Diff line change 11class Fasttrack < Formula
22 desc "FastTrack is a cross-platform application designed to track multiple objects in video recording. "
33 homepage "https://fasttrack.sh"
4- url "https://github.com/FastTrackOrg/FastTrack/archive/refs/tags/v6.3.4.tar.gz"
5- sha256 "7ce8ca265178cb689d677b02c76ab77ba18e1a35ad59ca9d14cf11728f8ffad8"
4+ url "https://github.com/FastTrackOrg/FastTrack/archive/f9a5d9d08aa24f9fa064874995892c60cd4900ac.tar.gz"
5+ sha256 "14e0b02013441b4233311ca0baa5017eea1ff3b6ac676b38cfa11b1623f1d801"
6+ version "6.3.4-master"
67 license "GPL-3.0"
78 revision 1
89
@@ -12,10 +13,12 @@ class Fasttrack < Formula
1213 depends_on "opencv"
1314
1415 def install
15- system "qmake6" , "FastTrack.pro" ,
16- "CONFIG+=release"
16+ system "mdkir" , "build"
17+ system "cd" , "build"
18+ system "cmake" , ".."
1719 system "make"
18- bin . install "src/build/FastTrack.app"
19- bin . install "src/build_cli/FastTrack-cli.app/Contents/MacOS/FastTrack-cli"
20+ prefix . install "src/build/bin/fasttrack.app"
21+ bin . write_exec_script "#{ prefix } /fasttrack.app/Contents/MacOS/fasttrack"
22+ bin . install "src/build/bin/fasttrack-cli.app/Contents/MacOS/fasttrack-cli"
2023 end
2124end
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments