summaryrefslogtreecommitdiff
path: root/libre/texlive-bin/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'libre/texlive-bin/PKGBUILD')
-rw-r--r--libre/texlive-bin/PKGBUILD32
1 files changed, 23 insertions, 9 deletions
diff --git a/libre/texlive-bin/PKGBUILD b/libre/texlive-bin/PKGBUILD
index 3e98e159e..19189df54 100644
--- a/libre/texlive-bin/PKGBUILD
+++ b/libre/texlive-bin/PKGBUILD
@@ -11,20 +11,23 @@
pkgname=('texlive-bin')
pkgver=2017.44590
-pkgrel=10.parabola1
+pkgrel=11.parabola1
license=('GPL')
arch=('x86_64' 'i686' 'armv7h')
-makedepends=('cairo' 'pixman' 'graphite' 't1lib' 'gd' 'poppler'
+makedepends=('cairo' 'pixman' 'graphite' 't1lib' 'gd'
'libsigsegv' 'zziplib' 'libpng' 'libjpeg' 'freetype2'
- 'icu' 'harfbuzz' 'harfbuzz-icu' 'gmp' 'mpfr' 'potrace' 'libpaper'
+ 'harfbuzz' 'harfbuzz-icu' 'gmp' 'mpfr' 'potrace' 'libpaper'
'perl' 'clisp' 'ffcall')
+makedepends+=('poppler=0.61.1' 'icu>=60' 'icu<61')
url='http://tug.org/texlive/'
-source=("http://mirrors.kernel.org/archlinux/other/texlive/texlive-bin-source-${pkgver}.tar.xz"
+source=("https://sources.archlinux.org/other/texlive/texlive-bin-source-${pkgver}.tar.xz"
"luatex-gcc7.patch"
- "texlive-poppler-0.59.patch")
+ "texlive-poppler-0.59.patch"
+ "pdftex-poppler-0.59.patch")
sha256sums=('4645b4d55fc500ba9be7156a6a330afb44fbf7fda40dfd73fe9cb16d207f2038'
'ee97f3e07e235dee4ad6d0c3e85c2260914c965e94d5ffbf481fa506df5f01ec'
- '76bc0528da33b1f980f85464c95d00736d9997ba7f8d11475c88f03e099e91b0')
+ 'a5204f110f261de989fc21f93a4b5485876ea2d28773bcdc4817b548fd865024'
+ 'acb03b800010c9a1832f1e209e1cf678098bd0c6e5ba12105109d56462808dcc')
prepare() {
cd "$srcdir/source"
@@ -41,11 +44,18 @@ prepare() {
# Poppler 0.58 introduces API changes by hiding internal object
# management.
patch -Np1 -i "${srcdir}/texlive-poppler-0.59.patch"
+ patch -Np1 -i "${srcdir}/pdftex-poppler-0.59.patch"
}
build() {
cd "$srcdir"
+ if [ "${CARCH}" = "armv7h" ]; then
+ local config_xindy="--disable-xindy"
+ else
+ local config_xindy="--enable-xindy"
+ fi
+
#############################################################
### configure
cd source
@@ -94,7 +104,7 @@ build() {
--disable-aleph \
--enable-luatex \
--with-clisp-runtime=default \
- --enable-xindy --disable-xindy-rules --disable-xindy-docs
+ --disable-xindy-rules --disable-xindy-docs "$config_xindy"
#############################################################
### make
echo "-------------------------------------------------------"
@@ -105,10 +115,11 @@ build() {
package_texlive-bin() {
pkgdesc="TeX Live binaries (Parabola rebranded)"
- depends=('cairo' 'pixman' 'graphite' 't1lib' 'gd' 'poppler'
+ depends=('cairo' 'pixman' 'graphite' 't1lib' 'gd'
'libsigsegv' 'zziplib' 'libpng' 'libjpeg' 'freetype2'
- 'icu' 'harfbuzz' 'harfbuzz-icu' 'gmp' 'mpfr' 'potrace' 'libpaper'
+ 'harfbuzz' 'harfbuzz-icu' 'gmp' 'mpfr' 'potrace' 'libpaper'
'libsynctex')
+ depends+=('icu>=60' 'icu<61' 'poppler=0.61.1')
provides=('lcdf-typetools' 'kpathsea' 'xindy')
optdepends=('ed: for texconfig'
'biber: for bibliography processing')
@@ -311,6 +322,9 @@ vpl2vpl
xhlatex
xindy
"
+ if [ "$CARCH" = "armv7h" ]; then
+ _core_scripts="$(echo "$_core_scripts" | sed '/xindy$/d')"
+ fi
_games_scripts="rubikrotation"
_humanities_scripts="diadia"
_langcyrillic_scripts="rubibtex rumakeindex"