1 # Copyright 1999-2020 Gentoo Authors
2 # Distributed under the terms of the GNU General Public License v2
7 DESCRIPTION="A library of code shared between tuxmath and tuxtype"
8 HOMEPAGE="https://github.com/tux4kids/t4kcommon"
9 SRC_URI="https://github.com/tux4kids/t4kcommon/archive/upstream/${PV}.tar.gz -> ${P}.tar.gz"
14 IUSE="static-libs svg"
16 RDEPEND="dev-libs/libxml2:2
31 S=${WORKDIR}/t4kcommon-upstream-${PV}
34 epatch "${FILESDIR}"/${P}-libpng.patch
39 $(usex svg "" "--without-rsvg") \
40 $(use_enable static-libs static)
45 use static-libs || prune_libtool_files --all