diff options
author | sL1pKn07 | 2017-02-15 00:41:33 +0100 |
---|---|---|
committer | sL1pKn07 | 2017-02-15 00:41:33 +0100 |
commit | dfe262d62d96f759c56f9e1bb85c51a3a00e0e4c (patch) | |
tree | 803fe80af62115d8779db06d9f7304edac804663 /PKGBUILD | |
parent | 98d09f4241acf3328bd49b5e0c03750add504582 (diff) | |
download | aur-dfe262d62d96f759c56f9e1bb85c51a3a00e0e4c.tar.gz |
Subete ga F ni Naru
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 15 |
1 files changed, 8 insertions, 7 deletions
@@ -44,6 +44,7 @@ depends=('jsoncpp' # 'protobuf' # 'libevent' 'ffmpeg' +# 'icu' # https://crbug.com/678661 ) makedepends=('libexif' 'elfutils' @@ -340,7 +341,7 @@ _use_system=( 'ffmpeg' 'flac' 'harfbuzz-ng' -# 'icu' +# 'icu' # https://crbug.com/678661 # 'libevent' # Get segfaults and other problems https://bugs.gentoo.org/593458 'libjpeg' 'libpng' @@ -361,13 +362,14 @@ if [ "${_debug_mode}" = "1" ]; then ) fi +# https://crbug.com/678661 if [ "${_build_nacl}" = "1" ]; then _keeplibs+=( 'third_party/icu' # https://crbug.com/678661 ) elif [ "${_build_nacl}" = "0" ]; then - depends+=('icu') - _use_system+=('icu') + depends+=('icu') + _use_system+=('icu') fi ################################################ @@ -381,7 +383,7 @@ prepare() { # Set Python2 path. mkdir -p python-path - ln -s /usr/bin/python2 "${srcdir}/python-path/python" + ln -sf /usr/bin/python2 "${srcdir}/python-path/python" export PATH="${srcdir}/python-path:$PATH" cd "chromium-${pkgver}" @@ -423,7 +425,7 @@ prepare() { # Setup nodejs dependency mkdir -p third_party/node/linux/node-linux-x64/bin/ - ln -s /usr/bin/node third_party/node/linux/node-linux-x64/bin/node + ln -sf /usr/bin/node third_party/node/linux/node-linux-x64/bin/node # Try to fix libpng errors. msg2 "Attempt for fix libpng errors" @@ -461,7 +463,6 @@ prepare() { msg2 "Update libaddressinput strings." python2 third_party/libaddressinput/chromium/tools/update-strings.py - if [ "${_build_nacl}" = "1" ]; then msg2 "Setup NaCl/PNaCl SDK: Download and install NaCl/PNaCl toolchains" python2 build/download_nacl_toolchains.py --packages nacl_x86_newlib,pnacl_newlib,pnacl_translator sync --extract @@ -544,7 +545,7 @@ package() { install -Dm644 chrome.1 "${pkgdir}/usr/share/man/man1/chromium-dev.1" install -Dm4755 chrome_sandbox "${pkgdir}/usr/lib/chromium-dev/chrome-sandbox" install -Dm755 chromedriver "${pkgdir}/usr/lib/chromium-dev/chromedriver" - ln -s /usr/lib/chromium-dev/chromedriver "${pkgdir}/usr/bin/chromedriver-dev" + ln -sf /usr/lib/chromium-dev/chromedriver "${pkgdir}/usr/bin/chromedriver-dev" # Install libs. install -Dm755 libclearkeycdm.so "${pkgdir}/usr/lib/chromium-dev/libclearkeycdm.so" |