mirror of
https://github.com/gromgit/homebrew-fuse.git
synced 2025-12-05 23:34:43 +00:00
Compare commits
28 commits
aeb6f5ea7c
...
f83ba71cc0
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
f83ba71cc0 | ||
|
|
d06c9548d6 | ||
|
|
698ed57a59 | ||
|
|
36701c7bf2 | ||
|
|
576f4c0b8d | ||
|
|
16203ce7a3 | ||
|
|
cd9b7c5fe2 | ||
|
|
6824d390a6 | ||
|
|
bb03a7e1fd | ||
|
|
defe6aabfe | ||
|
|
f5b1ac31c9 | ||
|
|
0c5e47a7f4 | ||
|
|
ea2626ab42 | ||
|
|
76293bfb1e | ||
|
|
26f37be7c2 | ||
|
|
675eec95c5 | ||
|
|
164b7013b6 | ||
|
|
132f77949e | ||
|
|
3cc69316b6 | ||
|
|
9c677b9e40 | ||
|
|
7bcc872d8e | ||
|
|
7c48dade80 | ||
|
|
e3212e73fc | ||
|
|
5a851f98e1 | ||
|
|
c7fe3baa1a | ||
|
|
f7967d17ea | ||
|
|
4b636c8580 | ||
|
|
bfdaf06e66 |
10 changed files with 106 additions and 72 deletions
15
.github/workflows/publish.yml
vendored
15
.github/workflows/publish.yml
vendored
|
|
@ -8,25 +8,27 @@ on:
|
|||
jobs:
|
||||
pr-pull:
|
||||
if: contains(github.event.pull_request.labels.*.name, 'pr-pull')
|
||||
strategy:
|
||||
matrix:
|
||||
os: [macos-13, macos-14, macos-15]
|
||||
runs-on: ${{ matrix.os }}
|
||||
runs-on: ubuntu-22.04
|
||||
permissions:
|
||||
actions: read
|
||||
checks: read
|
||||
contents: write
|
||||
issues: read
|
||||
packages: write
|
||||
pull-requests: write
|
||||
steps:
|
||||
- name: Set up Homebrew
|
||||
uses: Homebrew/actions/setup-homebrew@main
|
||||
with:
|
||||
token: ${{ secrets.GITHUB_TOKEN }}
|
||||
|
||||
- name: Set up git
|
||||
uses: Homebrew/actions/git-user-config@main
|
||||
|
||||
- name: Pull bottles
|
||||
env:
|
||||
HOMEBREW_GITHUB_API_TOKEN: ${{ github.token }}
|
||||
HOMEBREW_GITHUB_PACKAGES_TOKEN: ${{ github.token }}
|
||||
HOMEBREW_GITHUB_API_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
HOMEBREW_GITHUB_PACKAGES_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
HOMEBREW_GITHUB_PACKAGES_USER: ${{ github.repository_owner }}
|
||||
PULL_REQUEST: ${{ github.event.pull_request.number }}
|
||||
run: brew pr-pull --debug --tap="$GITHUB_REPOSITORY" "$PULL_REQUEST"
|
||||
|
|
@ -34,7 +36,6 @@ jobs:
|
|||
- name: Push commits
|
||||
uses: Homebrew/actions/git-try-push@main
|
||||
with:
|
||||
token: ${{ github.token }}
|
||||
branch: main
|
||||
|
||||
- name: Delete branch
|
||||
|
|
|
|||
4
.github/workflows/tests.yml
vendored
4
.github/workflows/tests.yml
vendored
|
|
@ -10,7 +10,7 @@ jobs:
|
|||
test-bot:
|
||||
strategy:
|
||||
matrix:
|
||||
os: [macos-13, macos-14, macos-15]
|
||||
os: [macos-14, macos-15, macos-26]
|
||||
runs-on: ${{ matrix.os }}
|
||||
steps:
|
||||
- name: Set up Homebrew
|
||||
|
|
@ -32,7 +32,7 @@ jobs:
|
|||
|
||||
- run: brew test-bot --only-tap-syntax
|
||||
|
||||
- run: brew test-bot --only-formulae --root-url='https://ghcr.io/v2/gromgit/fuse'
|
||||
- run: brew test-bot --verbose --debug --only-formulae --root-url='https://ghcr.io/v2/gromgit/fuse'
|
||||
if: github.event_name == 'pull_request'
|
||||
|
||||
- name: Upload bottles as artifact
|
||||
|
|
|
|||
|
|
@ -2,20 +2,17 @@ require_relative "../require/macfuse"
|
|||
|
||||
class ArchivemountMac < Formula
|
||||
desc "File system for accessing archives using libarchive"
|
||||
homepage "https://github.com/cybernoid/archivemount"
|
||||
url "https://slackware.uk/~urchlay/src/archivemount-0.9.1.tar.gz"
|
||||
sha256 "c529b981cacb19541b48ddafdafb2ede47a40fcaf16c677c1e2cd198b159c5b3"
|
||||
|
||||
livecheck do
|
||||
url "https://raw.githubusercontent.com/cybernoid/archivemount/refs/heads/master/CHANGELOG"
|
||||
regex(/\*\s+v?(\d+(?:\.\d+)+)\s+/i)
|
||||
end
|
||||
homepage "https://git.sr.ht/~nabijaczleweli/archivemount-ng"
|
||||
url "https://git.sr.ht/~nabijaczleweli/archivemount-ng/archive/1b.tar.gz"
|
||||
version "1b"
|
||||
sha256 "de10cfee3bff8c1dd2b92358531d3c0001db36a99e1098ed0c9d205d110e903d"
|
||||
license "LGPL-2.0-or-later"
|
||||
|
||||
bottle do
|
||||
root_url "https://ghcr.io/v2/gromgit/fuse"
|
||||
rebuild 1
|
||||
sha256 cellar: :any, arm64_sonoma: "abe39d7d99aae950033e62df6c1ac3c33b7b8a7863eeb92d2bb82c1b3b5662fc"
|
||||
sha256 cellar: :any, ventura: "be2622a6cb26b8dc581c35b1cad1f07ddafbfea379e5f4db250258ab6583f615"
|
||||
sha256 cellar: :any, arm64_tahoe: "e0aa81ce9ae8fb880b340b02077e03acaf1d4f489554a411bf4430ba3a558f31"
|
||||
sha256 cellar: :any, arm64_sequoia: "fa4e1c0bbd16a705f0746d9c1721e3a5ebf9fc664b49291dd0390129542595ae"
|
||||
sha256 cellar: :any, arm64_sonoma: "ab28653f06c95589c740800b90187182cf45abffa2dda25146881dceaa963152"
|
||||
end
|
||||
|
||||
depends_on "pkgconf" => :build
|
||||
|
|
@ -24,9 +21,8 @@ class ArchivemountMac < Formula
|
|||
depends_on :macos
|
||||
|
||||
def install
|
||||
setup_fuse
|
||||
system "./configure", "--disable-silent-rules", *std_configure_args
|
||||
system "make", "install"
|
||||
setup_fuse3
|
||||
system "make", "PREFIX=#{prefix}", "install"
|
||||
end
|
||||
|
||||
test do
|
||||
|
|
|
|||
|
|
@ -3,8 +3,8 @@ require_relative "../require/macfuse"
|
|||
class BindfsMac < Formula
|
||||
desc "FUSE file system for mounting to another location"
|
||||
homepage "https://bindfs.org/"
|
||||
url "https://bindfs.org/downloads/bindfs-1.18.0.tar.gz"
|
||||
sha256 "46fcf95b871109265e93cd42e5ae282c722716488ad9f0da1e1f98535be37f7a"
|
||||
url "https://bindfs.org/downloads/bindfs-1.18.3.tar.gz"
|
||||
sha256 "178a723d7039bae3ab1cef2fc93e5e8693c4184f52519c0e9a1deee93b838df1"
|
||||
license "GPL-2.0-or-later"
|
||||
|
||||
bottle do
|
||||
|
|
|
|||
|
|
@ -3,8 +3,8 @@ require_relative "../require/macfuse"
|
|||
class DwarfsFuseMac < Formula
|
||||
desc "Fast high compression read-only file system (macFUSE driver)"
|
||||
homepage "https://github.com/mhx/dwarfs"
|
||||
url "https://github.com/mhx/dwarfs/releases/download/v0.13.0/dwarfs-0.13.0.tar.xz"
|
||||
sha256 "d0654fcc1219bfd11c96f737011d141c3ae5929620cd22928e49f25c37a15dc9"
|
||||
url "https://github.com/mhx/dwarfs/releases/download/v0.14.1/dwarfs-0.14.1.tar.xz"
|
||||
sha256 "620cf27f2e142a5f8fc05552a70704c3bf4df23c3279c6026b3f37954d0529c5"
|
||||
license "GPL-3.0-or-later"
|
||||
|
||||
livecheck do
|
||||
|
|
@ -15,9 +15,8 @@ class DwarfsFuseMac < Formula
|
|||
|
||||
bottle do
|
||||
root_url "https://ghcr.io/v2/gromgit/fuse"
|
||||
sha256 arm64_sequoia: "301e40d50177787efb552d25c25e9264624b6d0fc31c71e4f16bbe3d2cb22b0d"
|
||||
sha256 arm64_sonoma: "0b8122747981a7bfcd3e557d8fa89b047022482aae101f657f25bf38b68ea118"
|
||||
sha256 cellar: :any, ventura: "5c594ee82df694d72b3ed811272c8699785158b3d5854dc91ef5687d3296fa09"
|
||||
sha256 arm64_sequoia: "435146a6369cafb5e9bacfb9470c14c8812b75e68d518041ad3e0125b43c7e43"
|
||||
sha256 arm64_sonoma: "6bdf459cae00709de615e2df120218898a223d95304abc32e393c47f600adfb2"
|
||||
end
|
||||
|
||||
depends_on "cmake" => :build
|
||||
|
|
@ -56,6 +55,7 @@ class DwarfsFuseMac < Formula
|
|||
|
||||
# Workaround for Boost 1.89.0 until upstream Folly fix.
|
||||
# Issue ref: https://github.com/facebook/folly/issues/2489
|
||||
# Fix to Undefined symbols for architecture x86_64: "_XXH3_64bits"
|
||||
patch :DATA
|
||||
|
||||
def install
|
||||
|
|
@ -94,7 +94,43 @@ class DwarfsFuseMac < Formula
|
|||
end
|
||||
|
||||
test do
|
||||
system sbin/"dwarfs", "--help"
|
||||
# produce a dwarfs image
|
||||
system bin/"mkdwarfs", "-i", prefix, "-o", "test.dwarfs", "-l4"
|
||||
|
||||
# check the image
|
||||
system bin/"dwarfsck", "test.dwarfs"
|
||||
|
||||
# get JSON info about the image
|
||||
info = JSON.parse(shell_output("#{bin}/dwarfsck test.dwarfs -j"))
|
||||
assert_equal info["created_by"], "libdwarfs v#{version}"
|
||||
assert info["inode_count"] >= 10
|
||||
|
||||
# extract the image
|
||||
system bin/"dwarfsextract", "-i", "test.dwarfs"
|
||||
assert_path_exists "bin/mkdwarfs"
|
||||
assert_path_exists "share/man/man1/mkdwarfs.1"
|
||||
assert compare_file bin/"mkdwarfs", "bin/mkdwarfs"
|
||||
|
||||
(testpath/"test.cpp").write <<~CPP
|
||||
#include <iostream>
|
||||
#include <dwarfs/version.h>
|
||||
|
||||
int main(int argc, char **argv) {
|
||||
int v = dwarfs::get_dwarfs_library_version();
|
||||
int major = v / 10000;
|
||||
int minor = (v % 10000) / 100;
|
||||
int patch = v % 100;
|
||||
std::cout << major << "." << minor << "." << patch << std::endl;
|
||||
return 0;
|
||||
}
|
||||
CPP
|
||||
|
||||
# ENV.llvm_clang doesn't work in the test block
|
||||
ENV["CXX"] = Formula["llvm"].opt_bin/"clang++" if OS.mac? && DevelopmentTools.clang_build_version <= 1500
|
||||
|
||||
system ENV.cxx, "-std=c++20", "test.cpp", "-I#{include}", "-L#{lib}", "-o", "test", "-ldwarfs_common"
|
||||
|
||||
assert_equal version.to_s, shell_output("./test").chomp
|
||||
end
|
||||
end
|
||||
|
||||
|
|
@ -109,13 +145,3 @@ __END__
|
|||
thread
|
||||
REQUIRED
|
||||
)
|
||||
--- a/folly/CMake/folly-deps.cmake
|
||||
+++ b/folly/CMake/folly-deps.cmake
|
||||
@@ -41,7 +41,6 @@ find_package(Boost 1.51.0 MODULE
|
||||
filesystem
|
||||
program_options
|
||||
regex
|
||||
- system
|
||||
thread
|
||||
REQUIRED
|
||||
)
|
||||
|
|
|
|||
|
|
@ -3,8 +3,8 @@ require_relative "../require/macfuse"
|
|||
class GcsfuseMac < Formula
|
||||
desc "User-space file system for interacting with Google Cloud"
|
||||
homepage "https://github.com/googlecloudplatform/gcsfuse"
|
||||
url "https://github.com/GoogleCloudPlatform/gcsfuse/archive/refs/tags/v3.4.0.tar.gz"
|
||||
sha256 "07eb90d76c50b8fcf0376a43f96ecce098195062e9dced617b3bac68ff51bc79"
|
||||
url "https://github.com/GoogleCloudPlatform/gcsfuse/archive/refs/tags/v3.4.4.tar.gz"
|
||||
sha256 "4f1c25ba20044394538fa7704511669493465bccf11cd257bb745f7baa531142"
|
||||
license "Apache-2.0"
|
||||
head "https://github.com/GoogleCloudPlatform/gcsfuse.git", branch: "master"
|
||||
|
||||
|
|
@ -15,9 +15,9 @@ class GcsfuseMac < Formula
|
|||
|
||||
bottle do
|
||||
root_url "https://ghcr.io/v2/gromgit/fuse"
|
||||
sha256 cellar: :any_skip_relocation, arm64_sequoia: "85330a663e1d1d8b13d7739a7201c8b69e2643f4e43432e4a8db16f3633427d2"
|
||||
sha256 cellar: :any_skip_relocation, arm64_sonoma: "6b2f4706f823c7a44c07f0654df7baeece27dc8c1ea37d62c4260ff71bd13da4"
|
||||
sha256 cellar: :any_skip_relocation, ventura: "877e09da801612ba6685d5233e70637b63d0c4b775f42c582292138cdace0c8f"
|
||||
sha256 cellar: :any_skip_relocation, arm64_tahoe: "af3511891e38ad8683e6d6746a1b9755bcbd70d07ddfa3b37d323472a3cfdbd1"
|
||||
sha256 cellar: :any_skip_relocation, arm64_sequoia: "a0c7e6a39a1d968761e62cef8e75fa2ad2ab441ef4c9e094da90674eecac1494"
|
||||
sha256 cellar: :any_skip_relocation, arm64_sonoma: "4f8f8974e7c471ca82d45c83077efb3faef55e9ecd775eefb46f7e20d716459c"
|
||||
end
|
||||
|
||||
depends_on "go" => :build
|
||||
|
|
|
|||
|
|
@ -3,16 +3,14 @@ require_relative "../require/macfuse"
|
|||
class IfuseMac < Formula
|
||||
desc "FUSE module for iOS devices"
|
||||
homepage "https://libimobiledevice.org/"
|
||||
url "https://github.com/libimobiledevice/ifuse/archive/refs/tags/1.1.4.tar.gz"
|
||||
sha256 "2a00769e8f1d8bad50898b9d00baf12c8ae1cda2d19ff49eaa9bf580e5dbe78c"
|
||||
url "https://github.com/libimobiledevice/ifuse/archive/refs/tags/1.2.0.tar.gz"
|
||||
sha256 "29ab853037d781ef19f734936454c7f7806d1c46fbcca6e15ac179685ab37c9c"
|
||||
license "LGPL-2.1-or-later"
|
||||
head "https://github.com/libimobiledevice/ifuse.git", branch: "master"
|
||||
|
||||
bottle do
|
||||
root_url "https://ghcr.io/v2/gromgit/fuse"
|
||||
rebuild 1
|
||||
sha256 cellar: :any, arm64_sonoma: "06ceadb0e0c288cc0f02b5c64c7051f8d54dd39d697801c305ba70101780e3ee"
|
||||
sha256 cellar: :any, ventura: "d7aecf23caa314cb17ae46d790af547fceca621a300f19f74b2593c0c4cafe10"
|
||||
sha256 cellar: :any, arm64_sequoia: "7b2a54ceeca52d5ada2e625f7e3edbcdd7f6eedfc8b8f6286137fb38fcff50e6"
|
||||
end
|
||||
|
||||
depends_on "autoconf" => :build
|
||||
|
|
@ -26,7 +24,11 @@ class IfuseMac < Formula
|
|||
depends_on :macos
|
||||
|
||||
def install
|
||||
setup_fuse
|
||||
# This file can be generated only if `.git` directory is present
|
||||
# Create it manually
|
||||
(buildpath/".tarball-version").write version.to_s
|
||||
|
||||
setup_fuse3
|
||||
system "./autogen.sh", *std_configure_args
|
||||
system "make", "install"
|
||||
end
|
||||
|
|
|
|||
|
|
@ -5,16 +5,16 @@ class RatarmountMac < Formula
|
|||
|
||||
desc "Mount and efficiently access archives as filesystems"
|
||||
homepage "https://github.com/mxmlnkn/ratarmount"
|
||||
url "https://files.pythonhosted.org/packages/e0/5c/ffddb34553d65cb9bf1a0baa59bb61fcf3beebab0e0a944347a501b2e258/ratarmount-1.2.0.tar.gz"
|
||||
sha256 "acca4e5803c75f50f94d4c75ead5f44aa4c4661c9e77d50eb25d1876e6f4dec9"
|
||||
url "https://files.pythonhosted.org/packages/f6/2f/ce04f40f3cc82bb3ffbc97bffe3b7a2abe83a382c81fe2452ad54792acdf/ratarmount-1.2.1.tar.gz"
|
||||
sha256 "28be2f1b9477ba4d0d8d75ddbc2468fc906970d36f4940bd932d1a51818e06a0"
|
||||
license "MIT"
|
||||
head "https://github.com/mxmlnkn/ratarmount.git", branch: "master"
|
||||
|
||||
bottle do
|
||||
root_url "https://ghcr.io/v2/gromgit/fuse"
|
||||
sha256 cellar: :any, arm64_sequoia: "2365105db0ac74c04321995b37ff0be6159f70ae2d34147be2d37557dec9f714"
|
||||
sha256 cellar: :any, arm64_sonoma: "a8f2c88f8e5c6068a1cbb4418a86ee0826d8cf36b4d12a33b1fd1dc768d5ae73"
|
||||
sha256 cellar: :any, ventura: "f24a02c02121d7338d6a03915c3501377455b7c590b40de086d684d28459b7a1"
|
||||
sha256 cellar: :any, arm64_tahoe: "f89ceae4c6bb313cf569f7727033c07390db1382965a22e1197d0f1ee9c0a5bc"
|
||||
sha256 cellar: :any, arm64_sequoia: "c0beb8c22c87eac4c3ba674f1c7245d0094f3bfebf64f9fce2fea1bfa0c2d674"
|
||||
sha256 cellar: :any, arm64_sonoma: "588e3d984a585d5c2770882e3afc3872524a979738809eee8a5d5dff5bbc15b8"
|
||||
end
|
||||
|
||||
depends_on "libgit2"
|
||||
|
|
@ -24,8 +24,8 @@ class RatarmountMac < Formula
|
|||
depends_on "zstd"
|
||||
|
||||
resource "brotli" do
|
||||
url "https://files.pythonhosted.org/packages/2f/c2/f9e977608bdf958650638c3f1e28f85a1b075f075ebbe77db8555463787b/Brotli-1.1.0.tar.gz"
|
||||
sha256 "81de08ac11bcb85841e440c13611c00b67d3bf82698314928d0b676362546724"
|
||||
url "https://files.pythonhosted.org/packages/f7/16/c92ca344d646e71a43b8bb353f0a6490d7f6e06210f8554c8f874e454285/brotli-1.2.0.tar.gz"
|
||||
sha256 "e310f77e41941c13340a95976fe66a8a95b01e783d430eeaf7a2f87e0a57dd0a"
|
||||
end
|
||||
|
||||
resource "fast-zip-decryption" do
|
||||
|
|
@ -64,8 +64,8 @@ class RatarmountMac < Formula
|
|||
end
|
||||
|
||||
resource "psutil" do
|
||||
url "https://files.pythonhosted.org/packages/2a/80/336820c1ad9286a4ded7e845b2eccfcb27851ab8ac6abece774a6ff4d3de/psutil-7.0.0.tar.gz"
|
||||
sha256 "7be9c3eba38beccb6495ea33afd982a44074b78f28c434a1f51cc07fd315c456"
|
||||
url "https://files.pythonhosted.org/packages/e1/88/bdd0a41e5857d5d703287598cbf08dad90aed56774ea52ae071bae9071b6/psutil-7.1.3.tar.gz"
|
||||
sha256 "6c86281738d77335af7aec228328e944b30930899ea760ecf33a4dba66be5e74"
|
||||
end
|
||||
|
||||
resource "py7zr" do
|
||||
|
|
@ -94,13 +94,13 @@ class RatarmountMac < Formula
|
|||
end
|
||||
|
||||
resource "pyzstd" do
|
||||
url "https://files.pythonhosted.org/packages/8f/a2/54d860ccbd07e3c67e4d0321d1c29fc7963ac82cf801a078debfc4ef7c15/pyzstd-0.17.0.tar.gz"
|
||||
sha256 "d84271f8baa66c419204c1dd115a4dec8b266f8a2921da21b81764fa208c1db6"
|
||||
url "https://files.pythonhosted.org/packages/47/82/7bcafbf06ee83a66990ce5badbb8f4dc32184346bab20de7e468b1a2f6ec/pyzstd-0.18.0.tar.gz"
|
||||
sha256 "81b6851ab1ca2e5f2c709e896a1362e3065a64f271f43db77fb7d5e4a78e9861"
|
||||
end
|
||||
|
||||
resource "rapidgzip" do
|
||||
url "https://files.pythonhosted.org/packages/fa/df/f4abf845cb27f60156b124af95f483d2861cd607811120650293a1835327/rapidgzip-0.15.0.tar.gz"
|
||||
sha256 "e81079c190c458652076f3667f90aa5886fbf2c92a5a3d0169cfb1faf1e45dfa"
|
||||
url "https://files.pythonhosted.org/packages/d6/50/b9bb77eaf841f2fbd8123d9677815d4ef53b53c4c189c5f789c78ef2d05e/rapidgzip-0.15.2.tar.gz"
|
||||
sha256 "fa3f90f17ce185a99514df54b5316bdfa593e98f3eebbb12da301eb25d6dedcd"
|
||||
end
|
||||
|
||||
resource "rarfile" do
|
||||
|
|
@ -109,8 +109,8 @@ class RatarmountMac < Formula
|
|||
end
|
||||
|
||||
resource "ratarmountcore" do
|
||||
url "https://files.pythonhosted.org/packages/60/ab/3f75901c28a4680d0e416b3e618587e25422613dd4735ad98cad74a40a7e/ratarmountcore-0.10.0.tar.gz"
|
||||
sha256 "178d8f6be572e22847264f34c4b0d2166bec8b6de650b69e485b60e98a7c1ba0"
|
||||
url "https://files.pythonhosted.org/packages/f8/15/b9c2a47a4adba9b7bef8a057896a8e96db1d286ae538bd1d9d2fd147febd/ratarmountcore-0.10.2.tar.gz"
|
||||
sha256 "35e2935e1e135140d1bb8d82061c1527fb168ba5653d0218c06f3ec106711e6c"
|
||||
end
|
||||
|
||||
resource "texttable" do
|
||||
|
|
|
|||
|
|
@ -3,16 +3,16 @@ require_relative "../require/macfuse"
|
|||
class RcloneMac < Formula
|
||||
desc "Rsync for cloud storage (with macOS FUSE mount support)"
|
||||
homepage "https://rclone.org/"
|
||||
url "https://github.com/rclone/rclone/archive/refs/tags/v1.71.1.tar.gz"
|
||||
sha256 "a3aa14e37047081f9770d7c58a0f13e665ed99600259884246b1884fc4b30b6c"
|
||||
url "https://github.com/rclone/rclone/archive/refs/tags/v1.72.0.tar.gz"
|
||||
sha256 "5a2eccbc3519224377c0fbbf4469c6e8125c37616ac28cf3c3ec091ccfbbe0c5"
|
||||
license "MIT"
|
||||
head "https://github.com/rclone/rclone.git", branch: "master"
|
||||
|
||||
bottle do
|
||||
root_url "https://ghcr.io/v2/gromgit/fuse"
|
||||
sha256 cellar: :any_skip_relocation, arm64_sequoia: "6ec168f12a1aaaa5605fefd92e928cd098216500593c6864d8ef9cba44070e52"
|
||||
sha256 cellar: :any_skip_relocation, arm64_sonoma: "c72458e3454ce6fda607a289bf88cd7a4f5d0988fbba8291ddca0aeec3c6bd98"
|
||||
sha256 cellar: :any_skip_relocation, ventura: "8d4ed278fe3a051bb8bad51d88b73b4f5537cf2044205a9827957f373e3fe1c2"
|
||||
sha256 cellar: :any_skip_relocation, arm64_tahoe: "8dbdb39b713e0eae98e17382ea1f34c00d4e514626704c7a2083cb50aa00bf98"
|
||||
sha256 cellar: :any_skip_relocation, arm64_sequoia: "78071ac73957eebe970c609b78ec0e8ef8a34fe09e1f824908cfe5f7da3f0ef3"
|
||||
sha256 cellar: :any_skip_relocation, arm64_sonoma: "28dad62fdfe9a624e394fe2514b477f1411adf0fefad1c54e1f65afb2c57b849"
|
||||
end
|
||||
|
||||
depends_on "go" => :build
|
||||
|
|
|
|||
|
|
@ -92,6 +92,13 @@ class Formula
|
|||
Dir.glob("#{alt_fuse_root}/**/*").each { |f| odebug ">>> #{f}" }
|
||||
end
|
||||
|
||||
def disable_macfuse_extensions
|
||||
ENV.append "CFLAGS", "-DFUSE_DARWIN_ENABLE_EXTENSIONS=0"
|
||||
ENV.append "CPPFLAGS", "-DFUSE_DARWIN_ENABLE_EXTENSIONS=0"
|
||||
ENV.append "CXXFLAGS", "-DFUSE_DARWIN_ENABLE_EXTENSIONS=0"
|
||||
ENV.append "CGO_CPPFLAGS", "-DFUSE_DARWIN_ENABLE_EXTENSIONS=0"
|
||||
end
|
||||
|
||||
def setup_fuse_flags
|
||||
ENV.append "CFLAGS", "-I#{alt_fuse_root}/include"
|
||||
ENV.append "CFLAGS", "-I#{alt_fuse_root}/include/fuse"
|
||||
|
|
@ -110,6 +117,7 @@ class Formula
|
|||
ENV.append "CGO_CPPFLAGS", "-D_FILE_OFFSET_BITS=64"
|
||||
ENV.append "CGO_CPPFLAGS", "-D_USE_FILE_OFFSET_BITS=64"
|
||||
ENV.append "CGO_LDFLAGS", "-L#{alt_fuse_root}/lib"
|
||||
disable_macfuse_extensions
|
||||
odebug "PKG_CONFIG = #{ENV.fetch("PKG_CONFIG", nil)}"
|
||||
odebug "PKG_CONFIG_PATH = #{ENV.fetch("PKG_CONFIG_PATH", nil)}"
|
||||
odebug "CFLAGS = #{ENV.fetch("CFLAGS", nil)}"
|
||||
|
|
@ -130,6 +138,7 @@ class Formula
|
|||
ENV.append "CGO_CPPFLAGS", "-D_FILE_OFFSET_BITS=64"
|
||||
ENV.append "CGO_CPPFLAGS", "-D_USE_FILE_OFFSET_BITS=64"
|
||||
ENV.append "CGO_LDFLAGS", "-L#{alt_fuse_root}/lib"
|
||||
disable_macfuse_extensions
|
||||
odebug "PKG_CONFIG = #{ENV.fetch("PKG_CONFIG", nil)}"
|
||||
odebug "PKG_CONFIG_PATH = #{ENV.fetch("PKG_CONFIG_PATH", nil)}"
|
||||
odebug "CFLAGS = #{ENV.fetch("CFLAGS", nil)}"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue