mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
dev-tex/metapost: Remove last-rited pkg
Closes: https://bugs.gentoo.org/733862 Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
@@ -1,2 +0,0 @@
|
||||
DIST metapost-1.803-src.tar.bz2 8140579 BLAKE2B 9232a875da449b8caa667623e725317336d737e16c2d0b2647e9579fad067ea3eae85eb74ae9a05bfb079e7b18edcb18ee7a7c26bbee343b8ecbd6f5ed84ce90 SHA512 7f59e93f73c9f9c6fe547028dd22527c948ea171c235758e1acf9477c85d2fb2cc145b3bd707646a4b5317e57ce5d49160ff347cdecca599b6e0da8a8f679d99
|
||||
DIST metapost-1.902-src.tar.bz2 6170876 BLAKE2B 7b276fb4c9373a8ac43ef4c6c40c8e6c6726e93ab4cb82d4c34371025e448e985d1a5df587f8b108e786542bb1c4852977eaae964dd991824a506dca5eed9f53 SHA512 d1e38d9f6f16b6815999c1d05b70ece50668962660af0800c105075522a2d943156986aa8df76d7bd2b6d04f657295c15a04a6e67772ce1d8546b885c355aea3
|
||||
@@ -1,8 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="project">
|
||||
<email>tex@gentoo.org</email>
|
||||
<name>Gentoo TeX Project</name>
|
||||
</maintainer>
|
||||
</pkgmetadata>
|
||||
@@ -1,73 +0,0 @@
|
||||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=5
|
||||
|
||||
DESCRIPTION="System for producing graphics"
|
||||
HOMEPAGE="http://tug.org/metapost.html"
|
||||
SRC_URI="https://foundry.supelec.fr/frs/download.php/file/15750/${P}-src.tar.bz2"
|
||||
|
||||
LICENSE="GPL-2 LGPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND=">=dev-libs/kpathsea-6.1.0_p20120701
|
||||
>=app-eselect/eselect-mpost-0.3
|
||||
>=x11-libs/cairo-1.12
|
||||
>x11-libs/pixman-0.18
|
||||
media-libs/libpng:0="
|
||||
DEPEND="${RDEPEND}
|
||||
virtual/pkgconfig"
|
||||
|
||||
S=${WORKDIR}/${P}/source/texk/web2c
|
||||
|
||||
src_configure() {
|
||||
econf \
|
||||
--disable-all-pkgs \
|
||||
--enable-shared \
|
||||
--disable-largefile \
|
||||
--disable-ptex \
|
||||
--enable-mp \
|
||||
--with-system-cairo \
|
||||
--with-system-libpng \
|
||||
--without-ptexenc \
|
||||
--with-system-kpathsea \
|
||||
--with-system-xpdf \
|
||||
--with-system-freetype \
|
||||
--with-system-freetype2 \
|
||||
--with-system-gd \
|
||||
--with-system-teckit \
|
||||
--with-system-t1lib \
|
||||
--with-system-icu \
|
||||
--with-system-graphite \
|
||||
--with-system-zziplib \
|
||||
--with-system-poppler \
|
||||
--with-system-zlib \
|
||||
--with-system-pixman \
|
||||
--disable-native-texlive-build \
|
||||
--without-mf-x-toolkit --without-x
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
emake mpost
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${D}" \
|
||||
SUBDIRS="" \
|
||||
bin_PROGRAMS="mpost" \
|
||||
nodist_man_MANS="" \
|
||||
dist_man_MANS="" \
|
||||
install-binPROGRAMS
|
||||
# Rename it
|
||||
mv "${D}/usr/bin/mpost" "${D}/usr/bin/mpost-${P}" || die "renaming failed"
|
||||
|
||||
cd "${WORKDIR}/${P}"
|
||||
dodoc README CHANGES
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
einfo "Calling eselect mpost update"
|
||||
eselect mpost update
|
||||
}
|
||||
@@ -1,76 +0,0 @@
|
||||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=5
|
||||
|
||||
inherit flag-o-matic toolchain-funcs
|
||||
|
||||
DESCRIPTION="System for producing graphics"
|
||||
HOMEPAGE="http://tug.org/metapost.html"
|
||||
SRC_URI="https://foundry.supelec.fr/frs/download.php/file/15766/${P}-src.tar.bz2"
|
||||
|
||||
LICENSE="GPL-2 LGPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND=">=dev-libs/kpathsea-6.1.0_p20120701
|
||||
>=app-eselect/eselect-mpost-0.3
|
||||
>=x11-libs/cairo-1.12
|
||||
>x11-libs/pixman-0.18
|
||||
media-libs/libpng:0="
|
||||
DEPEND="${RDEPEND}
|
||||
virtual/pkgconfig"
|
||||
|
||||
S=${WORKDIR}/${P}/source/texk/web2c
|
||||
|
||||
src_configure() {
|
||||
has_version '>=dev-libs/kpathsea-6.2.1' && append-cppflags "$($(tc-getPKG_CONFIG) --cflags kpathsea)"
|
||||
econf \
|
||||
--disable-all-pkgs \
|
||||
--enable-shared \
|
||||
--disable-largefile \
|
||||
--disable-ptex \
|
||||
--enable-mp \
|
||||
--with-system-cairo \
|
||||
--with-system-libpng \
|
||||
--without-ptexenc \
|
||||
--with-system-kpathsea \
|
||||
--with-system-xpdf \
|
||||
--with-system-freetype \
|
||||
--with-system-freetype2 \
|
||||
--with-system-gd \
|
||||
--with-system-teckit \
|
||||
--with-system-t1lib \
|
||||
--with-system-icu \
|
||||
--with-system-graphite \
|
||||
--with-system-zziplib \
|
||||
--with-system-poppler \
|
||||
--with-system-zlib \
|
||||
--with-system-pixman \
|
||||
--disable-native-texlive-build \
|
||||
--without-mf-x-toolkit --without-x
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
emake mpost
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${D}" \
|
||||
SUBDIRS="" \
|
||||
bin_PROGRAMS="mpost" \
|
||||
nodist_man_MANS="" \
|
||||
dist_man_MANS="" \
|
||||
install-binPROGRAMS
|
||||
# Rename it
|
||||
mv "${D}/usr/bin/mpost" "${D}/usr/bin/mpost-${P}" || die "renaming failed"
|
||||
|
||||
cd "${WORKDIR}/${P}"
|
||||
dodoc README CHANGES
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
einfo "Calling eselect mpost update"
|
||||
eselect mpost update
|
||||
}
|
||||
@@ -788,7 +788,6 @@ app-dicts/sword-WEB
|
||||
# unmaintained and had its last version bump in 2015.
|
||||
# Use app-text/texlive-core as replacement.
|
||||
# Removal in 30 days. Bug #733862.
|
||||
dev-tex/metapost
|
||||
app-eselect/eselect-mpost
|
||||
|
||||
# Hans de Graaff <graaff@gentoo.org> (2020-07-22)
|
||||
|
||||
Reference in New Issue
Block a user