summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAaron Bauman <bman@gentoo.org>2018-03-23 19:54:38 -0400
committerAaron Bauman <bman@gentoo.org>2018-03-23 19:55:20 -0400
commitb469ec2d931fcc7c2f7549e11ed413db1efb9e12 (patch)
tree0ad3b3793cf120bed5f7eaeaa489e5cc838fa736 /media-sound/lame/lame-3.99.5-r1.ebuild
parentdev-qt/qtspeech: avoid bogus dependency (diff)
downloadgentoo-b469ec2d931fcc7c2f7549e11ed413db1efb9e12.tar.gz
gentoo-b469ec2d931fcc7c2f7549e11ed413db1efb9e12.tar.bz2
gentoo-b469ec2d931fcc7c2f7549e11ed413db1efb9e12.zip
media-sound/lame: drop vulnerable wrt bug #634598
Diffstat (limited to 'media-sound/lame/lame-3.99.5-r1.ebuild')
-rw-r--r--media-sound/lame/lame-3.99.5-r1.ebuild80
1 files changed, 0 insertions, 80 deletions
diff --git a/media-sound/lame/lame-3.99.5-r1.ebuild b/media-sound/lame/lame-3.99.5-r1.ebuild
deleted file mode 100644
index 63a1db9b353f..000000000000
--- a/media-sound/lame/lame-3.99.5-r1.ebuild
+++ /dev/null
@@ -1,80 +0,0 @@
-# Copyright 1999-2018 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=5
-
-inherit autotools eutils multilib-minimal
-
-DESCRIPTION="LAME Ain't an MP3 Encoder"
-HOMEPAGE="http://lame.sourceforge.net/"
-SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz
- mirror://gentoo/${P}-automake-2.12.patch.gz"
-
-LICENSE="LGPL-2.1"
-SLOT="0"
-KEYWORDS="alpha amd64 arm ~arm64 hppa ia64 ~mips ppc ppc64 ~sh sparc x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~arm-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris"
-IUSE="debug cpu_flags_x86_mmx +frontend mp3rtp sndfile static-libs"
-
-# These deps are without MULTILIB_USEDEP and are correct since we only build
-# libmp3lame for multilib and these deps apply to the lame frontend executable.
-RDEPEND="
- frontend? (
- >=sys-libs/ncurses-5.7-r7:0=
- sndfile? ( >=media-libs/libsndfile-1.0.2 )
- )
- abi_x86_32? ( !app-emulation/emul-linux-x86-medialibs[-abi_x86_32(-)] )"
-DEPEND="${RDEPEND}
- virtual/pkgconfig
- cpu_flags_x86_mmx? ( dev-lang/nasm )"
-
-src_prepare() {
- epatch -p1 \
- "${FILESDIR}"/${PN}-3.96-ccc.patch \
- "${FILESDIR}"/${PN}-3.98-gtk-path.patch \
- "${FILESDIR}"/${PN}-3.99.5-tinfo.patch \
- "${FILESDIR}"/${PN}-3.99.5-msse.patch \
- "${WORKDIR}"/${P}-automake-2.12.patch
-
- mkdir libmp3lame/i386/.libs || die #workaround parallel build with nasm
-
- sed -i -e '/define sp/s/+/ + /g' libmp3lame/i386/nasm.h || die
-
- use cpu_flags_x86_mmx || sed -i -e '/AC_PATH_PROG/s:nasm:dIsAbLe&:' configure.in #361879
-
- AT_M4DIR=. eautoreconf
-}
-
-multilib_src_configure() {
- local myconf
- use cpu_flags_x86_mmx && myconf+="--enable-nasm" #361879
-
- # Only build the frontend for the default ABI.
- if [ "${ABI}" = "${DEFAULT_ABI}" ] ; then
- myconf+=" $(use_enable mp3rtp) $(use_enable frontend)"
- use sndfile && myconf+=" --with-fileio=sndfile"
- else
- myconf+=" --disable-frontend --disable-mp3rtp"
- fi
-
- ECONF_SOURCE="${S}" econf \
- $(use_enable static-libs static) \
- $(use_enable debug debug norm) \
- --disable-mp3x \
- --enable-dynamic-frontends \
- ${myconf}
-}
-
-multilib_src_install() {
- emake DESTDIR="${D}" pkghtmldir="${EPREFIX}/usr/share/doc/${PF}/html" install
-}
-
-multilib_src_install_all() {
- cd "${S}"
- dobin misc/mlame
-
- dodoc API ChangeLog HACKING README STYLEGUIDE TODO USAGE
- docinto html
- dodoc misc/lameGUI.html Dll/LameDLLInterface.htm
-
- find "${ED}" -name '*.la' -exec rm -f {} +
-}