Open dzirtusss opened 1 year ago
@dzirtusss Thank you, I will include it in the README.
Regarding the issues you faced:
/usr/local is a hardcoded path in configure
Have you tried using ./configure --prefix=/opt/homebrew
?
gmake is not able to cleanly build Makefile in parallel
You are right, there are dependency issues in the Makefile. However, even when I fix them, it still fails to build in parallel. The inner invocations of cmake to compile brotli and boringssl fail with various weird errors. I still couldn't figure out what exactly happens there.
Repo still fails to build on Mac m1, so thanks for putting this together as an alternative!
Have made unofficial
tap
homebrew reciept forcurl-impersonate
. Can be run as follows:https://github.com/shakacode/homebrew-brew/blob/main/Formula/curl-impersonate.rb
Will keep it updating as time allows, but no promises. As well, will be happy if gem mainters can take on it and make officially supported 😉
P.S. only
chrome
version atm, as I don't need FF and don't want to pollute with python code.@lwthiker just FYI some minor technical issues on ^^^:
/usr/local
is a hardcoded path inconfigure
. Will be nice if it can be env var as homebrew installs packages to/opt/homebrew
on M1. Atm, had to patch.gmake
is not able to cleanly buildMakefile
in parallel (which is a default mode in homebrew). Replicatable withgmake clean && gmake -j 8 chrome-build
. Mostly happens because download task is not finished but say patching task is started. Atm, stick to single-thread build.