summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorPhilip Deljanov2019-08-21 15:22:56 -0400
committerPhilip Deljanov2019-08-21 15:30:57 -0400
commitfc4b1bf6bc145e3818e4cc124e5a925e8f576f6e (patch)
tree14a507309f0ca24525b7afaed56110836ae3ed43 /PKGBUILD
parentd9f61b5a0fd0ef94c04c45fabdfec0f53789c9c0 (diff)
downloadaur-cairo-infinality-remix.tar.gz
Update cairo-infinality-remix to 1.17.2+17+g52a7c79fd-1.
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD19
1 files changed, 10 insertions, 9 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 9d81b07e75b..4db3a90d2e0 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -3,8 +3,8 @@
pkgname=cairo-infinality-remix
_name=cairo
-pkgver=1.16.0
-pkgrel=2
+pkgver=1.17.2+17+g52a7c79fd
+pkgrel=1
pkgdesc="Cairo vector graphics library with Infinality patch support"
arch=(i686 x86_64)
license=('LGPL' 'MPL')
@@ -26,15 +26,16 @@ conflicts=('cairo'
'cairo-ocaml-git'
'cairo-ubuntu')
-source=("git+https://anongit.freedesktop.org/git/cairo#tag=$pkgver"
- 0001-ft-Use-FT_Done_MM_Var-instead-of-free-when-available.patch
+# Arch official upstream version commit
+_commit=52a7c79fd4ff96bb5fac175f0199819b0f8c18fc
+
+source=("git+https://gitlab.freedesktop.org/cairo/cairo.git#commit=$_commit"
cairo-make-lcdfilter-default.patch
cairo-respect-fontconfig_pb.patch
cairo-server-side-gradients.patch
cairo-webkit-html5-fix.patch)
sha256sums=('SKIP'
- '52ab418058076ad01e046ebbbdc834f390305516c222d07de91a93a4dcebe921'
'9d692ffdbb13eaf5a66e7b5821fa6d67f2dbe3629d86d40e44f8bdcf0e6cdc2d'
'3ef17cfd14b3edc14092b5e96fc63673b6b020b7f05adaa59d3c3e4b0cfdde66'
'b80c99b10fd48dbf98abd70ca2d1265ad6035383c47bfbee5e540a814b6d2a23'
@@ -43,9 +44,6 @@ sha256sums=('SKIP'
prepare(){
cd $_name
- # CVE-2018-19876
- patch -Np1 -i "${srcdir}"/0001-ft-Use-FT_Done_MM_Var-instead-of-free-when-available.patch
-
# Infinality patches
patch -Np1 -i "${srcdir}"/cairo-make-lcdfilter-default.patch
patch -Np1 -i "${srcdir}"/cairo-respect-fontconfig_pb.patch
@@ -58,6 +56,9 @@ prepare(){
cp /usr/share/aclocal/gtk-doc.m4 build/aclocal.gtk-doc.m4
cp /usr/share/gtk-doc/data/gtk-doc.make build/Makefile.am.gtk-doc
+ # Fix a typo
+ sed -i 's/have_png/use_png/g' configure.ac
+
NOCONFIGURE=1 ./autogen.sh
}
@@ -74,7 +75,7 @@ build() {
--enable-pdf \
--enable-gobject \
--enable-gtk-doc
- sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
+ sed -i 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
make
}