Musescore 2.0 for Gentoo
I've made ebuild to musescore-2.0. It requires to add dev-qt/* ~amd64 or dev-qt/* ~x86 to /etc/portage/package.accept_keywords .
############### ===========================================
# Copyright 2015 Artur Wrona
# e-mail: arturwrona91@gmail.com
# Distributed under the terms of the GNU General Public License v2
#
EAPI=5
inherit eutils font
MY_P="MuseScore-2.0.0"
DESCRIPTION="WYSIWYG Music Score Typesetter"
HOMEPAGE="http://mscore.sourceforge.net"
SRC_URI="mirror://sourceforge/mscore/MuseScore-2.0.0.zip"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""
RDEPEND="media-libs/alsa-lib
media-libs/libsndfile
media-libs/portaudio
media-sound/fluidsynth
media-sound/jack-audio-connection-kit
sys-libs/zlib
dev-qt/qtcore:5
dev-qt/qtgui:5
dev-qt/qtscript:5
dev-qt/qtsvg:5
dev-qt/qthelp:5
"
DEPEND="${RDEPEND}
dev-texlive/texlive-context
app-doc/doxygen
virtual/pkgconfig"
S="${WORKDIR}/${MY_P}"
#VARTEXFONTS="${T}/fonts"
#FONT_SUFFIX="ttf"
#FONT_S="${S}/fonts"
#src_prepare() {
# # don't build redundant qtscriptgenerator libs
# sed -i '/^set(BUILD_SCRIPTGEN/s/TRUE/FALSE/' CMakeLists.txt || die
#
#epatch "${FILESDIR}"/mscore-paths.patch
#
#}
#src_compile() {
#cd ${S}
# emake
#
#}
src_install() {
# cd ${S}
emake INSTALL_ROOT="${D}" install
font_src_install
dodoc ChangeLog NEWS README
doman packaging/mscore.1
}
###############################
I don't know if is that good well I'm open to propositions
Comments
Please talk with the gentoo people https://bugs.gentoo.org/show_bug.cgi?id=544450