diff options
author | Samuli Suominen <drac@gentoo.org> | 2007-07-30 15:02:24 +0000 |
---|---|---|
committer | Samuli Suominen <drac@gentoo.org> | 2007-07-30 15:02:24 +0000 |
commit | f19be72fe5ab90413c4110b0bfed6b5b11f22624 (patch) | |
tree | 47b51f5f512093545a991396601fbc1aa4411f2c /media-sound/musescore | |
parent | Stable on sparc wrt #186953 (diff) | |
download | gentoo-2-f19be72fe5ab90413c4110b0bfed6b5b11f22624.tar.gz gentoo-2-f19be72fe5ab90413c4110b0bfed6b5b11f22624.tar.bz2 gentoo-2-f19be72fe5ab90413c4110b0bfed6b5b11f22624.zip |
Version bump for bug 107848, thanks to kavol <at> email.cz for original ebuild and information.
(Portage version: 2.1.3)
Diffstat (limited to 'media-sound/musescore')
-rw-r--r-- | media-sound/musescore/ChangeLog | 8 | ||||
-rw-r--r-- | media-sound/musescore/files/digest-musescore-0.6.0 | 3 | ||||
-rw-r--r-- | media-sound/musescore/musescore-0.6.0.ebuild | 66 |
3 files changed, 76 insertions, 1 deletions
diff --git a/media-sound/musescore/ChangeLog b/media-sound/musescore/ChangeLog index 45860dc6738b..7ff75ce93087 100644 --- a/media-sound/musescore/ChangeLog +++ b/media-sound/musescore/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for media-sound/musescore # Copyright 2000-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/media-sound/musescore/ChangeLog,v 1.10 2007/02/09 07:58:28 flameeyes Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-sound/musescore/ChangeLog,v 1.11 2007/07/30 15:02:24 drac Exp $ + +*musescore-0.6.0 (30 Jul 2007) + + 30 Jul 2007; Samuli Suominen <drac@gentoo.org> +musescore-0.6.0.ebuild: + Version bump for bug 107848, thanks to kavol <at> email.cz for original + ebuild and information. 09 Feb 2007; Diego Pettenò <flameeyes@gentoo.org> ChangeLog: Regenerate digest in Manifest2 format. diff --git a/media-sound/musescore/files/digest-musescore-0.6.0 b/media-sound/musescore/files/digest-musescore-0.6.0 new file mode 100644 index 000000000000..75d0614b5aa6 --- /dev/null +++ b/media-sound/musescore/files/digest-musescore-0.6.0 @@ -0,0 +1,3 @@ +MD5 c37a87e6f3fdd7b92b1e4332bc2553d7 mscore-0.6.0.tar.bz2 7697978 +RMD160 0d35be814207c4c4054492bd82d1b314c7d0360f mscore-0.6.0.tar.bz2 7697978 +SHA256 34edbcffa5db8c4644bad4fdb3116055f1e6a138334b4481a9b02bc12d8735d7 mscore-0.6.0.tar.bz2 7697978 diff --git a/media-sound/musescore/musescore-0.6.0.ebuild b/media-sound/musescore/musescore-0.6.0.ebuild new file mode 100644 index 000000000000..de6602764238 --- /dev/null +++ b/media-sound/musescore/musescore-0.6.0.ebuild @@ -0,0 +1,66 @@ +# Copyright 1999-2007 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/media-sound/musescore/musescore-0.6.0.ebuild,v 1.1 2007/07/30 15:02:24 drac Exp $ + +inherit eutils font toolchain-funcs + +MY_P=${P/musescore/mscore} + +DESCRIPTION="WYSIWYG Music Score Typesetter" +HOMEPAGE="http://mscore.sourceforge.net" +SRC_URI="mirror://sourceforge/mscore/${MY_P}.tar.bz2" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~sparc ~x86" +IUSE="doc jack" + +RDEPEND=">=x11-libs/qt-4.3 + media-sound/fluidsynth + media-libs/alsa-lib + jack? ( media-sound/jack-audio-connection-kit )" +DEPEND="${RDEPEND} + >=dev-util/cmake-2.4.6 + dev-util/pkgconfig + doc? ( virtual/tetex app-doc/doxygen )" + +S="${WORKDIR}"/${MY_P} +BUILDDIR="${S}"/build +FONT_SUFFIX="otf" +FONT_S="${S}"/mscore/mscore/fonts + +pkg_setup() { + if ! built_with_use ">=x11-libs/qt-4.3" qt3support; then + eerror "x11-libs/qt is built without qt3support." + die "re-emerge x11-libs/qt with USE qt3support." + fi +} + +src_compile() { + mkdir "${BUILDDIR}" + cd "${BUILDDIR}" + + cmake \ + -DCMAKE_VERBOSE_MAKEFILE="ON" \ + -DCMAKE_INSTALL_PREFIX="/usr" \ + -DCMAKE_C_COMPILER="$(type -P $(tc-getCC))" \ + -DCMAKE_CXX_COMPILER="$(type -P $(tc-getCXX))" \ + -DCMAKE_C_FLAGS="${CFLAGS}" \ + -DCMAKE_CXX_FLAGS="${CXXFLAGS}" \ + -DCMAKE_LD_FLAGS="${LDFLAGS}" \ + ../mscore || die "cmake failed." + + emake || die "emake failed." +} + +src_install() { + cd "${BUILDDIR}" + emake DESTDIR="${D}" install || die "emake install failed." + + font_src_install + + cd "${S}"/mscore + dodoc ChangeLog NEWS README TODO doc/{MANUAL,README*} + + make_desktop_entry mscore "MuseScore" +} |