blob: 3099024aaed2ad72c3525bc239719a06406ec96d (
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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
|
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/media-sound/traverso/traverso-0.49.2.ebuild,v 1.1 2010/08/15 11:22:34 aballier Exp $
EAPI=1
inherit eutils qt4 cmake-utils
DESCRIPTION="Professional Audio Tools for GNU/Linux"
HOMEPAGE="http://traverso-daw.org/"
SRC_URI="http://traverso-daw.org/download/releases/current/${P}.tar.gz"
IUSE="alsa debug jack lame lv2 mad pulseaudio"
SLOT="0"
LICENSE="GPL-2"
KEYWORDS="~amd64 ~x86"
RDEPEND="
x11-libs/qt-core
x11-libs/qt-gui
alsa? ( >=media-libs/alsa-lib-1.0.0 )
jack? ( >=media-sound/jack-audio-connection-kit-0.100 )
pulseaudio? ( >=media-sound/pulseaudio-0.9 )
>=dev-libs/glib-2.8
>=media-libs/libsndfile-1.0.12
media-libs/libsamplerate
>=sci-libs/fftw-3
>=media-sound/wavpack-4.40.0
>=media-libs/libvorbis-1.1.2
>=media-libs/flac-1.1.2
lv2? ( >=media-libs/slv2-0.6.1 )
mad? ( >=media-libs/libmad-0.15.0 )
lame? ( media-sound/lame )"
# opengl? ( x11-libs/qt-opengl )
DEPEND="${RDEPEND}
dev-util/pkgconfig"
src_unpack() {
unpack ${A}
cd "${S}"
epatch "${FILESDIR}/${PN}-0.49.1-slv2.patch"
}
src_compile() {
local mycmakeargs="$(cmake-utils_use_want jack JACK) $(cmake-utils_use_want alsa ALSA) \
$(cmake-utils_use_want pulseaudio PULSEAUDIO) \
$(cmake-utils_use_want lv2 LV2) -DUSE_SYSTEM_SLV2_LIBRARY=ON \
$(cmake-utils_use_want mad MP3_DECODE) $(cmake-utils_use_want lame MP3_ENCODE) \
$(cmake-utils_use_want debug TRAVERSO_DEBUG)"
cmake-utils_src_compile
}
src_install() {
cmake-utils_src_install
dodoc AUTHORS ChangeLog README resources/help.text
doicon resources/freedesktop/icons/128x128/apps/traverso.png
domenu resources/traverso.desktop
insinto /usr/share/${PN}
doins -r resources/themes
}
|