Skip to content

wsjt-x 2.7.0 (new cask) #210006

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

Closed
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
53 changes: 53 additions & 0 deletions Casks/w/wsjt-x.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,53 @@
cask "wsjt-x" do
version "2.7.0"
sha256 "f3ef11f3612f1db7bcdea55e5a4ce409b0c1db43ae6bc1a5e048fc99833e031e"

url "https://downloads.sourceforge.net/wsjt/wsjtx-#{version}/wsjtx-#{version}-Darwin.dmg",

Check failure on line 5 in Casks/w/wsjt-x.rb

View workflow job for this annotation

GitHub Actions / test wsjt-x (macos-13, intel)

Signature verification failed: /private/tmp/cask-audit20250424-7275-3ksiiz/wsjtx.app: rejected macOS on ARM requires software to be signed. Please contact the upstream developer to let them know they should sign and notarize their software.

Check failure on line 5 in Casks/w/wsjt-x.rb

View workflow job for this annotation

GitHub Actions / test wsjt-x (macos-15, arm)

Signature verification failed: /private/tmp/cask-audit20250424-5564-wyev8i/wsjtx.app: rejected macOS on ARM requires software to be signed. Please contact the upstream developer to let them know they should sign and notarize their software.
verified: "downloads.sourceforge.net/wsjt/"
name "WSJT-X"
desc "Weak Signal Communication, by K1JT"
homepage "https://wsjt.sourceforge.io/wsjtx.html"

livecheck do
url "https://sourceforge.net/projects/wsjt/rss?path=/"
regex(%r{url=.*?/wsjtx-?(\d+(?:\.\d+)+)/wsjtx-?(\d+(?:\.\d+)+[a-z]?)-Darwin.dmg}i)
strategy :page_match do |page, regex|
match = page.match(regex)
next if match.blank?

(match[1] == match[2]) ? match[2] : "#{match[2]},#{match[1]}"
end
end

depends_on macos: ">= :high_sierra"

app "wsjtx.app"
installer script: {
executable: "cp",
args: ["#{staged_path}/com.wsjtx.sysctl.plist", "/Library/LaunchDaemons/com.wsjtx.sysctl.plist"],
sudo: true,
}
installer script: {
executable: "chown",
args: ["root:wheel", "/Library/LaunchDaemons/com.wsjtx.sysctl.plist"],
sudo: true,
}

uninstall delete: "/Library/LaunchDaemons/com.wsjtx.sysctl.plist"

caveats do

Check failure on line 38 in Casks/w/wsjt-x.rb

View workflow job for this annotation

GitHub Actions / syntax (macos-15)

Cask/StanzaOrder: `caveats` stanza out of order
reboot
requires_rosetta
<<~EOS
Visit Applications > Utilities > Audio MIDI Setup and select your sound card and then set Format to be '48000Hz 2ch-16bit' for input and output. On rare occasions problems with audio output to your rig can be corrected if you select 44100Hz.

If your Mac is using Sonoma 14.6 or later then in addition to these two commands you must visit: System Settings > General > Login Items > sysctl and select ON for sysctl or if using Sequioa then visit System Settings > Privacy & Security then ON for sysctl.
EOS
end

zap trash: [

Check failure on line 48 in Casks/w/wsjt-x.rb

View workflow job for this annotation

GitHub Actions / syntax (macos-15)

Cask/StanzaOrder: `zap` stanza out of order
"~/Library/Application Support/WSJT-X",
"~/Library/Preferences/WSJT-X.ini",
]

Check failure on line 52 in Casks/w/wsjt-x.rb

View workflow job for this annotation

GitHub Actions / syntax (macos-15)

Layout/EmptyLinesAroundBlockBody: Extra empty line detected at block body end.
end
Loading