├── tap_migrations.json ├── README.md ├── .github └── workflows │ ├── bump-gstreamer-cask.yml │ └── bump-cxpatcher-cask.yml └── Casks ├── cxpatcher.rb └── gstreamer.rb /tap_migrations.json: -------------------------------------------------------------------------------- 1 | { 2 | "gstreamer-runtime": "homebrew/cask" 3 | } 4 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # homebrew-CXPatcher 2 | 3 | Install CXPatcher with: 4 | 5 | brew install --cask --no-quarantine italomandara/CXPatcher/cxpatcher 6 | -------------------------------------------------------------------------------- /.github/workflows/bump-gstreamer-cask.yml: -------------------------------------------------------------------------------- 1 | name: bump-gstreamer-cask 2 | on: 3 | schedule: 4 | - cron: '0 12 */14 * *' 5 | # Allows you to run this workflow manually from the Actions tab 6 | workflow_dispatch: 7 | 8 | jobs: 9 | bump-casks: 10 | runs-on: macos-latest 11 | steps: 12 | - uses: macauley/action-homebrew-bump-cask@v1 13 | with: 14 | token: ${{secrets.BUMP_CASK_TOKEN}} 15 | tap: italomandara/homebrew-CXPatcher 16 | cask: gstreamer 17 | livecheck: true 18 | dryrun: false 19 | -------------------------------------------------------------------------------- /Casks/cxpatcher.rb: -------------------------------------------------------------------------------- 1 | cask "cxpatcher" do 2 | version "0.6.8.1" 3 | sha256 "22b754b1818632e509666ca43daaed9ff646dbc8e0393ed64c5c361825bdc6de" 4 | 5 | url "https://github.com/italomandara/CXPatcher/releases/download/v#{version}/CXPatcher.app.zip" 6 | name "CXPatcher" 7 | desc "Patcher to upgrade CrossOver dependencies and improve compatibility" 8 | homepage "https://github.com/italomandara/CXPatcher" 9 | 10 | livecheck do 11 | url :url 12 | strategy :github_latest 13 | end 14 | 15 | depends_on cask: "gstreamer-runtime" 16 | depends_on macos: ">= :ventura" 17 | 18 | app "CXPatcher.app" 19 | 20 | zap trash: [ 21 | "~/Library/Application Scripts/com.italomandara.Crossover-patcher", 22 | "~/Library/Containers/com.italomandara.Crossover-patcher", 23 | ] 24 | 25 | caveats <<~EOS 26 | CXPatcher is an unofficial patcher for CrossOver. CodeWeavers is not 27 | – by any means – involved in this or has anything to do with this app. 28 | 29 | Although it has been tested, this software may render CrossOver unusable or unstable. 30 | 31 | USE AT YOUR OWN RISK! 32 | 33 | This will also void any official support from CodeWeavers. 34 | EOS 35 | end 36 | -------------------------------------------------------------------------------- /.github/workflows/bump-cxpatcher-cask.yml: -------------------------------------------------------------------------------- 1 | name: bump-cxpatcher-cask 2 | on: 3 | schedule: 4 | - cron: '0 8 * * *' 5 | workflow_dispatch: 6 | 7 | jobs: 8 | bump-casks: 9 | runs-on: macos-latest 10 | steps: 11 | - name: Set up Homebrew 12 | uses: Homebrew/actions/setup-homebrew@master 13 | 14 | - name: Update Cask 15 | env: 16 | HOMEBREW_GITHUB_API_TOKEN: ${{ secrets.BUMP_CASK_TOKEN }} 17 | run: | 18 | # 1. Fix Ruby/AST dependencies 19 | brew install-bundler-gems 20 | 21 | # 2. Extract versions 22 | # Get what's available on GitHub 23 | LATEST_VERSION=$(brew livecheck italomandara/cxpatcher/cxpatcher --json | jq -r '.[0].version.latest') 24 | 25 | # Get what is currently in your Repo 26 | CURRENT_VERSION=$(brew info --json=v2 italomandara/cxpatcher/cxpatcher | jq -r '.casks[0].version') 27 | 28 | echo "Version on GitHub: $LATEST_VERSION" 29 | echo "Version in your Tap: $CURRENT_VERSION" 30 | 31 | # 3. Only run if a new version is actually found 32 | if [ "$LATEST_VERSION" = "$CURRENT_VERSION" ]; then 33 | echo "No new version found. Skipping bump." 34 | exit 0 35 | fi 36 | 37 | # 4. Perform the bump 38 | # Using full tap/cask path to avoid ambiguity 39 | brew bump-cask-pr --version="$LATEST_VERSION" italomandara/cxpatcher/cxpatcher 40 | -------------------------------------------------------------------------------- /Casks/gstreamer.rb: -------------------------------------------------------------------------------- 1 | cask "gstreamer" do 2 | version "1.22.6" 3 | sha256 "0257f61d91d59fc5bf1c29272748349a80eff9fdd1b87c0ed0a7c57fe113bd6a" 4 | 5 | url "https://gstreamer.freedesktop.org/data/pkg/osx/#{version}/gstreamer-1.0-#{version}-universal.pkg" 6 | name "GStreamer" 7 | desc "Open Source Multimedia Framework" 8 | homepage "https://gstreamer.freedesktop.org/" 9 | 10 | livecheck do 11 | url "https://gitlab.freedesktop.org/gstreamer/gstreamer/-/tags?format=atom" 12 | regex(%r{