From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 9D7FB1382C5 for ; Sun, 24 Jan 2021 00:44:19 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 89D54E092E; Sun, 24 Jan 2021 00:44:18 +0000 (UTC) Received: from smtp.gentoo.org (mail.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 753ADE092E for ; Sun, 24 Jan 2021 00:44:18 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 6AECA340FAE for ; Sun, 24 Jan 2021 00:44:17 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 0B3DE2C5 for ; Sun, 24 Jan 2021 00:44:16 +0000 (UTC) From: "Andreas Sturmlechner" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Andreas Sturmlechner" Message-ID: <1611449045.716a3646c7d66aa188789bf56963d00e933aaad6.asturm@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: media-libs/libfame/ X-VCS-Repository: repo/gentoo X-VCS-Files: media-libs/libfame/libfame-0.9.1-r3.ebuild X-VCS-Directories: media-libs/libfame/ X-VCS-Committer: asturm X-VCS-Committer-Name: Andreas Sturmlechner X-VCS-Revision: 716a3646c7d66aa188789bf56963d00e933aaad6 X-VCS-Branch: master Date: Sun, 24 Jan 2021 00:44:16 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: fd6b9bac-b8c9-4c76-9e9e-33fa5ba42aed X-Archives-Hash: 265a2e52b29950ac11df73011cd96f7b commit: 716a3646c7d66aa188789bf56963d00e933aaad6 Author: Andreas Sturmlechner gentoo org> AuthorDate: Sun Jan 24 00:34:15 2021 +0000 Commit: Andreas Sturmlechner gentoo org> CommitDate: Sun Jan 24 00:44:05 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=716a3646 media-libs/libfame: EAPI-7 bump, autotools-multilib-- Package-Manager: Portage-3.0.14, Repoman-3.0.2 Signed-off-by: Andreas Sturmlechner gentoo.org> media-libs/libfame/libfame-0.9.1-r3.ebuild | 47 ++++++++++++++++++++++++++++++ 1 file changed, 47 insertions(+) diff --git a/media-libs/libfame/libfame-0.9.1-r3.ebuild b/media-libs/libfame/libfame-0.9.1-r3.ebuild new file mode 100644 index 00000000000..a2ead699e72 --- /dev/null +++ b/media-libs/libfame/libfame-0.9.1-r3.ebuild @@ -0,0 +1,47 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit autotools multilib-minimal + +DESCRIPTION="MPEG-1 and MPEG-4 video encoding library" +HOMEPAGE="http://fame.sourceforge.net/" +SRC_URI="mirror://sourceforge/fame/${P}.tar.gz + http://digilander.libero.it/dgp85/gentoo/${PN}-patches-2.tar.bz2" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86" +IUSE="cpu_flags_x86_mmx" + +PATCHES=( + "${WORKDIR}"/${PV} + "${FILESDIR}"/${P}-gcc43.patch + "${FILESDIR}"/${P}-mmx-configure.ac.patch +) + +src_prepare() { + default + + mv configure.in configure.ac || die + rm acinclude.m4 || die + + # Do not add -march=i586, bug #41770. + sed -i -e 's:-march=i[345]86 ::g' configure.ac || die + + eautoreconf +} + +multilib_src_configure() { + local myeconfargs=( + --disable-static + $(use_enable cpu_flags_x86_mmx mmx) + ) + ECONF_SOURCE=${S} econf "${myeconfargs[@]}" +} + +multilib_src_install_all() { + einstalldocs + find "${ED}" -type f -name '*.la' -delete || die +}