diff options
author | Carsten Lohrke <carlo@gentoo.org> | 2007-12-23 12:56:27 +0000 |
---|---|---|
committer | Carsten Lohrke <carlo@gentoo.org> | 2007-12-23 12:56:27 +0000 |
commit | b0d4d6cd0ee1762b4e52f55f17f2e5d06ad22738 (patch) | |
tree | c33bc57ba928f30143e58fc84eb9933f8db056be | |
parent | alpha/ia64/sparc/x86 stable (diff) | |
download | gentoo-2-b0d4d6cd0ee1762b4e52f55f17f2e5d06ad22738.tar.gz gentoo-2-b0d4d6cd0ee1762b4e52f55f17f2e5d06ad22738.tar.bz2 gentoo-2-b0d4d6cd0ee1762b4e52f55f17f2e5d06ad22738.zip |
Version bump.
(Portage version: 2.1.3.19)
-rw-r--r-- | media-sound/rosegarden/ChangeLog | 9 | ||||
-rw-r--r-- | media-sound/rosegarden/files/digest-rosegarden-1.6.1 | 3 | ||||
-rw-r--r-- | media-sound/rosegarden/files/rosegarden-1.6.1-asneeded.patch | 46 | ||||
-rw-r--r-- | media-sound/rosegarden/files/rosegarden-1.6.1.desktop.diff | 16 | ||||
-rw-r--r-- | media-sound/rosegarden/rosegarden-1.6.1.ebuild | 85 |
5 files changed, 158 insertions, 1 deletions
diff --git a/media-sound/rosegarden/ChangeLog b/media-sound/rosegarden/ChangeLog index 8e473597ecf0..c82361ca6604 100644 --- a/media-sound/rosegarden/ChangeLog +++ b/media-sound/rosegarden/ChangeLog @@ -1,6 +1,13 @@ # 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.47 2007/07/02 15:18:49 flameeyes Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-sound/rosegarden/ChangeLog,v 1.48 2007/12/23 12:56:26 carlo Exp $ + +*rosegarden-1.6.1 (23 Dec 2007) + + 23 Dec 2007; Carsten Lohrke <carlo@gentoo.org> + +files/rosegarden-1.6.1-asneeded.patch, + +files/rosegarden-1.6.1.desktop.diff, +rosegarden-1.6.1.ebuild: + Version bump. 02 Jul 2007; Diego Pettenò <flameeyes@gentoo.org> metadata.xml: Hand to newly-born proaudio herd. diff --git a/media-sound/rosegarden/files/digest-rosegarden-1.6.1 b/media-sound/rosegarden/files/digest-rosegarden-1.6.1 new file mode 100644 index 000000000000..110454472014 --- /dev/null +++ b/media-sound/rosegarden/files/digest-rosegarden-1.6.1 @@ -0,0 +1,3 @@ +MD5 60efd0d0afcb3632d8188ef25082bcf9 rosegarden-1.6.1.tar.bz2 6952370 +RMD160 0efd9dea8719dcaaadef36843d66532dd3c88b71 rosegarden-1.6.1.tar.bz2 6952370 +SHA256 3375f3ffd409b9270f6de03aa39537e9a8477d181825b732abfe72204fec28ce rosegarden-1.6.1.tar.bz2 6952370 diff --git a/media-sound/rosegarden/files/rosegarden-1.6.1-asneeded.patch b/media-sound/rosegarden/files/rosegarden-1.6.1-asneeded.patch new file mode 100644 index 000000000000..d26278837412 --- /dev/null +++ b/media-sound/rosegarden/files/rosegarden-1.6.1-asneeded.patch @@ -0,0 +1,46 @@ +--- src/CMakeLists.txt.old 2007-12-23 03:23:48.000000000 +0100 ++++ src/CMakeLists.txt 2007-12-23 03:25:36.000000000 +0100 +@@ -73,15 +73,15 @@ + ADD_DEPENDENCIES(rosegardensequencer precompiled_headers) + ENDIF(USE_PCH) + +-TARGET_LINK_LIBRARIES(rosegardensequencer +- ${QT_AND_KDECORE_LIBS} +- ${ALSA_LIBS} ++TARGET_LINK_LIBRARIES(rosegardensequencer ++ RosegardenCommon ++ ${QT_AND_KDECORE_LIBS} ++ ${ALSA_LIBS} + ${JACK_LIBS} + ${LIBLO_LIBS} + ${LRDF_LIBS} + ${FFTW3F_LIBS} + kdeui +- RosegardenCommon + ) + + # gui executable +@@ -135,7 +135,11 @@ + ENDIF(USE_PCH) + + TARGET_LINK_LIBRARIES(rosegarden +- ${QT_AND_KDECORE_LIBS} ++ RosegardenExtended ++ RosegardenSegmentCanvas ++ RosegardenCommands ++ RosegardenCommon ++ ${QT_AND_KDECORE_LIBS} + ${LIBLO_LIBS} + ${LRDF_LIBS} + ${FFTW3F_LIBS} +@@ -145,10 +149,6 @@ + kio + kdeui + kdeprint +- RosegardenExtended +- RosegardenSegmentCanvas +- RosegardenCommands +- RosegardenCommon + ) + + # Install targets diff --git a/media-sound/rosegarden/files/rosegarden-1.6.1.desktop.diff b/media-sound/rosegarden/files/rosegarden-1.6.1.desktop.diff new file mode 100644 index 000000000000..45ff852877e5 --- /dev/null +++ b/media-sound/rosegarden/files/rosegarden-1.6.1.desktop.diff @@ -0,0 +1,16 @@ +--- ./data/desktop/rosegarden.desktop.old 2007-12-22 22:55:32.000000000 +0100 ++++ ./data/desktop/rosegarden.desktop 2007-12-22 22:56:13.000000000 +0100 +@@ -1,11 +1,10 @@ + [Desktop Entry] +-Encoding=UTF-8 + Type=Application + Categories=AudioVideo;Audio;Midi;Sequencer;X-SuSE-Sequencer;X-Red-Hat-Base; + Exec=rosegarden -caption "%c" %i %m +-MimeType=audio/x-rosegarden;audio/x-rosegarden-device ++MimeType=audio/x-rosegarden;audio/x-rosegarden-device; + X-KDE-NativeMimeType=audio/x-rosegarden +-Icon=rosegarden.png ++Icon=rosegarden + DocPath=rosegarden/index.html + Comment=MIDI and Audio Sequencer and Editor + Terminal=false diff --git a/media-sound/rosegarden/rosegarden-1.6.1.ebuild b/media-sound/rosegarden/rosegarden-1.6.1.ebuild new file mode 100644 index 000000000000..9b01b677cab0 --- /dev/null +++ b/media-sound/rosegarden/rosegarden-1.6.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.6.1.ebuild,v 1.1 2007/12/23 12:56:26 carlo 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.5 + +LANGS="ca cs cy de en_GB en es et eu fi fr it ja nl pl 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}/rosegarden-1.6.1-asneeded.patch" \ + "${FILESDIR}/rosegarden-1.6.1.desktop.diff" +} + +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 +} |