--- luatex-0.76.0.ebuild 2014-08-14 21:53:18.598009693 +0200 +++ luatex-0.79.1.ebuild 2014-08-14 22:11:31.809935917 +0200 @@ -10,30 +10,30 @@ DESCRIPTION="An extended version of pdfTeX using Lua as an embedded scripting language" HOMEPAGE="http://www.luatex.org/" SRC_URI=" - http://foundry.supelec.fr/frs/download.php/file/15745/${MY_P}-source.tar.bz2 - http://foundry.supelec.fr/frs/download.php/file/15747/${MY_P}-doc.tar.bz2" + http://foundry.supelec.fr/frs/download.php/file/15762/${MY_P}-source.tar.bz2 + http://foundry.supelec.fr/frs/download.php/file/15763/${MY_P}-doc.tar.bz2" LICENSE="GPL-2" SLOT="0" KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~x86-freebsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" -IUSE="doc" +IUSE="jit doc" RDEPEND="dev-libs/zziplib - >=media-libs/libpng-1.4:0= - >=x11-libs/cairo-1.12 - >x11-libs/pixman-0.18 - app-text/poppler:=[xpdf-headers(+)] - sys-libs/zlib - >=dev-libs/kpathsea-6.1.0_p20120701" + >=media-libs/libpng-1.6.10:= + >=x11-libs/cairo-1.12.16 + >=x11-libs/pixman-0.32.4 + jit? ( >=dev-lua/luajit-2.0.3 ) + >=app-text/poppler-0.25.2:=[xpdf-headers(+)] + >=sys-libs/zlib-1.2.8 + >=dev-libs/kpathsea-6.1.0_p20120701 + >=dev-libs/zziplib-0.13.62" DEPEND="${RDEPEND} virtual/pkgconfig" S="${WORKDIR}/${MY_P}/source" src_prepare() { - has_version '>=app-text/poppler-0.26.0:0' && epatch "${FILESDIR}/poppler026.patch" - epatch "${FILESDIR}/remove-zlib-version-check.patch" \ - "${FILESDIR}/includes.patch" + epatch "${FILESDIR}/remove-zlib-version-check.patch" S="${S}/build-aux" elibtoolize --shallow } @@ -51,41 +51,44 @@ --disable-ptex \ --disable-tex \ --disable-mf \ - --disable-largefile \ + --disable-largefile \ --disable-ipc \ --disable-shared \ --enable-luatex \ --enable-dump-share \ --without-mf-x-toolkit \ --without-x \ - --with-system-kpathsea \ - --with-kpathsea-includes="${EPREFIX}"/usr/include \ + --with-system-kpathsea \ + --with-kpathsea-includes="${EPREFIX}"/usr/include \ --with-system-cairo \ --with-system-pixman \ - --with-system-gd \ - --with-system-libpng \ - --with-system-teckit \ - --with-system-zlib \ - --with-system-t1lib \ + --with-system-gd \ + --with-system-libpng \ + --with-system-teckit \ + --with-system-zlib \ + --with-system-t1lib \ --with-system-xpdf \ --with-system-poppler \ --with-system-zziplib \ --with-system-ptexenc \ - --disable-multiplatform + --disable-multiplatform + + cd "${S}"/libs/lua52 + econf } src_compile() { texk/web2c/luatexdir/getluatexsvnversion.sh || die - cd "${WORKDIR}/${MY_P}/source/texk/web2c" + cd "${WORKDIR}"/${MY_P}/source/texk/web2c emake luatex } src_install() { - cd "${WORKDIR}/${MY_P}/source/texk/web2c" + cd "${WORKDIR}"/${MY_P}/source/texk/web2c emake DESTDIR="${D}" bin_PROGRAMS="luatex" SUBDIRS="" nodist_man_MANS="" \ install-exec-am - dodoc "${WORKDIR}/${MY_P}/README" luatexdir/NEWS + dodoc "${WORKDIR}"/${MY_P}/README{,.luajittex} luatexdir/NEWS cp source/texk/web2c/man cp man/luatex.man "${T}/luatex.1" doman "${T}/luatex.1"