1 # Copyright 1999-2018 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
5 inherit flag-o-matic autotools
7 DESCRIPTION="multimedia library used by many games"
8 HOMEPAGE="http://plib.sourceforge.net/"
9 SRC_URI="http://plib.sourceforge.net/dist/${P}.tar.gz"
13 KEYWORDS="~alpha ~amd64 ~hppa ~ppc ~sparc ~x86"
15 DEPEND="virtual/opengl"
19 "${FILESDIR}"/${P}-X11-r1.patch
20 "${FILESDIR}"/${P}-CVE-2011-4620.patch
21 "${FILESDIR}"/${P}-CVE-2012-4552.patch
27 mv configure.in configure.ac || die
31 # Since plib only provides static libraries, force
32 # building as PIC or plib is useless to amd64/etc...
37 DOCS=( AUTHORS ChangeLog KNOWN_BUGS NOTICE README* TODO* )