From bbec0f0272a2a217f43b704bbf529b360c89075e Mon Sep 17 00:00:00 2001 From: Isaac David Date: Tue, 30 Aug 2016 18:51:17 -0500 Subject: libre/texlive-bin: fix armv7h support (remove xindy for armv7h) --- libre/texlive-bin/PKGBUILD | 18 ++++++++++++++++-- 1 file changed, 16 insertions(+), 2 deletions(-) (limited to 'libre/texlive-bin') diff --git a/libre/texlive-bin/PKGBUILD b/libre/texlive-bin/PKGBUILD index 308f89e5d..1a33273ec 100644 --- a/libre/texlive-bin/PKGBUILD +++ b/libre/texlive-bin/PKGBUILD @@ -3,6 +3,7 @@ # Contributor (Arch): francois # Maintainer: Michał Masłowski # Contributor: André Silva +# Contributor: Isaac David pkgname=texlive-bin pkgver=2016.41290 @@ -29,6 +30,12 @@ md5sums=('7303361f2d441eb5c962a996fd77e8fa' build() { cd "$srcdir" + if [ "${CARCH}" = "armv7h" ]; then + local config_xindy="--disable-xindy" + else + local config_xindy="--enable-xindy" + fi + # t4ht expects to be un /usr/share/texmf/bin/t4ht (FS#27251) sed -i s/SELFAUTOPARENT/TEXMFROOT/ source/texk/tex4htk/t4ht.c ############################################################# @@ -81,7 +88,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 "-------------------------------------------------------" @@ -96,7 +103,9 @@ package() { 'libsigsegv' 'zziplib' 'libpng' 'libjpeg' 'freetype2' 'icu=57.1' 'harfbuzz' 'harfbuzz-icu' 'gmp' 'mpfr' 'potrace' 'libpaper' 'libsynctex') - provides=('lcdf-typetools' 'kpathsea' 'xindy') + provides=('lcdf-typetools' 'kpathsea') + provides_i686=('xindy') + provides_x86_64=("${provides_i686[@]}") conflicts=('texlive-bin-libre' 'texlive-bin-parabola') replaces=('texlive-bin-libre' 'texlive-bin-parabola') optdepends=('ed: for texconfig' @@ -286,6 +295,11 @@ vpl2ovp vpl2vpl xindy " + + if [ "$CARCH" = "armv7h" ]; then + _core_scripts="$(echo "$_core_scripts" | sed '/xindy$/d')" + fi + _games_scripts="rubikrotation" _htmlxml_scripts="ht htcontext htlatex htmex httex httexi htxelatex htxetex mk4ht" _humanities_scripts="diadia" -- cgit v1.2.3