summaryrefslogtreecommitdiff
blob: f0d7ae3cf08939eda05cc8f1cbce026b6a840d7d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/media-plugins/xmms-volnorm/xmms-volnorm-0.8.1-r1.ebuild,v 1.1 2006/01/16 19:10:13 metalgod Exp $

IUSE=""

inherit eutils

MY_P=${P/xmms-/}
S=${WORKDIR}/${MY_P}
DESCRIPTION="Plugin for XMMS, music will be played at the same volume even if it
is recorded at a different volume level"
#SRC_URI="mirror://sourceforge/volnorm/${MY_P}.tar.gz"
SRC_URI="http://volnorm.sourceforge.net/volnorm-0.8.1.tar.gz"
HOMEPAGE="http://volnorm.sourceforge.net"

SLOT="0"
LICENSE="GPL-2"
#~arch: Keep in ~arch as this is a dev version upstream.
KEYWORDS="~alpha ~amd64 ~ppc ~sparc ~x86"

DEPEND="media-sound/xmms"

src_unpack() {
	unpack ${A}

	# see #83138
	cd ${S}
	epatch ${FILESDIR}/${PV}-gentoo.patch
	epatch ${FILESDIR}/${PV}-free-fix.patch

	autoconf
	libtoolize --copy --force || die "libtoolize failed"
}

src_install() {
	make DESTDIR="${D}" install || die "make install failed"

	dodoc AUTHORS BUGS ChangeLog NEWS README RELEASE TODO
}