Lines 1-9
Link Here
|
1 |
# Copyright 1999-2009 Gentoo Foundation |
1 |
# Copyright 1999-2011 Gentoo Foundation |
2 |
# Distributed under the terms of the GNU General Public License v2 |
2 |
# Distributed under the terms of the GNU General Public License v2 |
3 |
# $Header: /var/cvsroot/gentoo-x86/media-sound/qsampler/qsampler-0.2.2.ebuild,v 1.1 2009/12/04 19:01:06 aballier Exp $ |
3 |
# $Header: /var/cvsroot/gentoo-x86/media-sound/qsampler/qsampler-0.2.2.ebuild,v 1.1 2009/12/04 19:01:06 aballier Exp $ |
4 |
|
4 |
|
5 |
EAPI="1" |
5 |
EAPI=4 |
6 |
inherit qt4 |
6 |
|
|
|
7 |
inherit autotools eutils qt4-r2 |
7 |
|
8 |
|
8 |
DESCRIPTION="A graphical frontend to the LinuxSampler engine" |
9 |
DESCRIPTION="A graphical frontend to the LinuxSampler engine" |
9 |
HOMEPAGE="http://www.linuxsampler.org" |
10 |
HOMEPAGE="http://www.linuxsampler.org" |
Lines 14-35
Link Here
|
14 |
KEYWORDS="~amd64 ~x86" |
15 |
KEYWORDS="~amd64 ~x86" |
15 |
IUSE="debug +libgig" |
16 |
IUSE="debug +libgig" |
16 |
|
17 |
|
17 |
RDEPEND="x11-libs/qt-gui:4 |
18 |
DEPEND=">=media-libs/liblscp-0.5.5 |
18 |
>=media-libs/liblscp-0.5.5 |
|
|
19 |
libgig? ( >=media-libs/libgig-3.2.1 ) |
19 |
libgig? ( >=media-libs/libgig-3.2.1 ) |
20 |
>=media-sound/linuxsampler-0.5 |
20 |
x11-libs/libX11 |
|
|
21 |
x11-libs/qt-core:4 |
22 |
x11-libs/qt-gui:4 |
21 |
media-libs/alsa-lib" |
23 |
media-libs/alsa-lib" |
22 |
DEPEND="${RDEPEND}" |
|
|
23 |
|
24 |
|
24 |
src_compile() { |
25 |
RDEPEND="${DEPEND} |
25 |
econf $(use_enable debug) \ |
26 |
>=media-sound/linuxsampler-0.5" |
|
|
27 |
|
28 |
src_prepare() { |
29 |
epatch "${FILESDIR}"/${P}-build.patch |
30 |
eautoreconf |
31 |
} |
32 |
|
33 |
src_configure() { |
34 |
econf \ |
35 |
$(use_enable debug) \ |
26 |
$(use_enable libgig) |
36 |
$(use_enable libgig) |
27 |
eqmake4 qsampler.pro -o qsampler.mak |
|
|
28 |
emake || die "emake failed." |
29 |
} |
37 |
} |
30 |
|
38 |
|
31 |
src_install() { |
39 |
src_install() { |
32 |
emake DESTDIR="${D}" install || die "emake install failed." |
40 |
emake DESTDIR="${D}" install |
33 |
dodoc AUTHORS ChangeLog README TODO |
41 |
dodoc AUTHORS ChangeLog README TODO |
34 |
doman debian/${PN}.1 |
42 |
doman debian/${PN}.1 |
35 |
} |
43 |
} |