summaryrefslogtreecommitdiff
blob: 436b9959030b66183ce8b3fbebafbc2f61c9fabf (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-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/media-sound/vsound/vsound-0.6-r1.ebuild,v 1.1 2007/03/12 04:27:15 dirtyepic Exp $

inherit eutils

DESCRIPTION="A virtual audio loopback cable"
HOMEPAGE="http://www.vsound.org"
SRC_URI="http://www.vsound.org/${P}.tar.gz"

KEYWORDS="~amd64 ~ppc ~sparc ~x86"
LICENSE="GPL-2"
SLOT="0"

IUSE=""
DEPEND=">=media-sound/sox-12.17.1"

src_unpack() {
	unpack ${A}
	cd "${S}"

	epatch "${FILESDIR}"/${P}-stdout.patch
}

src_install() {
	emake DESTDIR="${D}" install || die "emake install failed"
	dodoc AUTHORS Changelog NEWS README
}

pkg_postinst() {
	einfo
	einfo "To use this program to, for instance, record audio from realplayer:"
	einfo "  vsound realplay realmediafile.rm"
	einfo
	einfo "Or, to listen to realmediafile.rm at the same time:"
	einfo "  vsound -d realplay realmediafile.rm"
	einfo
	einfo "See ${HOMEPAGE} or /usr/share/doc/${PF}/README.gz for more info"
	einfo
}