Skip to content

Commit 3cad634

Browse files
committed
[feat] update fasttrack
1 parent a2cef09 commit 3cad634

3 files changed

Lines changed: 31 additions & 109 deletions

File tree

.github/workflows/test.yml

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
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 update
19+
brew install fasttrack
20+
21+
- name: Run CLI binary to verify install
22+
run: |
23+
fasttrack-cli --help

fasttrack.rb

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
11
class 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,10 @@ class Fasttrack < Formula
1213
depends_on "opencv"
1314

1415
def install
15-
system "qmake6", "FastTrack.pro",
16-
"CONFIG+=release"
17-
system "make"
18-
bin.install "src/build/FastTrack.app"
19-
bin.install "src/build_cli/FastTrack-cli.app/Contents/MacOS/FastTrack-cli"
16+
system "cmake", "-S", ".", "-B", "build", *std_cmake_args
17+
system "cmake", "--build", "build"
18+
prefix.install "src/build/bin/fasttrack.app"
19+
bin.write_exec_script "#{prefix}/FastTrack.app/Contents/MacOS/fasttrack"
20+
bin.install "src/build_cli/bin/fasttrack-cli.app/Contents/MacOS/fasttrack-cli"
2021
end
2122
end

opencv.rb

Lines changed: 0 additions & 102 deletions
This file was deleted.

0 commit comments

Comments
 (0)