blob: 551cb14ed78393004666cfcea46e31a49b5780ab (
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
|
# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
inherit eutils
DESCRIPTION="free alternative to popular programs such as FruityLoops, Cubase and Logic"
HOMEPAGE="http://lmms.sourceforge.net"
SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
RESTRICT="strip"
IUSE="alsa flac ladspa vorbis oss sdl samplerate jack debug"
DEPEND="=x11-libs/qt-3.3*
vorbis? ( media-libs/libvorbis )
alsa? ( media-libs/alsa-lib )
sdl? ( media-libs/libsdl
>=media-libs/sdl-sound-1.0.1 )
samplerate? ( media-libs/libsamplerate )
jack? ( >=media-sound/jack-audio-connection-kit-0.99.0 )
flac? ( media-libs/flac )
ladspa? ( media-libs/ladspa-sdk )"
src_compile() {
econf \
$(use_with alsa asound) \
$(use_with flac) \
$(use_with ladspa) \
$(use_with vorbis) \
$(use_with samplerate) \
$(use_with oss) \
$(use_with sdl) \
$(use_with sdl sdlsound)\
$(use_with jack) \
$(use_enable debug) \
--enable-hqsinc || die "econf failed"
emake || die "emake failed"
}
src_install() {
emake DESTDIR="${D}" install || die "emake install failed"
newicon "artwork/icon.png" ${PN}.png
make_desktop_entry ${PN} "Linux MultiMedia Studio"
dodoc README AUTHORS ChangeLog TODO
}
|