From 7a4c3351740ffd920086acbc4fa812e3f81f8eec Mon Sep 17 00:00:00 2001 From: Rui Chen Date: Wed, 17 Jan 2024 09:24:49 -0500 Subject: [PATCH 1/2] rojo 7.4.0 rojo: switch to submodules Signed-off-by: Rui Chen rojo: needs openssl Signed-off-by: Rui Chen rojo: update comment Co-authored-by: Patrick Linnane --- Formula/r/rojo.rb | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) diff --git a/Formula/r/rojo.rb b/Formula/r/rojo.rb index a629a74e5d609..6f03e64a1552b 100644 --- a/Formula/r/rojo.rb +++ b/Formula/r/rojo.rb @@ -1,8 +1,10 @@ class Rojo < Formula desc "Professional grade Roblox development tools" homepage "https://rojo.space/" - url "https://github.com/rojo-rbx/rojo/archive/refs/tags/v7.3.0.tar.gz" - sha256 "849626d5395ccc58de04c4d6072c905880432c58bb2dc71ca27ab7f794b82187" + # pull from git tag to get submodules + url "https://github.com/rojo-rbx/rojo.git", + tag: "v7.4.0", + revision: "c0a96e38110c14e932c3319b8ae32a1aaf8f2e9b" license "MPL-2.0" head "https://github.com/rojo-rbx/rojo.git", branch: "master" @@ -18,11 +20,15 @@ class Rojo < Formula sha256 cellar: :any_skip_relocation, x86_64_linux: "3100624c3e30d51adb62aa7806296374faae2d357fee855dcb231a49b80887ff" end + depends_on "pkg-config" => :build depends_on "rust" => :build - depends_on "wally" => :build + depends_on "openssl@3" def install - system "wally", "install", "--project-path", "./plugin" + # Ensure that the `openssl` crate picks up the intended library. + ENV["OPENSSL_DIR"] = Formula["openssl@3"].opt_prefix + ENV["OPENSSL_NO_VENDOR"] = "1" + system "cargo", "install", *std_cargo_args end From b4983fd4f199b6ef016924d41fcfa748f4329ec8 Mon Sep 17 00:00:00 2001 From: BrewTestBot <1589480+BrewTestBot@users.noreply.github.com> Date: Wed, 17 Jan 2024 21:50:07 +0000 Subject: [PATCH 2/2] rojo: update 7.4.0 bottle. --- Formula/r/rojo.rb | 16 +++++++--------- 1 file changed, 7 insertions(+), 9 deletions(-) diff --git a/Formula/r/rojo.rb b/Formula/r/rojo.rb index 6f03e64a1552b..ef9d9fadde5e5 100644 --- a/Formula/r/rojo.rb +++ b/Formula/r/rojo.rb @@ -9,15 +9,13 @@ class Rojo < Formula head "https://github.com/rojo-rbx/rojo.git", branch: "master" bottle do - sha256 cellar: :any_skip_relocation, arm64_sonoma: "05eef607bde72c6948ee16eb225c3b55d3cb46c412066288d6de4dc2e52fd1d5" - sha256 cellar: :any_skip_relocation, arm64_ventura: "236533d0cb6ea8d14cedc69cebd9c6a9e053cffee0f95641b0d58ba6e6c0e4c5" - sha256 cellar: :any_skip_relocation, arm64_monterey: "81e8d5261e322a2a919295353a763fbd7f1d8a2cf3556aab80e5cfe457d19fe6" - sha256 cellar: :any_skip_relocation, arm64_big_sur: "9fcff3eac2a7045e2b7d214561a9d8063fd4cd449d873e17bfc301a3f484d08e" - sha256 cellar: :any_skip_relocation, sonoma: "5930faa98e30a7be392a511661f47a9d7856a2d5847b04555909d727b2637ecb" - sha256 cellar: :any_skip_relocation, ventura: "cc6a54ce4f5e8fb0aaed30c88eac4e65b245374aa7ce453deab3e0b1a89479f8" - sha256 cellar: :any_skip_relocation, monterey: "636363d45159bfd23981891f3fe10c1154b0c11b6c65dc6000b9ce2eef226796" - sha256 cellar: :any_skip_relocation, big_sur: "770681139d18142aa8a684e58fd68d29be7386a625e631f45cee858dae1b8515" - sha256 cellar: :any_skip_relocation, x86_64_linux: "3100624c3e30d51adb62aa7806296374faae2d357fee855dcb231a49b80887ff" + sha256 cellar: :any_skip_relocation, arm64_sonoma: "1899cd7667173520cf3c6526683700e7cd53678382db4ec7ca30cfc97ea73271" + sha256 cellar: :any_skip_relocation, arm64_ventura: "44f215b65cea64d25d13cab268c31b31d45fc5a3a24eb1d1d5c28a34def81455" + sha256 cellar: :any_skip_relocation, arm64_monterey: "b80eb12b33a15d40f34d35bf0feb1ecca030e78d65e84e008ddc1dd3da12ae1d" + sha256 cellar: :any_skip_relocation, sonoma: "bf7c690903d9fa09a9b6e914675df86d645bd35616449a6d1525aa5dc593b2ce" + sha256 cellar: :any_skip_relocation, ventura: "1450ced9f59375ca1d8252ae77f30b41aa7e76a77e4434c25fcb528c0c6603d9" + sha256 cellar: :any_skip_relocation, monterey: "0c05ecf372e4b57565bdb7fb6de2042b9e080cdae73319f415cc39bf2fee4570" + sha256 cellar: :any_skip_relocation, x86_64_linux: "9b722936fa8ac2f443f7db1885a09213ba42e356f4586bba2c9e3600857b1e74" end depends_on "pkg-config" => :build