From 75570a0c5f42ae6dbebd2b78b84e4b15b487d01a Mon Sep 17 00:00:00 2001 From: Sam James Date: Fri, 9 Sep 2022 09:59:14 +0200 Subject: media-libs/plib: drop multilib No multilib reverse dependencies. Signed-off-by: Sam James Signed-off-by: David Seifert --- media-libs/plib/plib-1.8.5-r3.ebuild | 43 --------------------------------- media-libs/plib/plib-1.8.5-r4.ebuild | 46 ++++++++++++++++++++++++++++++++++++ 2 files changed, 46 insertions(+), 43 deletions(-) delete mode 100644 media-libs/plib/plib-1.8.5-r3.ebuild create mode 100644 media-libs/plib/plib-1.8.5-r4.ebuild (limited to 'media-libs/plib') diff --git a/media-libs/plib/plib-1.8.5-r3.ebuild b/media-libs/plib/plib-1.8.5-r3.ebuild deleted file mode 100644 index 90f35921162f..000000000000 --- a/media-libs/plib/plib-1.8.5-r3.ebuild +++ /dev/null @@ -1,43 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI="7" -inherit autotools multilib-minimal - -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}-shared-libs.patch - "${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 -} - -multilib_src_configure() { - local myconf=( - --disable-static - --enable-shared - ) - ECONF_SOURCE=${S} econf "${myconf[@]}" -} - -multilib_src_install_all() { - DOCS=( AUTHORS ChangeLog KNOWN_BUGS NOTICE README* TODO* ) - einstalldocs - find "${ED}" -name '*.la' -delete || die -} diff --git a/media-libs/plib/plib-1.8.5-r4.ebuild b/media-libs/plib/plib-1.8.5-r4.ebuild new file mode 100644 index 000000000000..27d275bb8f4a --- /dev/null +++ b/media-libs/plib/plib-1.8.5-r4.ebuild @@ -0,0 +1,46 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit 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}-shared-libs.patch + "${FILESDIR}"/${P}-X11-r1.patch + "${FILESDIR}"/${P}-CVE-2011-4620.patch + "${FILESDIR}"/${P}-CVE-2012-4552.patch +) + +src_prepare() { + default + + eautoreconf +} + +src_configure() { + local myconf=( + --enable-shared + ) + + econf "${myconf[@]}" +} + +src_install() { + default + + dodoc KNOWN_BUGS TODO* NOTICE + + find "${ED}" -name '*.la' -delete || die +} -- cgit v1.2.3-65-gdbad