1 # Copyright 1999-2019 Gentoo Authors
2 # Distributed under the terms of the GNU General Public License v2
8 DESCRIPTION="Playlist handling library"
9 HOMEPAGE="http://libspiff.sourceforge.net/"
10 SRC_URI="mirror://sourceforge/libspiff/${P}.tar.bz2"
12 LICENSE="BSD LGPL-2.1"
14 KEYWORDS="amd64 ppc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~x86-solaris"
15 IUSE="static-libs test"
16 RESTRICT="!test? ( test )"
20 >=dev-libs/uriparser-0.7.5"
23 test? ( >=dev-util/cpptest-1.1 )"
25 DOCS=( AUTHORS ChangeLog NEWS README THANKS )
28 "${FILESDIR}"/${P}-gcc44.patch
29 "${FILESDIR}"/${P}-gcc47.patch
36 # do not install missing files
37 sed -e 's/gif,//' -i doc/Makefile* \
38 -i bindings/c/doc/Makefile* || die "sed failed"
44 $(use_enable static-libs static) \
50 find "${D}" -name '*.la' -delete || die