Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 331211 | Differences between
and this patch

Collapse All | Expand All

(-)mp3gain-1.5.2.ebuild (-6 / +6 lines)
Lines 1-11 Link Here
1
# Copyright 1999-2010 Gentoo Foundation
1
# Copyright 1999-2010 Gentoo Foundation
2
# Distributed under the terms of the GNU General Public License v2
2
# Distributed under the terms of the GNU General Public License v2
3
# $Header: /var/cvsroot/gentoo-x86/media-sound/mp3gain/mp3gain-1.5.2.ebuild,v 1.1 2010/07/25 09:09:02 ssuominen Exp $
3
# $Header: $
4
4
5
EAPI=2
5
EAPI=2
6
inherit toolchain-funcs
6
inherit eutils toolchain-funcs
7
7
8
MY_P=${P//./_}
8
MY_P=${P//./_}
9
MY_P=${MY_P/_p*}
10
MY_PV=${PV/_p*}
9
11
10
DESCRIPTION="A program to analyze and adjust MP3 files to same volume"
12
DESCRIPTION="A program to analyze and adjust MP3 files to same volume"
11
HOMEPAGE="http://mp3gain.sourceforge.net/"
13
HOMEPAGE="http://mp3gain.sourceforge.net/"
Lines 22-31 Link Here
22
S=${WORKDIR}
24
S=${WORKDIR}
23
25
24
src_prepare() {
26
src_prepare() {
25
	sed -i \
27
	epatch "${FILESDIR}/${MY_PV}-01-makefile-install.patch"
26
		-e 's:CFLAGS= -Wall -O2:CFLAGS+= -Wall:' \
28
	epatch "${FILESDIR}/${MY_PV}-02-makefile-respect.patch"
27
		-e 's:$(CC) -o:$(CC) $(LDFLAGS) -o:' \
28
		Makefile || die
29
}
29
}
30
30
31
src_compile() {
31
src_compile() {

Return to bug 331211