mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2025-01-17 23:34:07 +00:00
extra/chromium to 25.0.1364.97-1
This commit is contained in:
parent
a6a6e25329
commit
1940fb7e97
2 changed files with 22 additions and 3 deletions
|
@ -15,14 +15,14 @@
|
|||
buildarch=4
|
||||
|
||||
pkgname=chromium
|
||||
pkgver=24.0.1312.70
|
||||
pkgver=25.0.1364.97
|
||||
pkgrel=1
|
||||
pkgdesc="The open-source project behind Google Chrome, an attempt at creating a safer, faster, and more stable browser"
|
||||
arch=('i686' 'x86_64')
|
||||
url="http://www.chromium.org/"
|
||||
license=('BSD')
|
||||
depends=('gtk2' 'nss' 'alsa-lib' 'xdg-utils' 'bzip2' 'libevent' 'libxss'
|
||||
'libgcrypt' 'ttf-font' 'udev' 'dbus' 'desktop-file-utils'
|
||||
'libgcrypt' 'ttf-font' 'udev' 'dbus' 'harfbuzz' 'desktop-file-utils'
|
||||
'hicolor-icon-theme')
|
||||
makedepends=('python2' 'perl' 'gperf' 'yasm' 'mesa' 'libgnome-keyring'
|
||||
'elfutils' 'subversion')
|
||||
|
@ -38,14 +38,16 @@ source=(http://commondatastorage.googleapis.com/chromium-browser-official/$pkgna
|
|||
chromium.default
|
||||
chromium.sh
|
||||
chromium-20.0.1132.57-glib-2.16-use-siginfo_t.patch
|
||||
chromium-system-libpng-r0.patch
|
||||
chromium-ppapi-r0.patch
|
||||
chromium-no-pnacl-r0.patch)
|
||||
sha256sums=('d87dce37293f619bb0c5898ffef214b0d1d6e06963da98a0f551709a5debe207'
|
||||
sha256sums=('15be31be9614c68b0bc3efc594eea65942a7bb433819736279a60ac4228313e5'
|
||||
'09bfac44104f4ccda4c228053f689c947b3e97da9a4ab6fa34ce061ee83d0322'
|
||||
'478340d5760a9bd6c549e19b1b5d1c5b4933ebf5f8cfb2b3e2d70d07443fe232'
|
||||
'4999fded897af692f4974f0a3e3bbb215193519918a1fa9b31ed51e74a2dccb9'
|
||||
'c1baf14121502efbc2a31b64029dcafa0e28ca5b71ad0e28a3c6342d18198615'
|
||||
'9fd5cb18b109e172e6244456ba265c343460537d6acc0eb5c3def6ebc8272056'
|
||||
'd0a8b8f5b3d25be4bd2f060422c467dc827997a0b69dfc34a6d18dc9d2f36868'
|
||||
'1f4b57670d317959bc2dc60e5d2a44aa8fc6028f7ed540cdb502fa0aa99c81bd'
|
||||
'44061e1648ac4674ad0b9990c265c96c33de435679f6854e4b54a421d81cbe6c')
|
||||
|
||||
|
@ -55,6 +57,11 @@ build() {
|
|||
# Fix build with glibc 2.16
|
||||
patch -Np1 -i "$srcdir/chromium-20.0.1132.57-glib-2.16-use-siginfo_t.patch"
|
||||
|
||||
# Fix compilation against system libpng (patch from Gentoo)
|
||||
patch -Np0 -i "$srcdir/chromium-system-libpng-r0.patch"
|
||||
# It somehow still manages to build against bundled libpng
|
||||
find third_party/libpng -type f -not -iname '*.gyp*' -delete
|
||||
|
||||
# Fix build without NaCl glibc toolchain (patch from Gentoo)
|
||||
patch -Np0 -i "$srcdir/chromium-ppapi-r0.patch"
|
||||
|
||||
|
@ -91,6 +98,7 @@ build() {
|
|||
-Dproprietary_codecs=1 \
|
||||
-Duse_system_bzip2=1 \
|
||||
-Duse_system_ffmpeg=0 \
|
||||
-Duse_system_harfbuzz=1 \
|
||||
-Duse_system_libevent=1 \
|
||||
-Duse_system_libjpeg=1 \
|
||||
-Duse_system_libpng=1 \
|
||||
|
|
11
extra/chromium/chromium-system-libpng-r0.patch
Normal file
11
extra/chromium/chromium-system-libpng-r0.patch
Normal file
|
@ -0,0 +1,11 @@
|
|||
--- build/shim_headers.gypi.orig 2012-12-20 02:51:12.000000000 +0100
|
||||
+++ build/shim_headers.gypi 2012-12-20 02:51:40.000000000 +0100
|
||||
@@ -10,7 +10,7 @@
|
||||
|
||||
{
|
||||
'variables': {
|
||||
- 'shim_headers_path': '<(INTERMEDIATE_DIR)/shim_headers',
|
||||
+ 'shim_headers_path': '<(SHARED_INTERMEDIATE_DIR)/shim_headers/<(_target_name)',
|
||||
},
|
||||
'direct_dependent_settings': {
|
||||
'include_dirs+': [
|
Loading…
Reference in a new issue