diff options
Diffstat (limited to 'media-sound/rosegarden/rosegarden-4.1.2.3.ebuild')
-rw-r--r-- | media-sound/rosegarden/rosegarden-4.1.2.3.ebuild | 50 |
1 files changed, 50 insertions, 0 deletions
diff --git a/media-sound/rosegarden/rosegarden-4.1.2.3.ebuild b/media-sound/rosegarden/rosegarden-4.1.2.3.ebuild new file mode 100644 index 000000000000..5ba0c3f6f04d --- /dev/null +++ b/media-sound/rosegarden/rosegarden-4.1.2.3.ebuild @@ -0,0 +1,50 @@ +# 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.2.3.ebuild,v 1.1 2006/02/21 18:15:35 carlo Exp $ + +inherit kde eutils flag-o-matic + +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" + +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 fr it ja nl ru sv zh_CN" + +PATCHES="${FILESDIR}/rosegarden-4.1.2.3-kde.py.diff" + +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} languages="${LANGS// /:}" || die "scons failed" +} + +src_install() { + scons install DESTDIR="${D}" languages="$(echo $(echo "${LINGUAS} ${LANGS}" | fmt -w 1 | sort | uniq -d))" + dodoc AUTHORS README TRANSLATORS +} |