summaryrefslogtreecommitdiff
blob: 5f9d71a9471030c2b6a31506de67322c2631cf65 (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
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/media-sound/qjackconnect/qjackconnect-0.0.3b-r1.ebuild,v 1.19 2008/07/27 21:16:23 carlo Exp $

EAPI=1

inherit qt3 toolchain-funcs

IUSE=""

DESCRIPTION="A QT based patchbay for the JACK Audio Connection Kit"
HOMEPAGE="http://www.suse.de/~mana/jack.html"
SRC_URI="ftp://ftp.suse.com/pub/people/mana/${P}.tar.bz2"

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

DEPEND="x11-libs/qt:3
	media-sound/jack-audio-connection-kit
	media-libs/alsa-lib"

src_unpack() {
	unpack ${A}
	cd "${S}"
	sed \
		-e "s:/usr/lib/qt3:/usr/qt/3:" \
		-e "s:-O2 -g:${CXXFLAGS}:" \
		-e "s:gcc -g -o ${PN}:\$(CXX) \$(LDFLAGS) -o ${PN}:" \
		< make_qjackconnect > Makefile
}

src_compile() {
	emake CXX="$(tc-getCXX)" || die
}

src_install() {
	dobin qjackconnect
}