[proaudio] [1056] add musescore amd64 keyworded |
[ Thread Index |
Date Index
| More lists.tuxfamily.org/proaudio Archives
]
Revision: 1056
Author: gimpel
Date: 2007-12-17 11:16:22 +0000 (Mon, 17 Dec 2007)
Log Message:
-----------
add musescore amd64 keyworded
Added Paths:
-----------
trunk/overlays/proaudio/media-sound/musescore/
trunk/overlays/proaudio/media-sound/musescore/Manifest
trunk/overlays/proaudio/media-sound/musescore/files/
trunk/overlays/proaudio/media-sound/musescore/musescore-0.7.0.1.ebuild
Added: trunk/overlays/proaudio/media-sound/musescore/Manifest
===================================================================
--- trunk/overlays/proaudio/media-sound/musescore/Manifest (rev 0)
+++ trunk/overlays/proaudio/media-sound/musescore/Manifest 2007-12-17 11:16:22 UTC (rev 1056)
@@ -0,0 +1,2 @@
+DIST mscore-0.7.0.1.tar.bz2 7623226 RMD160 165f9070eacb02b1e81bcc47638167df36c88c1e SHA1 858792ab4e0caeafda4d8746aa8d7c011e29d13c SHA256 827d6b79fc7c05f29ac67eb72b7482ff3159ddf164f9bb76fd884897a4b1eeed
+EBUILD musescore-0.7.0.1.ebuild 1674 RMD160 c302dd1a929b43d3277341f1ea42d4bd310af754 SHA1 ec0102e8b1defc643623f5f7fd5462be557d1cfd SHA256 c004b07a8a5a2d8da7109ac1e0722863aae9421a4de4a8753b010f295fa2dd60
Added: trunk/overlays/proaudio/media-sound/musescore/musescore-0.7.0.1.ebuild
===================================================================
--- trunk/overlays/proaudio/media-sound/musescore/musescore-0.7.0.1.ebuild (rev 0)
+++ trunk/overlays/proaudio/media-sound/musescore/musescore-0.7.0.1.ebuild 2007-12-17 11:16:22 UTC (rev 1056)
@@ -0,0 +1,69 @@
+# 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.7.0.1.ebuild,v 1.1 2007/10/03 17:44:56 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 ~amd64"
+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/.1}
+BUILDDIR="${S}"/build
+FONT_SUFFIX="otf"
+FONT_S="${S}"/mscore/mscore/fonts
+
+pkg_setup() {
+ local failure="re-emerge x11-libs/qt with qt3support."
+
+ if ! built_with_use ">=x11-libs/qt-4.3" qt3support; then
+ eerror "${failure}"
+ die "${failure}"
+ 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 doc/README.translate
+
+ doicon mscore/data/mscore.png
+ make_desktop_entry mscore MuseScore mscore
+}