summaryrefslogtreecommitdiff
blob: 9c7c5a843bec81bff8c574c47b427ef44c1b6e30 (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
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/media-sound/qsampler/qsampler-0.2.1.ebuild,v 1.4 2008/07/17 23:04:19 mr_bones_ Exp $

EAPI="1"
inherit qt4

DESCRIPTION="A graphical frontend to the LinuxSampler engine"
HOMEPAGE="http://www.linuxsampler.org"
SRC_URI="http://download.linuxsampler.org/packages/${P}.tar.gz"

LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="debug +libgig"

RDEPEND="|| ( x11-libs/qt-gui:4 =x11-libs/qt-4.3* )
	>=media-libs/liblscp-0.5.5
	libgig? ( >=media-libs/libgig-3.2.1 )
	>=media-sound/linuxsampler-0.5
	media-libs/alsa-lib"
DEPEND="${RDEPEND}"

src_compile() {
	econf $(use_enable debug) \
		$(use_enable libgig)
	eqmake4 qsampler.pro -o qsampler.mak
	emake || die "emake failed."
}

src_install() {
	emake DESTDIR="${D}" install || die "emake install failed."
	dodoc AUTHORS ChangeLog README TODO
	doman debian/${PN}.1
}