diff options
author | Thomas Deutschmann <whissi@gentoo.org> | 2018-02-23 22:52:17 +0100 |
---|---|---|
committer | Thomas Deutschmann <whissi@gentoo.org> | 2018-02-23 22:52:35 +0100 |
commit | 580a0c9b651324a8bb00c3b103fb484af35ea798 (patch) | |
tree | f38eae3a3c2299b75280b12b9ef175b636649a1c /media-libs | |
parent | media-libs/plib: Fix patch naming (diff) | |
download | gentoo-580a0c9b651324a8bb00c3b103fb484af35ea798.tar.gz gentoo-580a0c9b651324a8bb00c3b103fb484af35ea798.tar.bz2 gentoo-580a0c9b651324a8bb00c3b103fb484af35ea798.zip |
media-libs/plib: Rev bump to bump EAPI to EAPI=6
Package-Manager: Portage-2.3.24, Repoman-2.3.6
Diffstat (limited to 'media-libs')
-rw-r--r-- | media-libs/plib/files/plib-1.8.5-X11-r1.patch | 11 | ||||
-rw-r--r-- | media-libs/plib/plib-1.8.5-r2.ebuild | 40 |
2 files changed, 51 insertions, 0 deletions
diff --git a/media-libs/plib/files/plib-1.8.5-X11-r1.patch b/media-libs/plib/files/plib-1.8.5-X11-r1.patch new file mode 100644 index 000000000000..7c19d15c370d --- /dev/null +++ b/media-libs/plib/files/plib-1.8.5-X11-r1.patch @@ -0,0 +1,11 @@ +--- a/configure.in ++++ b/configure.in +@@ -276,7 +276,7 @@ + + LDFLAGS="$LDFLAGS $X_LIBS" + +- LIBS="$LIBS $X_PRE_LIBS -lXi -lXmu -lXext -lX11 $X_EXTRA_LIBS -lm" ++ LIBS="$LIBS $X_PRE_LIBS -lX11 $X_EXTRA_LIBS -lm" + + dnl ========================================================= + dnl if test "x$x_includes" != "x"; then diff --git a/media-libs/plib/plib-1.8.5-r2.ebuild b/media-libs/plib/plib-1.8.5-r2.ebuild new file mode 100644 index 000000000000..d3ca9fa91384 --- /dev/null +++ b/media-libs/plib/plib-1.8.5-r2.ebuild @@ -0,0 +1,40 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI="6" +inherit flag-o-matic autotools + +DESCRIPTION="multimedia library used by many games" +HOMEPAGE="http://plib.sourceforge.net/" +SRC_URI="http://plib.sourceforge.net/dist/${P}.tar.gz" + +LICENSE="LGPL-2" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~hppa ~ppc ~sparc ~x86" + +DEPEND="virtual/opengl" +RDEPEND=${DEPEND} + +PATCHES=( + "${FILESDIR}"/${P}-X11-r1.patch + "${FILESDIR}"/${P}-CVE-2011-4620.patch + "${FILESDIR}"/${P}-CVE-2012-4552.patch +) + +src_prepare() { + default + + mv configure.in configure.ac || die + + eautoreconf + + # Since plib only provides static libraries, force + # building as PIC or plib is useless to amd64/etc... + append-flags -fPIC +} + +src_install() { + DOCS=( AUTHORS ChangeLog KNOWN_BUGS NOTICE README* TODO* ) + + default +} |