Casks/q/qbittorrent@lt20.rb
cask "qbittorrent@lt20" do
version "4.6.6"
sha256 "4c26b43533b4b0e12a743e49e7944774c081ffe130418e04ca67cbd53f99895e"
url "https://downloads.sourceforge.net/qbittorrent/qbittorrent-mac/qbittorrent-#{version}/qbittorrent-#{version}_lt20.dmg",
verified: "downloads.sourceforge.net/qbittorrent/qbittorrent-mac/"
name "qBittorrent"
desc "Edition of qBitorrent based on libtorrent-rasterbar 2.0.x"
homepage "https://www.qbittorrent.org/"
livecheck do
url "https://sourceforge.net/projects/qbittorrent/rss?path=/qbittorrent-mac"
regex(/qbittorrent[._-]v?(\d+(?:\.\d+)+)[._-]lt20\.dmg/i)
strategy :page_match
end
deprecate! date: "2025-05-01", because: :unsigned
conflicts_with cask: "qbittorrent"
depends_on macos: ">= :mojave"
# Renamed for consistency: app name is different in the Finder and in a shell.
app "qbittorrent.app", target: "qBittorrent.app"
zap trash: [
"~/.config/qBittorrent",
"~/Library/Application Support/qBittorrent",
"~/Library/Caches/qBittorrent",
"~/Library/Preferences/org.qbittorrent.qBittorrent.plist",
"~/Library/Preferences/qBittorrent",
"~/Library/Saved Application State/org.qbittorrent.qBittorrent.savedState",
]
end