Skip to content

Commit

Permalink
Merge pull request #172859 from EricFromCanada/fix-conflicts-with
Browse files Browse the repository at this point in the history
various casks: fix more conflicts
  • Loading branch information
bevanjkay committed May 3, 2024
2 parents ef23326 + 319de45 commit d0d37a8
Show file tree
Hide file tree
Showing 25 changed files with 80 additions and 72 deletions.
2 changes: 1 addition & 1 deletion Casks/c/chromedriver.rb
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
end
end

conflicts_with cask: "chromedriver-beta"
conflicts_with cask: "chromedriver@beta"

binary "chromedriver-mac-#{arch}/chromedriver"

Expand Down
9 changes: 4 additions & 5 deletions Casks/f/firefox@cn.rb
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,10 @@
end

auto_updates true
conflicts_with cask: %w[
firefox
firefox@beta
firefox@developer-edition
firefox@esr
conflicts_with cask: [
"firefox",
"firefox@beta",
"firefox@esr",
]
depends_on macos: ">= :catalina"

Expand Down
2 changes: 1 addition & 1 deletion Casks/m/macfuse.rb
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
end

auto_updates true
conflicts_with cask: "macfuse-dev"
conflicts_with cask: "macfuse@dev"
depends_on macos: ">= :sierra"

pkg "Extras/macFUSE #{version}.pkg"
Expand Down
2 changes: 1 addition & 1 deletion Casks/m/mi.rb
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
strategy :sparkle, &:short_version
end

conflicts_with cask: "mi-beta"
conflicts_with cask: "mi@beta"
depends_on macos: ">= :high_sierra"

app "mi.app"
Expand Down
2 changes: 1 addition & 1 deletion Casks/m/mixxx.rb
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
regex(%r{href=.*?/mixxx[._-]v?(\d+(?:\.\d+)+)[._-]macos(?:intel|arm)\.dmg}i)
end

conflicts_with cask: "mixxx-snapshot"
conflicts_with cask: "mixxx@snapshot"

app "Mixxx.app"

Expand Down
2 changes: 1 addition & 1 deletion Casks/m/mullvadvpn.rb
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
strategy :header_match
end

conflicts_with cask: "mullvadvpn-beta"
conflicts_with cask: "mullvadvpn@beta"
depends_on macos: ">= :big_sur"

pkg "MullvadVPN-#{version}.pkg"
Expand Down
2 changes: 1 addition & 1 deletion Casks/o/openemu.rb
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
homepage "https://openemu.org/"

auto_updates true
conflicts_with cask: "openemu-experimental"
conflicts_with cask: "openemu@experimental"

app "OpenEmu.app"

Expand Down
16 changes: 8 additions & 8 deletions Casks/p/parallels@12.rb
Original file line number Diff line number Diff line change
Expand Up @@ -15,14 +15,14 @@
end
end

conflicts_with cask: %w[
parallels
parallels13
parallels14
parallels15
parallels16
parallels17
parallels18
conflicts_with cask: [
"parallels",
"parallels@13",
"parallels@14",
"parallels@15",
"parallels@16",
"parallels@17",
"parallels@18",
]
depends_on macos: "<= :sierra"

Expand Down
16 changes: 8 additions & 8 deletions Casks/p/parallels@13.rb
Original file line number Diff line number Diff line change
Expand Up @@ -15,14 +15,14 @@
end
end

conflicts_with cask: %w[
parallels
parallels12
parallels14
parallels15
parallels16
parallels17
parallels18
conflicts_with cask: [
"parallels",
"parallels@12",
"parallels@14",
"parallels@15",
"parallels@16",
"parallels@17",
"parallels@18",
]
depends_on macos: "<= :high_sierra"

Expand Down
16 changes: 8 additions & 8 deletions Casks/p/parallels@14.rb
Original file line number Diff line number Diff line change
Expand Up @@ -16,14 +16,14 @@
end

auto_updates true
conflicts_with cask: %w[
parallels
parallels12
parallels13
parallels15
parallels16
parallels17
parallels18
conflicts_with cask: [
"parallels",
"parallels@12",
"parallels@13",
"parallels@15",
"parallels@16",
"parallels@17",
"parallels@18",
]
depends_on macos: [
:el_capitan,
Expand Down
16 changes: 8 additions & 8 deletions Casks/p/parallels@16.rb
Original file line number Diff line number Diff line change
Expand Up @@ -16,14 +16,14 @@
end

auto_updates true
conflicts_with cask: %w[
parallels
parallels12
parallels13
parallels14
parallels15
parallels17
parallels18
conflicts_with cask: [
"parallels",
"parallels@12",
"parallels@13",
"parallels@14",
"parallels@15",
"parallels@17",
"parallels@18",
]
depends_on macos: ">= :high_sierra"

Expand Down
16 changes: 8 additions & 8 deletions Casks/p/parallels@17.rb
Original file line number Diff line number Diff line change
Expand Up @@ -16,14 +16,14 @@
end

auto_updates true
conflicts_with cask: %w[
parallels
parallels12
parallels13
parallels14
parallels15
parallels16
parallels18
conflicts_with cask: [
"parallels",
"parallels@12",
"parallels@13",
"parallels@14",
"parallels@15",
"parallels@16",
"parallels@18",
]
depends_on macos: ">= :high_sierra"

Expand Down
16 changes: 8 additions & 8 deletions Casks/p/parallels@18.rb
Original file line number Diff line number Diff line change
Expand Up @@ -16,14 +16,14 @@
end

auto_updates true
conflicts_with cask: %w[
parallels
parallels12
parallels13
parallels14
parallels15
parallels16
parallels17
conflicts_with cask: [
"parallels",
"parallels@12",
"parallels@13",
"parallels@14",
"parallels@15",
"parallels@16",
"parallels@17",
]
depends_on macos: ">= :mojave"

Expand Down
2 changes: 1 addition & 1 deletion Casks/p/picoscope.rb
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
regex(%r{href=.*?/PicoScope[._-]v?(\d+(?:.\d+)+)[._-]T(?:and|n)M[._-]Stable\.pkg}i)
end

conflicts_with cask: "picoscope-beta"
conflicts_with cask: "picoscope@beta"
depends_on macos: ">= :high_sierra"

pkg "PicoScope_#{version}_TandM_Stable.pkg"
Expand Down
2 changes: 1 addition & 1 deletion Casks/r/rstudio.rb
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
end
end

conflicts_with cask: "rstudio-daily"
conflicts_with cask: "rstudio@daily"
depends_on macos: ">= :monterey"

app "RStudio.app"
Expand Down
2 changes: 1 addition & 1 deletion Casks/s/sublime-merge.rb
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
end

auto_updates true
conflicts_with cask: "sublime-merge-dev"
conflicts_with cask: "sublime-merge@dev"

app "Sublime Merge.app"
binary "#{appdir}/Sublime Merge.app/Contents/SharedSupport/bin/smerge"
Expand Down
2 changes: 1 addition & 1 deletion Casks/s/surge.rb
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
end

auto_updates true
conflicts_with cask: "surge4"
conflicts_with cask: "surge@4"
depends_on macos: ">= :high_sierra"

app "Surge.app"
Expand Down
2 changes: 1 addition & 1 deletion Casks/t/telegram-desktop.rb
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
end

auto_updates true
conflicts_with cask: "telegram-desktop-beta"
conflicts_with cask: "telegram-desktop@beta"
depends_on macos: ">= :sierra"

# Renamed to avoid conflict with telegram
Expand Down
5 changes: 4 additions & 1 deletion Casks/v/virtualbox.rb
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,10 @@
end
end

conflicts_with cask: "virtualbox-beta"
conflicts_with cask: [
"virtualbox@6",
"virtualbox@beta",
]
depends_on macos: ">= :catalina"
depends_on arch: :x86_64

Expand Down
5 changes: 4 additions & 1 deletion Casks/v/virtualbox@6.rb
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,10 @@
end
end

conflicts_with cask: "virtualbox-beta"
conflicts_with cask: [
"virtualbox",
"virtualbox@beta",
]
depends_on macos: ">= :high_sierra"
depends_on arch: :x86_64

Expand Down
5 changes: 4 additions & 1 deletion Casks/v/virtualbox@beta.rb
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,10 @@
regex(/href=.*?VirtualBox[._-]v?(\d+(?:[.-]\d+)+.*?)[._-]#{arch}\.dmg(?!.+?development)/i)
end

conflicts_with cask: "virtualbox"
conflicts_with cask: [
"virtualbox",
"virtualbox@6",
]
depends_on macos: ">= :catalina"

pkg "VirtualBox.pkg",
Expand Down
2 changes: 1 addition & 1 deletion Casks/w/whoozle-android-file-transfer.rb
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
desc "Android File Transfer for Linux"
homepage "https://whoozle.github.io/android-file-transfer-linux/"

conflicts_with cask: "whoozle-android-file-transfer-nightly"
conflicts_with cask: "whoozle-android-file-transfer@nightly"

app "Android File Transfer for Linux.app"
binary "#{appdir}/Android File Transfer for Linux.app/Contents/SharedSupport/bin/aft-mtp-cli"
Expand Down
4 changes: 2 additions & 2 deletions Casks/w/wine-stable.rb
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,8 @@
end

conflicts_with cask: [
"wine-devel",
"wine-staging",
"wine@devel",
"wine@staging",
]
depends_on cask: "gstreamer-runtime"
depends_on macos: ">= :catalina"
Expand Down
2 changes: 1 addition & 1 deletion Casks/w/wine@devel.rb
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@

conflicts_with cask: [
"wine-stable",
"wine-staging",
"wine@staging",
]
depends_on cask: "gstreamer-runtime"
depends_on macos: ">= :catalina"
Expand Down
2 changes: 1 addition & 1 deletion Casks/w/wine@staging.rb
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@

conflicts_with cask: [
"wine-stable",
"wine-devel",
"wine@devel",
]
depends_on cask: "gstreamer-runtime"
depends_on macos: ">= :catalina"
Expand Down

0 comments on commit d0d37a8

Please sign in to comment.