Skip to content

Commit db39133

Browse files
committed
update intel-real-grpc-server to v0.2.1
1 parent 68024e8 commit db39133

File tree

2 files changed

+20
-8
lines changed

2 files changed

+20
-8
lines changed

Formula/intel-real-grpc-server.rb

+7-8
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,20 @@
11
class IntelRealGrpcServer < Formula
2-
desc "Viam camera GRPC server for the Intel RealSense"
2+
desc "Viam Camera gRPC server for Intel RealSense devices"
33
homepage "https://www.viam.com/"
4-
url "https://github.com/viamrobotics/camera-servers/archive/refs/tags/v0.1.1.tar.gz"
5-
sha256 "4e872fb4ea1710c39c5919a4ed0f6e94d319853cd1ae546abf7eeebc9e87167e"
4+
url "https://github.com/viamrobotics/camera-servers/archive/refs/tags/v0.2.1.zip"
5+
sha256 "e0374b26e0b6a1aecda613287ce07fea28dde63319ad4452bc50f6143ccdae48"
66
license "Apache-2.0"
7-
head "https://github.com/viamrobotics/camera-servers.git", branch: "main"
7+
head "https://github.com/viamrobotics/rdk.git", branch: "main"
88

99
depends_on "go" => :build
1010
depends_on "pkg-config" => :build
1111
depends_on "grpc"
12-
depends_on "libhttpserver"
1312
depends_on "librealsense"
14-
depends_on "opencv"
13+
depends_on "jpeg-turbo"
14+
depends_on "openssl"
1515

1616
def install
17-
system "make", "buf"
18-
system "make", "intelrealgrpcserver"
17+
system "make", "intelrealgrpcserver-release-opt"
1918
bin.install "intelrealgrpcserver"
2019
end
2120
end

README.md

+13
Original file line numberDiff line numberDiff line change
@@ -9,3 +9,16 @@ Or `brew tap viamrobotics/brews` and then `brew install <formula>`.
99
## Documentation
1010

1111
`brew help`, `man brew` or check [Homebrew's documentation](https://docs.brew.sh).
12+
13+
## Development
14+
15+
To test a specific formula locally, you can try the following:
16+
17+
`brew reinstall --build-from-source <path-to-homebrew-brews>/Formula/<formula>.rb`
18+
19+
To test uncommitted code that the formula relies on:
20+
1. Temporarily, until ready to commit the formula
21+
1. Remove the sha256, head field
22+
2. Change url to be a tarball you create locally of your code (e.g. `tar -C <path-to-repo> -czf some.tgz .`) using `url "file:///<some-absolute-path-to>/some.tgz"`. You'll want to make sure the directory is cleaned of build artifacts before hand.
23+
3. Set version to some bogus value
24+
2. When done, undo these changes and use the normal tooling to bump the version.

0 commit comments

Comments
 (0)