summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuli Suominen <drac@gentoo.org>2008-06-13 19:35:11 +0000
committerSamuli Suominen <drac@gentoo.org>2008-06-13 19:35:11 +0000
commitdb802ad621855f5a4d461300044ea8da4514c6b7 (patch)
tree337f8745c3de3d4a83d690967758eb0a37c36c1c /media-sound/musescore/musescore-0.9.2.ebuild
parent~ppc added (bug #207746) (diff)
downloadgentoo-2-db802ad621855f5a4d461300044ea8da4514c6b7.tar.gz
gentoo-2-db802ad621855f5a4d461300044ea8da4514c6b7.tar.bz2
gentoo-2-db802ad621855f5a4d461300044ea8da4514c6b7.zip
Version bump.
(Portage version: 2.1.5.4)
Diffstat (limited to 'media-sound/musescore/musescore-0.9.2.ebuild')
-rw-r--r--media-sound/musescore/musescore-0.9.2.ebuild56
1 files changed, 56 insertions, 0 deletions
diff --git a/media-sound/musescore/musescore-0.9.2.ebuild b/media-sound/musescore/musescore-0.9.2.ebuild
new file mode 100644
index 000000000000..a345364a1068
--- /dev/null
+++ b/media-sound/musescore/musescore-0.9.2.ebuild
@@ -0,0 +1,56 @@
+# Copyright 1999-2008 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.1 2008/06/13 19:35:11 drac Exp $
+
+EAPI=1
+
+inherit cmake-utils eutils font
+
+MY_P=mscore-${PV}
+
+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="~amd64 ~sparc ~x86"
+IUSE=""
+
+RDEPEND="sys-libs/zlib
+ media-libs/alsa-lib
+ 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 )"
+DEPEND="${RDEPEND}
+ || ( dev-texlive/texlive-context app-text/tetex )
+ dev-util/pkgconfig"
+
+S=${WORKDIR}/${MY_P}/mscore
+VARTEXFONTS=${T}/fonts
+FONT_SUFFIX=otf
+FONT_S=${S}/mscore/fonts
+
+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}"
+ epatch "${FILESDIR}"/${P}-install.patch
+}
+
+src_install() {
+ cmake-utils_src_install
+ font_src_install
+ dodoc ChangeLog NEWS README
+ doman packaging/mscore.1
+}