mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
media-gfx/mscgen: drop 0.20
Signed-off-by: Petr Vaněk <arkamar@gentoo.org>
This commit is contained in:
@@ -1,47 +0,0 @@
|
||||
# Copyright 1999-2024 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
inherit autotools
|
||||
|
||||
DESCRIPTION="Message sequence chart generator"
|
||||
HOMEPAGE="https://www.mcternan.me.uk/mscgen/"
|
||||
SRC_URI="https://www.mcternan.me.uk/${PN}/software/${PN}-src-${PV}.tar.gz"
|
||||
|
||||
KEYWORDS="amd64 arm arm64 ppc ppc64 ~riscv x86 ~x64-solaris"
|
||||
|
||||
LICENSE="GPL-2+"
|
||||
SLOT="0"
|
||||
IUSE="png truetype"
|
||||
REQUIRED_USE="truetype? ( png )"
|
||||
|
||||
RDEPEND="
|
||||
truetype? ( media-libs/freetype )
|
||||
png? ( media-libs/gd[png,truetype?] )"
|
||||
DEPEND="${RDEPEND}"
|
||||
BDEPEND="
|
||||
app-alternatives/yacc
|
||||
app-alternatives/lex
|
||||
virtual/pkgconfig"
|
||||
|
||||
# Workaround for bug #379279
|
||||
RESTRICT="test"
|
||||
|
||||
src_prepare() {
|
||||
sed -i -e '/dist_doc_DATA/d' Makefile.am || die "Fixing Makefile.am failed"
|
||||
eautoreconf
|
||||
eapply_user
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local myconf
|
||||
|
||||
if use png; then
|
||||
use truetype && myconf="--with-freetype"
|
||||
else
|
||||
myconf="--without-png"
|
||||
fi
|
||||
|
||||
econf ${myconf}
|
||||
}
|
||||
Reference in New Issue
Block a user