summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexis Ballier <aballier@gentoo.org>2009-02-19 08:39:20 +0000
committerAlexis Ballier <aballier@gentoo.org>2009-02-19 08:39:20 +0000
commitb564804e1b9df9e258db07d490c819a0261ffb65 (patch)
treeb8d12a970afcaf0c7781b4797e14cd9f8f12e6e5
parentversion bump, by Jouni Rinne <l33tmmx@gmail.com>, bug #259508 (diff)
downloadgentoo-2-b564804e1b9df9e258db07d490c819a0261ffb65.tar.gz
gentoo-2-b564804e1b9df9e258db07d490c819a0261ffb65.tar.bz2
gentoo-2-b564804e1b9df9e258db07d490c819a0261ffb65.zip
version bump, by Jouni Rinne <l33tmmx@gmail.com>, bug #259505
(Portage version: 2.2_rc23/cvs/Linux x86_64)
-rw-r--r--media-sound/rosegarden/ChangeLog10
-rw-r--r--media-sound/rosegarden/rosegarden-1.7.3.ebuild71
2 files changed, 79 insertions, 2 deletions
diff --git a/media-sound/rosegarden/ChangeLog b/media-sound/rosegarden/ChangeLog
index 6fa99a8542c5..92663388b484 100644
--- a/media-sound/rosegarden/ChangeLog
+++ b/media-sound/rosegarden/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for media-sound/rosegarden
-# Copyright 2000-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-sound/rosegarden/ChangeLog,v 1.59 2008/10/10 12:46:52 flameeyes Exp $
+# Copyright 2000-2009 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/media-sound/rosegarden/ChangeLog,v 1.60 2009/02/19 08:39:20 aballier Exp $
+
+*rosegarden-1.7.3 (19 Feb 2009)
+
+ 19 Feb 2009; Alexis Ballier <aballier@gentoo.org>
+ +rosegarden-1.7.3.ebuild:
+ version bump, by Jouni Rinne <l33tmmx@gmail.com>, bug #259505
*rosegarden-1.7.2-r1 (10 Oct 2008)
diff --git a/media-sound/rosegarden/rosegarden-1.7.3.ebuild b/media-sound/rosegarden/rosegarden-1.7.3.ebuild
new file mode 100644
index 000000000000..bab73d5b6620
--- /dev/null
+++ b/media-sound/rosegarden/rosegarden-1.7.3.ebuild
@@ -0,0 +1,71 @@
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-sound/rosegarden/rosegarden-1.7.3.ebuild,v 1.1 2009/02/19 08:39:20 aballier Exp $
+
+EAPI=2
+
+inherit eutils kde-functions cmake-utils
+
+MY_PV="${PV/_rc*/}"
+#MY_PV="${MY_PV/4./}"
+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"
+IUSE="alsa debug jack dssi lirc"
+
+RDEPEND="
+ alsa? ( >=media-libs/alsa-lib-1.0[midi]
+ jack? ( >=media-sound/jack-audio-connection-kit-0.77 )
+ )
+ >=media-libs/ladspa-sdk-1.0
+ >=media-libs/ladspa-cmt-1.14
+ dssi? ( >=media-libs/dssi-0.4 )
+ lirc? ( >=app-misc/lirc-0.7 )
+ >=media-libs/liblrdf-0.3
+ >=sci-libs/fftw-3.0.0
+ >=media-libs/liblo-0.7"
+
+DEPEND="${RDEPEND}
+ >=dev-util/pkgconfig-0.15
+ >=dev-util/cmake-2.4.2"
+
+need-kde 3.5
+
+pkg_setup() {
+ if ! use alsa && use jack; then
+ ewarn "If you want JACK support you also need to enable"
+ ewarn "ALSA support, or the whole sound support will be"
+ ewarn "disabled."
+ fi
+}
+
+src_prepare() {
+ epatch "${FILESDIR}/rosegarden-1.6.1-asneeded.patch" \
+ "${FILESDIR}/rosegarden-1.6.1.desktop.diff"
+}
+
+src_configure() {
+ tc-export CC CXX LD
+
+ # cmake is stupid, very very stupid.
+ sed -i -e 's:CMAKE_CXX_FLAGS_\(RELEASE\|RELWITHDEBINFO\|DEBUG\).*".*"):CMAKE_CXX_FLAGS_\1 "'"${CXXFLAGS}"'"):' \
+ CMakeLists.txt || die "unable to sanitise CXXFLAGS"
+
+ mycmakeargs="$(cmake-utils_use_want alsa SOUND)
+ $(cmake-utils_use_want jack JACK)
+ $(cmake-utils_use_want dssi DSSI)
+ $(cmake-utils_use_want lirc LIRC)"
+ cmake-utils_src_configure
+}
+
+src_install() {
+ cmake-utils_src_install
+ dodoc AUTHORS README TRANSLATORS
+}