summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'media-sound/rosegarden/rosegarden-4.0.9.91_rc2.ebuild')
-rw-r--r--media-sound/rosegarden/rosegarden-4.0.9.91_rc2.ebuild61
1 files changed, 61 insertions, 0 deletions
diff --git a/media-sound/rosegarden/rosegarden-4.0.9.91_rc2.ebuild b/media-sound/rosegarden/rosegarden-4.0.9.91_rc2.ebuild
new file mode 100644
index 000000000000..9163e8d8b1d8
--- /dev/null
+++ b/media-sound/rosegarden/rosegarden-4.0.9.91_rc2.ebuild
@@ -0,0 +1,61 @@
+# Copyright 1999-2004 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-sound/rosegarden/rosegarden-4.0.9.91_rc2.ebuild,v 1.1 2004/11/22 05:14:20 eradicator Exp $
+
+IUSE="alsa 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/${PN}/${MY_P}.tar.gz"
+SRC_URI="http://www.telegraph-road.org/rosegarden/rosegarden-4-0.9.91rc2.tar.bz2"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86"
+
+DEPEND=">=kde-base/kdelibs-3.0
+ kde-base/kdemultimedia
+ >=x11-libs/qt-3
+ !arts? ( media-libs/alsa-lib )
+ alsa? ( media-libs/alsa-lib )
+ !alsa? ( arts? ( kde-base/arts ) )
+ jack? ( media-sound/jack-audio-connection-kit )
+ >=media-libs/ladspa-sdk-1.0
+ >=media-libs/ladspa-cmt-1.14"
+
+pkg_setup() {
+ snd_conf=""
+ if use alsa; then
+ if use arts; then
+ ewarn "alsa and arts USE flags detected. Only one can"
+ ewarn "used by rosegarden... selecting alsa by default."
+ fi
+ snd_conf="--without-arts"
+ else
+ if use arts; then
+ snd_conf="--without-arts"
+ else
+ ewarn "Neither arts or alsa USE flags selected. Choosing"
+ ewarn "alsa by default."
+ snd_conf="--without-arts"
+ fi
+ fi
+}
+
+src_compile() {
+ addwrite ${QTDIR}/etc/settings
+ econf ${snd_conf} `use_with jack` \
+ --with-ladspa \
+ || die "./configure failed"
+ emake || die
+}
+
+src_install() {
+ einstall || die
+ dodoc AUTHORS ChangeLog NEWS README TODO TRANSLATORS
+}