blob: 132477cb9c918ed1fbc04828d8ec334d7e67ce71 (
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
|
# 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-4.1.0-r2.ebuild,v 1.3 2006/10/06 01:38:58 gustavoz Exp $
inherit kde eutils flag-o-matic
IUSE="arts jack"
MY_PV="${PV/_rc*/}"
MY_PV="${MY_PV/./-}"
MY_P="${PN}-${MY_PV}"
S="${WORKDIR}/${MY_P}"
DESCRIPTION="MIDI and audio sequencer and notation editor."
HOMEPAGE="http://www.rosegardenmusic.com/"
SRC_URI="mirror://sourceforge/rosegarden/${MY_P}.tar.bz2"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="amd64 ppc x86"
DEPEND="arts? ( || ( kde-base/kdemultimedia-arts kde-base/kdemultimedia ) )
!arts? ( media-libs/alsa-lib
jack? ( media-sound/jack-audio-connection-kit )
>=media-libs/ladspa-sdk-1.0
>=media-libs/ladspa-cmt-1.14 )"
need-kde 3
PATCHES="${FILESDIR}/4.1.0-dssi.patch
${FILESDIR}/4.1.0-gcc4.diff
${FILESDIR}/4.1.0-includehints.patch
${FILESDIR}/4.1.0-amd64.patch"
pkg_setup() {
echo
if use arts ; then
einfo "aRts support enabled"
ewarn "ALSA support disabled, USE=-arts enables ALSA"
built_with_use kde-base/arts jack && einfo "aRts was built with Jack support" \
|| ewarn "aRts wasn't built with Jack support"
else
einfo "ALSA support enabled"
use jack && einfo "Jack support enabled" || ewarn "Jack support disabled"
fi
echo
}
src_compile() {
strip-flags -fvisibility-inlines-hidden
use arts && myconf="" || myconf="$(use_with jack) --with-ladspa"
kde_src_compile
}
pkg_postinstall() {
elog "The developers of Rosegarden dropped the \"4\" as major version. If you're"
elog "interested in the latest testing release, hard mask >=media-sound/rosegarden-4."
}
|