Install this version:
emerge -a =sci-libs/gts-20121130
If this version is masked, you can unmask it using the autounmask tool or standard emerge options:
autounmask =sci-libs/gts-20121130
Or alternatively:
emerge --autounmask-write -a =sci-libs/gts-20121130
| Version | EAPI | Keywords | Slot |
|---|---|---|---|
| 20121130 | 7 | amd64 arm64 ~hppa ~loong ~m68k ~mips ~ppc ppc64 ~riscv ~x86 | 0 |
# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
inherit autotools
MY_P=${P/-20/-snapshot-}
DESCRIPTION="GNU Triangulated Surface Library"
HOMEPAGE="http://gts.sourceforge.net/"
SRC_URI="http://gts.sourceforge.net/tarballs/${MY_P}.tar.gz"
S="${WORKDIR}/${MY_P}"
LICENSE="LGPL-2"
SLOT="0"
KEYWORDS="amd64 arm64 ~hppa ~loong ~m68k ~mips ~ppc ppc64 ~riscv ~x86"
IUSE="doc test"
RESTRICT="test" # bug #277165
RDEPEND="dev-libs/glib:2"
DEPEND="${RDEPEND}"
BDEPEND="
virtual/pkgconfig
doc? ( dev-util/gtk-doc )
test? ( media-libs/netpbm )"
PATCHES=( "${FILESDIR}"/${PN}-20121130-autotools.patch )
src_prepare() {
default
# fix doc generation (bug #727536)
sed -i 's/\xe9/\xc3\xa9/;s/\xf6/\xc3\xb6/' src/*.{c,h} || die
# allow to run tests (bug #277165)
chmod +x test/*/*.sh || die
eautoreconf
}
src_configure() {
econf --disable-static
}
src_compile() {
default
if use doc; then
emake DOC_MAIN_SGML_FILE=gts-docs.xml -C doc html
HTML_DOCS=( doc/html/. )
fi
}
src_install() {
default
docinto examples
dodoc examples/*.c
find "${ED}" -name '*.la' -delete || die
}
Manage flags for this package:
euse -i <flag> -p sci-libs/gts |
euse -E <flag> -p sci-libs/gts |
euse -D <flag> -p sci-libs/gts
dev-libs/glib:2
dev-libs/glib:2
virtual/pkgconfig doc? ( dev-util/gtk-doc ) test? ( media-libs/netpbm )
| Type | File | Size | Source URLs |
|---|---|---|---|
| DIST | gts-snapshot-121130.tar.gz | 880569 bytes | http://gts.sourceforge.net/tarballs/gts-snapshot-121130.tar.gz |