blob: 1f1ccd980ff9fbaae3435f418bb6957c3a75f158 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
|
# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=6
inherit cmake-utils git-r3
DESCRIPTION="WYSIWYG Music Score Typesetter"
HOMEPAGE="http://musescore.org/"
EGIT_REPO_URI="git://github.com/musescore/MuseScore.git"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS=""
IUSE="alsa debug jack mp3 portaudio pulseaudio"
RDEPEND="
dev-qt/designer:5
dev-qt/qtconcurrent:5
dev-qt/qtcore:5
dev-qt/qtdeclarative:5
dev-qt/qtgui:5
dev-qt/qthelp:5
dev-qt/qtprintsupport:5
dev-qt/qtsvg:5
dev-qt/qtwebengine:5[widgets]
dev-qt/qtwebkit:5
dev-qt/qtxmlpatterns:5
>=media-libs/freetype-2.5.2
media-libs/libsndfile
sys-libs/zlib
alsa? ( >=media-libs/alsa-lib-1.0.0 )
jack? ( media-sound/jack-audio-connection-kit )
mp3? ( media-sound/lame )
portaudio? ( media-libs/portaudio )
pulseaudio? ( media-sound/pulseaudio )
"
DEPEND="${RDEPEND}
dev-qt/linguist-tools:5
virtual/pkgconfig
"
PATCHES=(
"${FILESDIR}/${P}-fix-buildsystem.patch"
)
src_configure() {
local mycmakeargs=(
-DBUILD_ALSA="$(usex alsa)"
-DBUILD_JACK="$(usex jack)"
-DBUILD_LAME="$(usex mp3)"
-DBUILD_PORTAUDIO="$(usex portaudio)"
-DBUILD_PULSEAUDIO="$(usex pulseaudio)"
)
cmake-utils_src_configure
}
src_compile() {
cd "${BUILD_DIR}" || die
cmake-utils_src_make -j1 lrelease manpages
cmake-utils_src_compile
}
|