summaryrefslogtreecommitdiff
blob: 87a22ae94d089e3c3732a034cfca8a92e3c92c36 (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
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/media-sound/audiocompress/audiocompress-1.5.2-r1.ebuild,v 1.1 2007/03/09 04:23:51 beandog Exp $

inherit eutils

MY_P="AudioCompress-${PV}"
IUSE="esd"
DESCRIPTION="Very gentle 1-band dynamic range compressor"
HOMEPAGE="http://beesbuzz.biz/code/"
SRC_URI="http://beesbuzz.biz/code/${MY_P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
#-sparc: 1.5.5 - Gdk-ERROR **: BadValue (integer parameter out of range for operation) serial 7 error_code 2 request_code 1 minor_code 0
KEYWORDS="~amd64 ~ppc -sparc x86"

DEPEND="esd? ( media-sound/esound )"

S=${WORKDIR}/${MY_P}

src_unpack() {
	unpack ${A}

	cd ${S}
	make clean

	epatch ${FILESDIR}/${P}-gentoo.patch
	use esd || epatch ${FILESDIR}/${P}-esd.patch
}

src_compile() {
	emake AudioCompress || die
}

src_install() {
	dobin AudioCompress || die
	dodoc ChangeLog README TODO
}