diff options
author | Diego Elio Pettenò <flameeyes@gentoo.org> | 2007-06-20 13:58:55 +0000 |
---|---|---|
committer | Diego Elio Pettenò <flameeyes@gentoo.org> | 2007-06-20 13:58:55 +0000 |
commit | 696429b5dd9c6beded7b1edac3fe3fe0dbf46594 (patch) | |
tree | 6dfa0bfea19f51fa38f9da29225006c818ff55e1 /media-sound/rosegarden | |
parent | Add dssi USE flag for rosegarden. (diff) | |
download | gentoo-2-696429b5dd9c6beded7b1edac3fe3fe0dbf46594.tar.gz gentoo-2-696429b5dd9c6beded7b1edac3fe3fe0dbf46594.tar.bz2 gentoo-2-696429b5dd9c6beded7b1edac3fe3fe0dbf46594.zip |
Version bump, closes bug #168366. Thanks to Wai Ling for reporting, and everybody on that bug. Also thanks to Alexis Ballier and the guys at proaudio overlay whose ebuild I based on.
(Portage version: 2.1.3_rc4)
Diffstat (limited to 'media-sound/rosegarden')
-rw-r--r-- | media-sound/rosegarden/ChangeLog | 10 | ||||
-rw-r--r-- | media-sound/rosegarden/files/digest-rosegarden-1.5.1 | 3 | ||||
-rw-r--r-- | media-sound/rosegarden/files/rosegarden-1.5.1-asneeded.patch | 36 | ||||
-rw-r--r-- | media-sound/rosegarden/rosegarden-1.5.1.ebuild | 85 |
4 files changed, 133 insertions, 1 deletions
diff --git a/media-sound/rosegarden/ChangeLog b/media-sound/rosegarden/ChangeLog index 60f46db33e15..71fb231bf6f2 100644 --- a/media-sound/rosegarden/ChangeLog +++ b/media-sound/rosegarden/ChangeLog @@ -1,6 +1,14 @@ # ChangeLog for media-sound/rosegarden # Copyright 2000-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/media-sound/rosegarden/ChangeLog,v 1.45 2007/04/17 17:52:28 aballier Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-sound/rosegarden/ChangeLog,v 1.46 2007/06/20 13:58:55 flameeyes Exp $ + +*rosegarden-1.5.1 (20 Jun 2007) + + 20 Jun 2007; Diego Pettenò <flameeyes@gentoo.org> + +files/rosegarden-1.5.1-asneeded.patch, +rosegarden-1.5.1.ebuild: + Version bump, closes bug #168366. Thanks to Wai Ling for reporting, and + everybody on that bug. Also thanks to Alexis Ballier and the guys at + proaudio overlay whose ebuild I based on. 17 Apr 2007; Alexis Ballier <aballier@gentoo.org> -files/4.1.0-amd64.patch, -files/4.1.0-gcc4.diff, -files/4.1.0-dssi.patch, diff --git a/media-sound/rosegarden/files/digest-rosegarden-1.5.1 b/media-sound/rosegarden/files/digest-rosegarden-1.5.1 new file mode 100644 index 000000000000..95c49085b2e6 --- /dev/null +++ b/media-sound/rosegarden/files/digest-rosegarden-1.5.1 @@ -0,0 +1,3 @@ +MD5 6bf152e54b62de22c67d9899e8f9d5c2 rosegarden-1.5.1.tar.bz2 6137509 +RMD160 dfddce14494fe0a8bdd89e08eb84929a899ea687 rosegarden-1.5.1.tar.bz2 6137509 +SHA256 bac5c3e6af0bbf3fa950a5b155591e13460717c32c14a9f841a9bef699f123ae rosegarden-1.5.1.tar.bz2 6137509 diff --git a/media-sound/rosegarden/files/rosegarden-1.5.1-asneeded.patch b/media-sound/rosegarden/files/rosegarden-1.5.1-asneeded.patch new file mode 100644 index 000000000000..55e40b1242f8 --- /dev/null +++ b/media-sound/rosegarden/files/rosegarden-1.5.1-asneeded.patch @@ -0,0 +1,36 @@ +Index: rosegarden-1.5.1/src/CMakeLists.txt +=================================================================== +--- rosegarden-1.5.1.orig/src/CMakeLists.txt ++++ rosegarden-1.5.1/src/CMakeLists.txt +@@ -74,6 +74,7 @@ IF(USE_PCH) + ENDIF(USE_PCH) + + TARGET_LINK_LIBRARIES(rosegardensequencer ++ RosegardenCommon + ${QT_AND_KDECORE_LIBS} + ${ALSA_LIBS} + ${JACK_LIBS} +@@ -81,7 +82,6 @@ TARGET_LINK_LIBRARIES(rosegardensequence + ${LRDF_LIBS} + ${FFTW3F_LIBS} + kdeui +- RosegardenCommon + ) + + # gui executable +@@ -105,6 +105,7 @@ IF(USE_PCH) + ENDIF(USE_PCH) + + TARGET_LINK_LIBRARIES(rosegarden ++ RosegardenCommon + ${QT_AND_KDECORE_LIBS} + ${LIBLO_LIBS} + ${LRDF_LIBS} +@@ -115,7 +116,6 @@ TARGET_LINK_LIBRARIES(rosegarden + kio + kdeui + kdeprint +- RosegardenCommon + ) + + # Install targets diff --git a/media-sound/rosegarden/rosegarden-1.5.1.ebuild b/media-sound/rosegarden/rosegarden-1.5.1.ebuild new file mode 100644 index 000000000000..246b36c9ccec --- /dev/null +++ b/media-sound/rosegarden/rosegarden-1.5.1.ebuild @@ -0,0 +1,85 @@ +# Copyright 1999-2007 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/media-sound/rosegarden/rosegarden-1.5.1.ebuild,v 1.1 2007/06/20 13:58:55 flameeyes Exp $ + +inherit eutils kde-functions + +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 jack dssi lirc debug" + +RDEPEND=" + alsa? ( >=media-libs/alsa-lib-1.0 + 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.1 + +LANGS="ca cs cy de en_GB en es et fr it ja nl ru sv zh_CN" + +for lang in $LANGS; do + IUSE="${IUSE} linguas_$lang" +done + +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 + + if use alsa && ! built_with_use --missing true media-libs/alsa-lib midi; then + eerror "" + eerror "To be able to build Rose Garden with ALSA support you need" + eerror "to have built media-libs/alsa-lib with midi USE flag." + die "Missing midi USE flag on media-libs/alsa-lib" + fi +} + +src_unpack() { + unpack ${A} + + cd "${S}" + epatch "${FILESDIR}/${P}-asneeded.patch" +} + +src_compile() { + local myconf="" + cmake . -DCMAKE_INSTALL_PREFIX=/usr \ + -DWANT_DEBUG="$(! use debug; echo "$?")" \ + -DWANT_FULLDBG="$(! use debug; echo "$?")" \ + -DWANT_SOUND="$(! use alsa; echo "$?")" \ + -DWANT_JACK="$(! use jack; echo "$?")" \ + -DWANT_DSSI="$(! use dssi; echo "$?")" \ + -DWANT_LIRC="$(! use lirc; echo "$?")" \ + || die "cmake failed" + + emake || die "emake failed" +} + +src_install() { + emake install DESTDIR="${D}" languages="$(echo $(echo "${LINGUAS} ${LANGS}" | fmt -w 1 | sort | uniq -d))" || die "emake install failed" + dodoc ChangeLog AUTHORS README TRANSLATORS +} |