summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAvatar Timo Gurr <tgurr@exherbo.org> 2019-04-09 09:51:00 +0000
committerAvatar Marc-Antoine Perennou <keruspe@exherbo.org> 2019-04-09 09:51:00 +0000
commit466a7afc6a5e5f1d20f9a5c7fd2ef64eb248f621 (patch)
tree15e500b23ba510ef0a9e67d51e27344c0bc268c0
parent433a12683a14c0ffd9164b5145af78d7142f10ae (diff)
downloadtexlive-466a7afc6a5e5f1d20f9a5c7fd2ef64eb248f621.tar.gz
texlive-466a7afc6a5e5f1d20f9a5c7fd2ef64eb248f621.tar.xz
luatex: version bump to 1.10.0
-rw-r--r--packages/dev-tex/luatex/luatex-1.10.0.exheres-095
1 files changed, 95 insertions, 0 deletions
diff --git a/packages/dev-tex/luatex/luatex-1.10.0.exheres-0 b/packages/dev-tex/luatex/luatex-1.10.0.exheres-0
new file mode 100644
index 0000000..c0a080a
--- /dev/null
+++ b/packages/dev-tex/luatex/luatex-1.10.0.exheres-0
@@ -0,0 +1,95 @@
+# Copyright 2011 Ingmar Vanhassel
+# Copyright 2013 Ingmar Vanhassel
+# Distributed under the terms of the GNU General Public License v2
+# Based in part upon 'luatex-0.65.0.ebuild' which is
+# Copyright 1999-2011 Gentoo Foundation
+
+MY_PV="${PV}-svn7087"
+
+require github [ user=TeX-Live tag=${MY_PV} ] \
+ texlive-common
+
+SUMMARY="An extended version of pdfTeX using Lua as an embedded scripting language"
+DESCRIPTION="
+The LuaTeX projects main objective is to provide an open and configurable variant of TeX while at
+the same time offering downward compatibility.
+"
+HOMEPAGE="http://www.luatex.org/"
+
+LICENCES="GPL-2"
+SLOT="0"
+PLATFORMS="~amd64"
+MYOPTIONS=""
+
+DEPENDENCIES="
+ build:
+ virtual/pkg-config
+ build+run:
+ app-text/poppler
+ dev-libs/kpathsea
+ dev-libs/zziplib
+ media-libs/libpng:=
+ sys-libs/zlib
+ x11-libs/cairo
+ x11-libs/pixman:1
+"
+
+BUGS_TO="thomas@thwitt.de"
+
+WORK="${WORKBASE}/${PN}-${MY_PV}/source/texk/web2c"
+
+DEFAULT_SRC_CONFIGURE_PARAMS=(
+ --enable-luatex
+ --disable-cxx-runtime-hack
+ --disable-all-pkgs
+ --disable-multiplatform
+ --disable-ptex
+ # make: *** No rule to make target 'synctexdir/synctex_parser.c', needed by 'synctexdir/libsynctex_la-synctex_parser.lo'. Stop.
+ # last checked: 1.10.0-svn7087
+ --disable-synctex
+ --disable-tex
+ --disable-mf
+ --disable-ipc
+ --disable-shared
+ --without-mf-x-toolkit
+ --without-x
+
+ --with-system-{gd,kpathsea,libpng,poppler,cairo,pixman,t1lib,teckit,xpdf,zlib,zziplib}
+ --with-kpathsea-includes=/usr/$(exhost --target)/include
+)
+
+DEFAULT_SRC_INSTALL_EXCLUDE=( packaging.c )
+
+src_configure() {
+ default
+
+ edo pushd ../../libs/lua53
+ econf
+ edo popd
+}
+
+src_compile() {
+ emake AR=${AR} luatex
+}
+
+src_install() {
+ # some subdirectories lack an 'install' target, so 'make install' aborts
+ emake install-exec-am DESTDIR="${IMAGE}" bin_PROGRAMS="luatex" # SUBDIRS="" nodist_man_MANS=""
+
+ edo pushd ../../libs/lua53
+ default
+ edo popd
+
+ # these symlinks are handled by texlive-core TODO proper auto-toolisation
+ edo rm "${IMAGE}"/usr/$(exhost --target)/bin/{dvitomp,mfplain,texluajit{,c}}
+
+ emagicdocs
+
+ emake -C man luatex.1
+ doman man/luatex.1
+}
+
+pkg_postinst() {
+ efmtutil-sys
+}
+