public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Lars Wendler" <polynomial-c@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: media-sound/lame/
Date: Thu, 15 Mar 2018 08:28:50 +0000 (UTC)	[thread overview]
Message-ID: <1521102523.de2c52788dc9a6881830eca97da7e3499ea34219.polynomial-c@gentoo> (raw)

commit:     de2c52788dc9a6881830eca97da7e3499ea34219
Author:     Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
AuthorDate: Thu Mar 15 08:27:40 2018 +0000
Commit:     Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
CommitDate: Thu Mar 15 08:28:43 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=de2c5278

media-sound/lame: Don't install mlame script

It uses mlame_corr binary that gets never built, only works on little endian
machines and fails to recognize all wav files.
Also overhauled the ebuild a bit. Committed straight to stable.

Closes: https://bugs.gentoo.org/650542
Package-Manager: Portage-2.3.24, Repoman-2.3.6

 .../{lame-3.100.ebuild => lame-3.100-r1.ebuild}    | 26 +++++++++-------------
 1 file changed, 11 insertions(+), 15 deletions(-)

diff --git a/media-sound/lame/lame-3.100.ebuild b/media-sound/lame/lame-3.100-r1.ebuild
similarity index 82%
rename from media-sound/lame/lame-3.100.ebuild
rename to media-sound/lame/lame-3.100-r1.ebuild
index 50c2f1cf696..3639535b057 100644
--- a/media-sound/lame/lame-3.100.ebuild
+++ b/media-sound/lame/lame-3.100-r1.ebuild
@@ -46,33 +46,29 @@ src_prepare() {
 }
 
 multilib_src_configure() {
+	# Only build the frontend for the default ABI.
 	local myconf=(
-		$(use_enable static-libs static)
-		$(use_enable debug debug norm)
 		--disable-mp3x
 		--enable-dynamic-frontends
+		$(multilib_native_use_enable frontend)
+		$(multilib_native_use_enable mp3rtp)
+		$(multilib_native_usex sndfile '--with-fileio=sndfile' '')
+		$(use_enable debug debug norm)
+		$(use_enable static-libs static)
+		$(usex cpu_flags_x86_mmx '--enable-nasm' '') #361879
 	)
-	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 "${myconf[@]}"
 }
 
 multilib_src_install() {
-	emake DESTDIR="${D}" pkghtmldir="${EPREFIX}/usr/share/doc/${PF}/html" 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


             reply	other threads:[~2018-03-15  8:28 UTC|newest]

Thread overview: 37+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-03-15  8:28 Lars Wendler [this message]
  -- strict thread matches above, loose matches on Subject: below --
2022-08-28 10:03 [gentoo-commits] repo/gentoo:master commit in: media-sound/lame/ James Le Cuirot
2022-05-19  5:08 WANG Xuerui
2021-08-10  8:58 Yixun Lan
2021-01-06 14:31 Fabian Groffen
2020-09-08  7:56 Miroslav Šulc
2020-09-05 15:15 Sam James
2020-09-04 10:31 Sergei Trofimovich
2020-09-02 22:48 Sam James
2020-09-02 22:47 Sam James
2020-08-02 10:54 Miroslav Šulc
2020-07-21 23:15 Kent Fredric
2019-12-24 14:13 Mikle Kolyada
2019-12-10 10:54 Agostino Sarubbo
2019-12-08 10:58 Sergei Trofimovich
2019-12-03 11:58 Agostino Sarubbo
2019-12-03 11:56 Agostino Sarubbo
2019-12-03 10:07 Agostino Sarubbo
2019-12-03 10:06 Agostino Sarubbo
2019-12-03 10:03 Agostino Sarubbo
2019-12-03  0:05 Aaron Bauman
2018-03-23 23:55 Aaron Bauman
2018-03-15 21:15 Sergei Trofimovich
2018-01-17 13:01 Lars Wendler
2017-11-19 15:14 Markus Meier
2017-11-08 12:51 Tobias Klausmann
2017-10-28 22:21 Sergei Trofimovich
2017-10-26 21:47 Sergei Trofimovich
2017-10-26 21:32 Sergei Trofimovich
2017-10-26 19:12 Sergei Trofimovich
2017-10-26 17:38 Thomas Deutschmann
2017-10-25  9:31 Agostino Sarubbo
2017-10-22 20:03 Andreas Hüttel
2016-03-20 23:10 Stephen Klimaszewski
2016-02-17 23:19 Alexis Ballier
2016-02-11  0:29 Manuel Rüger
2015-08-16 14:20 Justin Lecher

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1521102523.de2c52788dc9a6881830eca97da7e3499ea34219.polynomial-c@gentoo \
    --to=polynomial-c@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox