Skip to content
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

usbutils 018 #195376

Merged
merged 2 commits into from
Nov 2, 2024
Merged
Show file tree
Hide file tree
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
1 change: 1 addition & 0 deletions .github/autobump.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2929,6 +2929,7 @@ uriparser
urlscan
usb.ids
usbredir
usbutils
userspace-rcu
util-linux
util-macros
Expand Down
33 changes: 15 additions & 18 deletions Formula/u/usbutils.rb
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ class Usbutils < Formula
desc "List detailed info about USB devices"
# Homepage for multiple Linux USB tools, 'usbutils' is one of them.
homepage "http://www.linux-usb.org/"
url "https://mirrors.edge.kernel.org/pub/linux/utils/usb/usbutils/usbutils-017.tar.gz"
sha256 "f704c4cb78a060db88b43aac6ebfd3d93c2c5cf1d6dd0e42936faaf00814ab00"
url "https://mirrors.edge.kernel.org/pub/linux/utils/usb/usbutils/usbutils-018.tar.gz"
sha256 "0048d2d8518fb0cc7c0516e16e52af023e52b55ddb3b2068a77041b5ef285768"
license all_of: [
"GPL-2.0-only",
"GPL-2.0-or-later",
Expand All @@ -16,19 +16,16 @@ class Usbutils < Formula
end

bottle do
sha256 cellar: :any, arm64_sequoia: "29214690f12e4b8adb6616dd47c41b43cec827637d09c1f4dab15a255050ca68"
sha256 cellar: :any, arm64_sonoma: "374ce8a0c6782808d4fd194dbfd177c779ca568e7d5b0a5687412add96cce4ed"
sha256 cellar: :any, arm64_ventura: "735a4d7ec2d7393bb3421c27583f1df30455c5a4c3b092786dfe3ee92144806e"
sha256 cellar: :any, arm64_monterey: "eabe8a0f9cee89292386b2b0900677127c8827882bf43323dfb732013d6a2f1a"
sha256 cellar: :any, sonoma: "3c3468d2b41346db49f356b1f0ab04e86bfbcc93954bbcfc2c343c6fbd720eaa"
sha256 cellar: :any, ventura: "1c2b43d31059a4b67815be116ab308817487a9f06d670244a2a234a023851d93"
sha256 cellar: :any, monterey: "6a760ee183985a6d80d58efe5e78c945511c3b89cce5e01bfb48858637fdb322"
sha256 cellar: :any_skip_relocation, x86_64_linux: "17f5961f3ebd783d33e4851654070498c44c65c2bf235754ce8dcd704063dcaa"
sha256 cellar: :any, arm64_sequoia: "19bc5627cb39ad4877754708f98e513f74d74d51a66a2c40e5fb904b44c97851"
sha256 cellar: :any, arm64_sonoma: "04127d6f7b7f69f9cf13d59e64c41f75628b9ac4cd4c72da70d9ee892eec1be5"
sha256 cellar: :any, arm64_ventura: "620a18e00aedf3f6216972e411044b3b212186daf06de35aaba4c01b0da88b75"
sha256 cellar: :any, sonoma: "5a46602f76dd8cc39b901f1ec384593ca95183ecb8c013dd5db6be6692129ef9"
sha256 cellar: :any, ventura: "4e352bf259ad82c3c2f794c009cb7adcc3fe29829373720529180c28a03902b5"
sha256 x86_64_linux: "b6f4d16b0e4a42673c5725cbc31c25a8bfbe702ca82ecc1b58493248285f57c4"
end

depends_on "autoconf" => :build
depends_on "automake" => :build
depends_on "libtool" => :build
depends_on "meson" => :build
depends_on "ninja" => :build
depends_on "pkg-config" => :build
depends_on "libusb"

Expand All @@ -39,14 +36,14 @@ class Usbutils < Formula
conflicts_with "lsusb", "lsusb-laniksj", because: "both provide an `lsusb` binary"

patch do
url "https://raw.githubusercontent.com/Homebrew/formula-patches/12f3d34/usbutils/portable.patch"
sha256 "0f504a173191a1e1e2f56b41584fcc0468eab7b7dfefd225910b91b5ea65cfbe"
url "https://raw.githubusercontent.com/Homebrew/formula-patches/24a6945778381a62ecdcc1d78bcc16b9f86778c1/usbutils/portable.patch"
sha256 "ec09531017e1fa45dbc37233b286a736a24d7f98668e38a92e3697559f739c7f"
end

def install
system "autoreconf", "--force", "--install", "--verbose"
system "./configure", "--disable-silent-rules", *std_configure_args
system "make", "install"
system "meson", "setup", "build", *std_meson_args
system "meson", "compile", "-C", "build", "--verbose"
system "meson", "install", "-C", "build"
end

def caveats
Expand Down
Loading