summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorJan Alexander Steffens (heftig)2018-08-26 08:27:21 +0200
committerJan Alexander Steffens (heftig)2018-08-26 08:27:21 +0200
commit1ff1d54c88f0d83f30f6f9df37b4163c2e86cdfa (patch)
treeb4eeefcfedf999188a50bb855609e5547c920c65
parentfb5e3f3b41de4bc00064cf4a17f78784b29c551e (diff)
downloadaur-1ff1d54c88f0d83f30f6f9df37b4163c2e86cdfa.tar.gz
Fix docs build
-rw-r--r--.SRCINFO10
-rw-r--r--PKGBUILD8
2 files changed, 10 insertions, 8 deletions
diff --git a/.SRCINFO b/.SRCINFO
index bd509cea931..838f6fe5d8d 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,6 +1,6 @@
pkgbase = freetype2-git
pkgdesc = Font rasterization library (from git)
- pkgver = 2.9.1+p48+gcc6267722
+ pkgver = 2.9.1+p197+gb287c80b6
pkgrel = 1
epoch = 1
url = https://www.freetype.org/
@@ -9,7 +9,7 @@ pkgbase = freetype2-git
license = GPL
makedepends = libx11
makedepends = git
- makedepends = python2
+ makedepends = python2-pip
depends = zlib
depends = bzip2
depends = sh
@@ -36,7 +36,7 @@ pkgbase = freetype2-git
pkgname = freetype2-git
install = freetype2.install
provides = libfreetype.so
- provides = freetype2=2.9.1+p48+gcc6267722
+ provides = freetype2=2.9.1+p197+gb287c80b6
conflicts = freetype2
backup = etc/profile.d/freetype2.sh
@@ -44,12 +44,12 @@ pkgname = freetype2-demos-git
pkgdesc = Freetype tools and demos (from git)
depends = freetype2-git
depends = libx11
- provides = freetype2-demos=2.9.1+p48+gcc6267722
+ provides = freetype2-demos=2.9.1+p197+gb287c80b6
conflicts = freetype2-demos
pkgname = freetype2-docs-git
pkgdesc = Freetype documentation (from git)
depends = freetype2-git
- provides = freetype2-docs=2.9.1+p48+gcc6267722
+ provides = freetype2-docs=2.9.1+p197+gb287c80b6
conflicts = freetype2-docs
diff --git a/PKGBUILD b/PKGBUILD
index 5f8498c60a4..29c4bf1a8bf 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -3,7 +3,7 @@
pkgbase=freetype2-git
pkgname=('freetype2-git' 'freetype2-demos-git' 'freetype2-docs-git')
-pkgver=2.9.1+p48+gcc6267722
+pkgver=2.9.1+p197+gb287c80b6
pkgrel=1
epoch=1
pkgdesc="Font rasterization library (from git)"
@@ -13,7 +13,7 @@ url="https://www.freetype.org/"
# adding harfbuzz for improved OpenType features auto-hinting
# introduces a cycle dep to harfbuzz depending on freetype wanted by upstream
depends=('zlib' 'bzip2' 'sh' 'libpng' 'harfbuzz')
-makedepends=('libx11' 'git' 'python2')
+makedepends=('libx11' 'git' 'python2-pip')
source=(git://git.sv.gnu.org/freetype/freetype2.git
git://git.sv.gnu.org/freetype/freetype2-demos.git
0001-Enable-table-validation-modules.patch
@@ -46,6 +46,8 @@ prepare() {
mkdir path
ln -s /usr/bin/python2 path/python
+ pip2 install --user docwriter
+
cd freetype2
patch -Np1 -i ../0001-Enable-table-validation-modules.patch
patch -Np1 -i ../0002-Enable-infinality-subpixel-hinting.patch
@@ -68,7 +70,7 @@ build() {
make
# Build docs
- PATH="$srcdir/path:$PATH" make refdoc
+ PATH="$srcdir/path:$HOME/.local/bin:$PATH" make refdoc
# Build demos
cd ../freetype2-demos