summaryrefslogtreecommitdiff
blob: 6331d0c28ccc2d78e4cb7785ee0900a82b0d771a (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
# Copyright 1999-2007 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.17 2007/06/29 14:23:00 flameeyes Exp $

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="$(qt_min_version 3.1)
	media-sound/jack-audio-connection-kit"

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
}