From e56770117e603f707a0d93cac76eda2f5ef60867 Mon Sep 17 00:00:00 2001 From: Sam James Date: Sat, 14 Aug 2021 03:40:14 +0100 Subject: dev-libs/ptexenc: subscribe to dev-libs/kpathsea:= subslot Signed-off-by: Sam James --- dev-libs/ptexenc/ptexenc-1.3.9_p20210325-r1.ebuild | 48 ++++++++++++++++++++++ dev-libs/ptexenc/ptexenc-1.3.9_p20210325.ebuild | 48 ---------------------- 2 files changed, 48 insertions(+), 48 deletions(-) create mode 100644 dev-libs/ptexenc/ptexenc-1.3.9_p20210325-r1.ebuild delete mode 100644 dev-libs/ptexenc/ptexenc-1.3.9_p20210325.ebuild (limited to 'dev-libs/ptexenc') diff --git a/dev-libs/ptexenc/ptexenc-1.3.9_p20210325-r1.ebuild b/dev-libs/ptexenc/ptexenc-1.3.9_p20210325-r1.ebuild new file mode 100644 index 000000000000..5da28cacc4ee --- /dev/null +++ b/dev-libs/ptexenc/ptexenc-1.3.9_p20210325-r1.ebuild @@ -0,0 +1,48 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit libtool + +DESCRIPTION="Library for Japanese pTeX providing a better way of handling character encodings" +HOMEPAGE="http://tutimura.ath.cx/ptexlive/?ptexenc" +SRC_URI="https://dev.gentoo.org/~zlogene/distfiles/texlive/texlive-${PV#*_p}-source.tar.xz" +S="${WORKDIR}/texlive-${PV#*_p}-source/texk/${PN}" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~ppc-macos ~x64-macos" +IUSE="iconv" + +DEPEND=" + dev-libs/kpathsea:= + iconv? ( virtual/libiconv )" +RDEPEND="${DEPEND}" + +src_prepare() { + default + + # https://bugs.gentoo.org/show_bug.cgi?id=377141 + sed -i '/^LIBS/s:@LIBS@:@LIBS@ @KPATHSEA_LIBS@:' Makefile.in || die + + cd "${WORKDIR}/texlive-${PV#*_p}-source" || die + S="${WORKDIR}/texlive-${PV#*_p}-source" elibtoolize #sane .so versionning on gfbsd +} + +src_configure() { + econf \ + --disable-static \ + --with-system-kpathsea \ + $(use_enable iconv kanji-iconv) +} + +src_install() { + default + + insinto /usr/include/ptexenc + doins ptexenc/unicode-jp.h + use iconv && doins ptexenc/kanjicnv.h + + find "${ED}" -name '*.la' -delete || die +} diff --git a/dev-libs/ptexenc/ptexenc-1.3.9_p20210325.ebuild b/dev-libs/ptexenc/ptexenc-1.3.9_p20210325.ebuild deleted file mode 100644 index 4226eb4c86a9..000000000000 --- a/dev-libs/ptexenc/ptexenc-1.3.9_p20210325.ebuild +++ /dev/null @@ -1,48 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -inherit libtool - -DESCRIPTION="Library for Japanese pTeX providing a better way of handling character encodings" -HOMEPAGE="http://tutimura.ath.cx/ptexlive/?ptexenc" -SRC_URI="https://dev.gentoo.org/~zlogene/distfiles/texlive/texlive-${PV#*_p}-source.tar.xz" -S="${WORKDIR}/texlive-${PV#*_p}-source/texk/${PN}" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~ppc-macos ~x64-macos" -IUSE="iconv" - -DEPEND=" - dev-libs/kpathsea - iconv? ( virtual/libiconv )" -RDEPEND="${DEPEND}" - -src_prepare() { - default - - # https://bugs.gentoo.org/show_bug.cgi?id=377141 - sed -i '/^LIBS/s:@LIBS@:@LIBS@ @KPATHSEA_LIBS@:' Makefile.in || die - - cd "${WORKDIR}/texlive-${PV#*_p}-source" || die - S="${WORKDIR}/texlive-${PV#*_p}-source" elibtoolize #sane .so versionning on gfbsd -} - -src_configure() { - econf \ - --disable-static \ - --with-system-kpathsea \ - $(use_enable iconv kanji-iconv) -} - -src_install() { - default - - insinto /usr/include/ptexenc - doins ptexenc/unicode-jp.h - use iconv && doins ptexenc/kanjicnv.h - - find "${ED}" -name '*.la' -delete || die -} -- cgit v1.2.3-65-gdbad