summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuli Suominen <ssuominen@gentoo.org>2010-02-15 09:38:34 +0000
committerSamuli Suominen <ssuominen@gentoo.org>2010-02-15 09:38:34 +0000
commita0af341da25ac9c77ee941369f226fa21c71e218 (patch)
treeea41e7e941a27f74c9b8d44c1eb7afcbc7f35e4d /media-sound/rosegarden
parentVersion bump (diff)
downloadgentoo-2-a0af341da25ac9c77ee941369f226fa21c71e218.tar.gz
gentoo-2-a0af341da25ac9c77ee941369f226fa21c71e218.tar.bz2
gentoo-2-a0af341da25ac9c77ee941369f226fa21c71e218.zip
Version bump. Thanks to Alexis Ballier for reporting.
(Portage version: 2.2_rc62/cvs/Linux x86_64)
Diffstat (limited to 'media-sound/rosegarden')
-rw-r--r--media-sound/rosegarden/ChangeLog8
-rw-r--r--media-sound/rosegarden/files/rosegarden-10.02-configure.ac.patch25
-rw-r--r--media-sound/rosegarden/rosegarden-10.02.ebuild58
3 files changed, 90 insertions, 1 deletions
diff --git a/media-sound/rosegarden/ChangeLog b/media-sound/rosegarden/ChangeLog
index 5704e32ecb87..dcd4d9e96930 100644
--- a/media-sound/rosegarden/ChangeLog
+++ b/media-sound/rosegarden/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for media-sound/rosegarden
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-sound/rosegarden/ChangeLog,v 1.70 2010/02/10 00:03:41 josejx Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-sound/rosegarden/ChangeLog,v 1.71 2010/02/15 09:38:33 ssuominen Exp $
+
+*rosegarden-10.02 (15 Feb 2010)
+
+ 15 Feb 2010; Samuli Suominen <ssuominen@gentoo.org>
+ +rosegarden-10.02.ebuild, +files/rosegarden-10.02-configure.ac.patch:
+ Version bump. Thanks to Alexis Ballier for reporting.
10 Feb 2010; Joseph Jezak <josejx@gentoo.org>
rosegarden-10.02_beta.ebuild:
diff --git a/media-sound/rosegarden/files/rosegarden-10.02-configure.ac.patch b/media-sound/rosegarden/files/rosegarden-10.02-configure.ac.patch
new file mode 100644
index 000000000000..351a60f34fef
--- /dev/null
+++ b/media-sound/rosegarden/files/rosegarden-10.02-configure.ac.patch
@@ -0,0 +1,25 @@
+--- configure.ac
++++ configure.ac
+@@ -71,17 +71,16 @@
+ MINIMAL_CFLAGS="$RELEASEFLAGS"
+
+ if test "x$GCC" = "xyes"; then
+-# DEBUGFLAGS="$DEBUGFLAGS -Wall -Woverloaded-virtual -Wextra -Wformat-nonliteral -Wformat-security -Winit-self -Wswitch-enum -O1 -g -pipe"
+- DEBUGFLAGS="$DEBUGFLAGS -Wall -Woverloaded-virtual -Wextra -Wformat-nonliteral -Wformat-security -Winit-self -Wswitch-enum -O0 -g -pipe"
+- RELEASEFLAGS="$RELEASEFLAGS -g0 -O2 -Wall -pipe"
+- MINIMAL_CFLAGS="$MINIMAL_CFLAGS -g0 -O0"
++# DEBUGFLAGS="$DEBUGFLAGS -Wall -Woverloaded-virtual -Wextra -Wformat-nonliteral -Wformat-security -Winit-self -Wswitch-enum"
++ DEBUGFLAGS="$DEBUGFLAGS -Wall -Woverloaded-virtual -Wextra -Wformat-nonliteral -Wformat-security -Winit-self -Wswitch-enum"
++ RELEASEFLAGS="$RELEASEFLAGS -Wall"
++ MINIMAL_CFLAGS="$MINIMAL_CFLAGS"
+ fi
+
+ BUILDFLAGS="$RELEASEFLAGS"
+ AC_ARG_ENABLE(debug, [AS_HELP_STRING([--enable-debug],[enable debug support [default=no]])],[AC_MSG_NOTICE([enabling debug build])
+ BUILDFLAGS="$DEBUGFLAGS"])
+-#CXXFLAGS="$CXXFLAGS $BUILDFLAGS"
+-CXXFLAGS="$BUILDFLAGS"
++CXXFLAGS="$CXXFLAGS $BUILDFLAGS"
+
+ AC_SUBST(PERL)
+ AC_SUBST(XARGS)
diff --git a/media-sound/rosegarden/rosegarden-10.02.ebuild b/media-sound/rosegarden/rosegarden-10.02.ebuild
new file mode 100644
index 000000000000..30aad9a62d75
--- /dev/null
+++ b/media-sound/rosegarden/rosegarden-10.02.ebuild
@@ -0,0 +1,58 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-sound/rosegarden/rosegarden-10.02.ebuild,v 1.1 2010/02/15 09:38:33 ssuominen Exp $
+
+EAPI=2
+inherit autotools eutils fdo-mime multilib
+
+DESCRIPTION="MIDI and audio sequencer and notation editor"
+HOMEPAGE="http://www.rosegardenmusic.com/"
+SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86"
+IUSE="debug"
+
+RDEPEND="x11-libs/qt-gui:4[qt3support]
+ media-libs/ladspa-sdk
+ x11-libs/libSM
+ app-misc/lirc
+ media-sound/jack-audio-connection-kit
+ media-libs/alsa-lib
+ media-libs/dssi
+ media-libs/liblo
+ media-libs/liblrdf
+ =sci-libs/fftw-3*
+ media-libs/libsamplerate[sndfile]"
+DEPEND="${RDEPEND}
+ dev-util/pkgconfig
+ x11-misc/makedepend"
+
+src_prepare() {
+ epatch "${FILESDIR}"/${P}-configure.ac.patch
+ eautoreconf
+}
+
+src_configure() {
+ local myconf
+ use debug && myconf="--enable-debug"
+
+ econf \
+ --with-qtdir=/usr \
+ --with-qtlibdir=/usr/$(get_libdir)/qt4 \
+ ${myconf}
+}
+
+src_install() {
+ emake DESTDIR="${D}" install || die
+ dodoc AUTHORS CONTRIBUTING README
+}
+
+pkg_postinst() {
+ fdo-mime_mime_database_update
+}
+
+pkg_postrm() {
+ fdo-mime_mime_database_update
+}