brew: add Homebrew formula for macOS - #298
Open
idlethread wants to merge 2 commits into
Open
Conversation
Add a Homebrew formula for qdl. Users can install the latest release or the development HEAD by tapping the repository: brew tap linux-msm/qdl https://github.com/linux-msm/qdl brew install linux-msm/qdl/qdl # latest tagged release brew install --HEAD linux-msm/qdl/qdl # tip of master Every release since the build system migrated to Meson (v2.7, v2.7.1) builds cleanly with it, so the formula uses the same Meson-based install steps for both the stable url (pinned to v2.7.1) and HEAD. Document the tap-and-install flow in README.md, along with tapping a local checkout to build and test formula changes before they land. Signed-off-by: Amit Kucheria <amit.kucheria@oss.qualcomm.com>
When a version tag (vX.Y) is pushed, the workflow downloads the corresponding release tarball, computes its SHA256 digest and updates Formula/qdl.rb with the new URL and hash, then commits the result back to master. This keeps the in-tree formula in sync with each release without any manual intervention. Signed-off-by: Amit Kucheria <amit.kucheria@oss.qualcomm.com>
idlethread
force-pushed
the
brew-macos-support
branch
from
July 27, 2026 17:47
a377b26 to
04d0e79
Compare
igoropaniuk
requested changes
Jul 27, 2026
igoropaniuk
left a comment
Contributor
There was a problem hiding this comment.
Although I like the idea of adding a Homebrew formula for QDL, I’m against direct bot pushes to master and keeping the formula file inside the repostiory,
IMO a separate linux-msm/homebrew-qdl tap repo is the conventional route, and it would dissolve most of the workflow problems. User could just run brew tap linux-msm/qdl in this case and brew will auto-resolve homebrew-qdl rep + no bot commits to qdl's master are needed + brew update will pull only formula-containing repo instead the whole QDL repo.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Formula/qdl.rb) so macOS users can install qdlvia
brew tap linux-msm/qdl https://github.com/linux-msm/qdlfollowedby
brew install --HEAD linux-msm/qdl/qdl.--HEAD(Meson) and the stable v2.6 release(GNU Make), since the build system migrated to Meson after v2.6.
.github/workflows/brew.yml) that, on each versiontag push, downloads the release tarball, computes its SHA256, and
updates
Formula/qdl.rbautomatically so the in-tree formula stays insync with releases without manual intervention.
Test plan
meson setup build && meson compile -C buildsucceeds on macOS(Homebrew libusb, libxml2, libzip, meson, ninja, help2man)
meson compile manpages -C build && meson install -C build --destdir ...installs
qdlandqdl.1as the formula's HEAD install block expectsGitHub release archive
meson compile check-range -C build(checkpatch) passes clean onboth commits
rationale body, Signed-off-by trailer)