aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--chromium/chromium/chromium.spec15
1 files changed, 14 insertions, 1 deletions
diff --git a/chromium/chromium/chromium.spec b/chromium/chromium/chromium.spec
index 6ca24bf..0e9949a 100644
--- a/chromium/chromium/chromium.spec
+++ b/chromium/chromium/chromium.spec
@@ -55,7 +55,7 @@
%bcond_without require_clang
Name: chromium
-Version: 59.0.3071.109
+Version: 59.0.3071.115
Release: 100%{?dist}
Summary: An open-source project that aims to build a safer, faster, and more stable browser
@@ -82,6 +82,11 @@ Source1: chromium-latest.py
Source2: chromium-ffmpeg-clean.sh
Source3: chromium-ffmpeg-free-sources.py
+# Upstream source tarball doesn't include third_party/freetype/src directory
+# https://git.archlinux.org/svntogit/packages.git/commit/trunk?h=packages/chromium&id=b1ce01f
+# https://groups.google.com/a/chromium.org/d/msg/chromium-packagers/wuInaKJkosg/kMfIV_7wDgAJ
+Source4: https://chromium.googlesource.com/chromium/src/third_party/freetype2/+archive/5a3490e054bda8a318ebde482c7fb30213cab3d9.tar.gz
+
# The following two source files are copied and modified from
# https://repos.fedorapeople.org/repos/spot/chromium/
Source10: chromium-browser.sh
@@ -207,6 +212,10 @@ Provides: chromium-libs, chromium-libs-media, chromedriver
%prep
%autosetup -p1
+# Add missing source files from a git checkout
+mkdir third_party/freetype/src
+tar -xf %{SOURCE4} -C third_party/freetype/src
+
./build/linux/unbundle/remove_bundled_libraries.py --do-remove \
base/third_party/dmg_fp \
base/third_party/dynamic_annotations \
@@ -562,6 +571,10 @@ gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
%changelog
+* Tue Jun 27 2017 - Ting-Wei Lan <lantw44@gmail.com> - 59.0.3071.115-100
+- Update to 59.0.3071.115
+- Workaround missing third_party/freetype/src directory
+
* Wed Jun 21 2017 - Ting-Wei Lan <lantw44@gmail.com> - 59.0.3071.109-100
- Update to 59.0.3071.109