Created
September 14, 2018 21:55
-
-
Save PlasmaPower/95b8f09b0f62763ea67888ef8cf260ee to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
16c16 | |
< 'desktop-file-utils' 'hicolor-icon-theme') | |
--- | |
> 'desktop-file-utils' 'hicolor-icon-theme' 'ncurses5-compat-libs') | |
22a23 | |
> options=('!strip') | |
47c48 | |
< [icu]=icu | |
--- | |
> #[icu]=icu # NACL doesn't like this | |
104a106,109 | |
> python2 build/download_nacl_toolchains.py \ | |
> --packages nacl_x86_newlib,pnacl_newlib,pnacl_translator \ | |
> sync --extract | |
> | |
119a125,133 | |
> | |
> # Needed to build NACL | |
> mkdir -p third_party/llvm-build/Release+Asserts/bin | |
> ln -s /usr/bin/clang third_party/llvm-build/Release+Asserts/bin/clang | |
> ln -s /usr/bin/clang++ third_party/llvm-build/Release+Asserts/bin/clang++ | |
> ln -s /usr/bin/ar third_party/llvm-build/Release+Asserts/bin/ar | |
> ln -s /usr/bin/ar third_party/llvm-build/Release+Asserts/bin/llvm-ar | |
> ln -s /usr/bin/nm third_party/llvm-build/Release+Asserts/bin/nm | |
> ln -s /usr/bin/nm third_party/llvm-build/Release+Asserts/bin/llvm-nm | |
135a150 | |
> export PNACLPYTHON=python2 | |
155c170,171 | |
< 'enable_nacl=false' | |
--- | |
> 'enable_nacl=true' | |
> 'enable_nacl_nonsfi=true' | |
211a228,234 | |
> | |
> # Manually strip binaries so that 'nacl_irt_*.nexe' is left intact | |
> strip $STRIP_BINARIES "$pkgdir/usr/lib/chromium/"{chromium,chrome-sandbox,chromedriver} | |
> | |
> cp out/Release/nacl_helper{,_bootstrap} out/Release/nacl_irt_*.nexe \ | |
> "$pkgdir/usr/lib/chromium/" | |
> strip $STRIP_BINARIES "$pkgdir/usr/lib/chromium/"nacl_helper{,_bootstrap} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment