diff options
Diffstat (limited to 'media-sound/musescore/musescore-0.9.2.ebuild')
-rw-r--r-- | media-sound/musescore/musescore-0.9.2.ebuild | 26 |
1 files changed, 8 insertions, 18 deletions
diff --git a/media-sound/musescore/musescore-0.9.2.ebuild b/media-sound/musescore/musescore-0.9.2.ebuild index 298040b074fd..95855967b471 100644 --- a/media-sound/musescore/musescore-0.9.2.ebuild +++ b/media-sound/musescore/musescore-0.9.2.ebuild @@ -1,9 +1,8 @@ -# Copyright 1999-2008 Gentoo Foundation +# Copyright 1999-2009 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/media-sound/musescore/musescore-0.9.2.ebuild,v 1.2 2008/06/13 23:07:31 mr_bones_ Exp $ - -EAPI=1 +# $Header: /var/cvsroot/gentoo-x86/media-sound/musescore/musescore-0.9.2.ebuild,v 1.3 2009/05/10 08:03:42 ssuominen Exp $ +EAPI=2 inherit cmake-utils eutils font MY_P=mscore-${PV} @@ -22,9 +21,9 @@ RDEPEND="sys-libs/zlib media-sound/fluidsynth media-sound/jack-audio-connection-kit media-libs/portaudio - || ( ( x11-libs/qt-gui:4 x11-libs/qt-svg:4 - x11-libs/qt-qt3support:4 ) - >=x11-libs/qt-4.3:4 )" + x11-libs/qt-gui:4 + x11-libs/qt-svg:4 + x11-libs/qt-qt3support:4" DEPEND="${RDEPEND} || ( dev-texlive/texlive-context app-text/tetex ) dev-util/pkgconfig" @@ -33,18 +32,9 @@ S=${WORKDIR}/${MY_P}/mscore VARTEXFONTS=${T}/fonts FONT_SUFFIX=otf FONT_S=${S}/mscore/fonts +MAKEOPTS="${MAKEOPTS} -j1" -pkg_setup() { - if has_version "=x11-libs/qt-4.3*"; then - local fail="Re-emerge =x11-libs/qt-4.3* with USE accessibility and qt3support." - built_with_use x11-libs/qt qt3support || die "${fail}" - built_with_use x11-libs/qt accessibility || die "${fail}" - fi -} - -src_unpack() { - unpack ${A} - cd "${S}" +src_prepare() { epatch "${FILESDIR}"/${P}-install.patch } |