summaryrefslogtreecommitdiff
blob: b93ceb43719f73c0eacf2b92b5fbadd0e86542f5 (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
# Copyright 1999-2003 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License, v2
# $Header: /var/cvsroot/gentoo-x86/media-sound/audiocompress/audiocompress-1.5.ebuild,v 1.1 2003/08/06 10:58:24 jje Exp $

MY_P="AudioCompress-${PV}"

DESCRIPTION="AudioCompress is (essentially) a very gentle, 1-band dynamic range compressor intended to keep audio output at a consistent volume without introducing any audible artifacts."
SRC_URI="http://trikuare.cx/code/${MY_P}.tar.gz"
HOMEPAGE="http://trikuare.cx/code/AudioCompress.html"
IUSE="xmms"

S=${WORKDIR}/${MY_P}

SLOT="0"
LICENSE="GPL-2"
KEYWORDS="~x86"

DEPEND="xmms? ( media-sound/xmms )"

src_compile() {
	if [ -n "`use xmms`" ]; then
	  emake || die
	else
	  emake AudioCompress
	fi
}

src_install() {
    dodir /usr/bin
	install -m 755 AudioCompress ${D}/usr/bin/ || die
	if [ -n "`use xmms`" ]; then
	  installdir="${D}$(xmms-config --effect-plugin-dir)"
	  install -d ${installdir} || die
	  install -m 755 libcompress.so ${installdir} || die
	fi
	dodoc COPYING ChangeLog README TODO
}