blob: 20c51aab1449501f502d164a7f1b6651f9160a3c (
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
|
# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/media-sound/rosegarden/rosegarden-1.4.0.ebuild,v 1.2 2006/10/03 00:13:43 carlo Exp $
inherit kde eutils flag-o-matic
S="${WORKDIR}/${P}"
DESCRIPTION="MIDI and audio sequencer and notation editor."
HOMEPAGE="http://www.rosegardenmusic.com/"
SRC_URI="mirror://sourceforge/rosegarden/${P}.tar.bz2"
SLOT="0"
LICENSE="GPL-2"
KEYWORDS="~amd64 ~ppc ~sparc ~x86"
IUSE="lirc"
RDEPEND="media-libs/alsa-lib
media-sound/jack-audio-connection-kit
media-libs/ladspa-sdk
>=media-libs/ladspa-cmt-1.14
media-libs/liblrdf
media-libs/dssi"
DEPEND="${RDEPEND}
dev-util/scons"
need-kde 3.4
LANGS="ca cs cy de en_GB en es et fi fr it ja nl ru sv zh_CN"
src_compile() {
[ -d "$QTDIR/etc/settings" ] && addwrite "$QTDIR/etc/settings"
addpredict "$QTDIR/etc/settings"
local myconf="kdeincludes=$(kde-config --prefix)/include prefix=${ROOT}/usr"
use amd64 && myconf="${myconf} libsuffix=64"
use lirc || myconf="${myconf} nolirc=1"
scons configure ${myconf} || die "configure failed"
scons ${MAKEOPTS} || die "scons failed"
}
src_install() {
scons install DESTDIR="${D}" languages="$(echo $(echo "${LINGUAS} ${LANGS}" | fmt -w 1 | sort | uniq -d))"
dodoc AUTHORS README TRANSLATORS
}
|