summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMiroslav Šulc <fordfrog@gentoo.org>2017-12-15 17:08:53 +0100
committerMiroslav Šulc <fordfrog@gentoo.org>2017-12-15 17:09:17 +0100
commit3313441aaa4f2b51b92b2d0bda00b37109173886 (patch)
tree9f36d73b1955f258262b08cd6ec73a725429b3a6 /media-sound
parentpackage.mask: Mask dev-db/phppgadmin (diff)
downloadgentoo-3313441aaa4f2b51b92b2d0bda00b37109173886.tar.gz
gentoo-3313441aaa4f2b51b92b2d0bda00b37109173886.tar.bz2
gentoo-3313441aaa4f2b51b92b2d0bda00b37109173886.zip
media-sound/musescore: updated the live ebuild from the latest ebuild and fixed unpack issue (still the patch does not apply but that's different issue)
Package-Manager: Portage-2.3.18, Repoman-2.3.6
Diffstat (limited to 'media-sound')
-rw-r--r--media-sound/musescore/musescore-9999.ebuild13
1 files changed, 10 insertions, 3 deletions
diff --git a/media-sound/musescore/musescore-9999.ebuild b/media-sound/musescore/musescore-9999.ebuild
index 8fb501377442..09988cf9c632 100644
--- a/media-sound/musescore/musescore-9999.ebuild
+++ b/media-sound/musescore/musescore-9999.ebuild
@@ -13,7 +13,8 @@ SRC_URI="https://dev.gentoo.org/~mgorny/dist/${P}-fix-buildsystem.patch.bz2"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS=""
-IUSE="alsa debug jack mp3 portaudio pulseaudio"
+IUSE="alsa debug jack mp3 portaudio portmidi pulseaudio"
+REQUIRED_USE="portmidi? ( portaudio )"
RDEPEND="
dev-qt/designer:5
@@ -24,16 +25,16 @@ RDEPEND="
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 )
+ jack? ( virtual/jack )
mp3? ( media-sound/lame )
portaudio? ( media-libs/portaudio )
+ portmidi? ( media-libs/portmidi )
pulseaudio? ( media-sound/pulseaudio )
"
DEPEND="${RDEPEND}
@@ -44,12 +45,18 @@ PATCHES=(
"${WORKDIR}/${P}-fix-buildsystem.patch"
)
+src_unpack() {
+ git-r3_src_unpack
+ default_src_unpack
+}
+
src_configure() {
local mycmakeargs=(
-DBUILD_ALSA="$(usex alsa)"
-DBUILD_JACK="$(usex jack)"
-DBUILD_LAME="$(usex mp3)"
-DBUILD_PORTAUDIO="$(usex portaudio)"
+ -DBUILD_PORTMIDI="$(usex portmidi)"
-DBUILD_PULSEAUDIO="$(usex pulseaudio)"
)
cmake-utils_src_configure