summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2018-08-17 23:24:14 +0200
committerAndreas Sturmlechner <asturm@gentoo.org>2018-08-18 00:02:02 +0200
commite6afd0247a9d58619db12cc83225c6c58337ead9 (patch)
tree983c294a25cffa6ee4f7455e5c75e56890d81cc7 /media-sound/musescore
parentmedia-libs/avidemux-plugins: Fix build with Qt 5.11 (diff)
downloadgentoo-e6afd0247a9d58619db12cc83225c6c58337ead9.tar.gz
gentoo-e6afd0247a9d58619db12cc83225c6c58337ead9.tar.bz2
gentoo-e6afd0247a9d58619db12cc83225c6c58337ead9.zip
media-sound/musescore: Fix build with Qt 5.11
Closes: https://bugs.gentoo.org/661784 Package-Manager: Portage-2.3.46, Repoman-2.3.10
Diffstat (limited to 'media-sound/musescore')
-rw-r--r--media-sound/musescore/files/musescore-2.1.0-qt-5.11.patch21
-rw-r--r--media-sound/musescore/musescore-2.1.0.ebuild5
2 files changed, 25 insertions, 1 deletions
diff --git a/media-sound/musescore/files/musescore-2.1.0-qt-5.11.patch b/media-sound/musescore/files/musescore-2.1.0-qt-5.11.patch
new file mode 100644
index 000000000000..09932062de57
--- /dev/null
+++ b/media-sound/musescore/files/musescore-2.1.0-qt-5.11.patch
@@ -0,0 +1,21 @@
+From 9c8a8ffe0cbb00ee93a10fe245da01a4d32ca086 Mon Sep 17 00:00:00 2001
+From: Orcan Ogetbil <orcan@localhost.localdomain>
+Date: Thu, 31 May 2018 21:04:51 -0400
+Subject: [PATCH] added missing #include <QButtonGroup> required by qt >= 5.11
+
+---
+ all.h | 1 +
+ 1 file changed, 1 insertion(+)
+
+diff --git a/all.h b/all.h
+index 72db72b0ec..2ee0e8e807 100644
+--- a/all.h
++++ b/all.h
+@@ -131,6 +131,7 @@
+ #include <QProgressBar>
+ #include <QProgressDialog>
+ #include <QRadioButton>
++#include <QButtonGroup>
+ #include <QSplashScreen>
+ #include <QFontComboBox>
+ #include <QApplication> \ No newline at end of file
diff --git a/media-sound/musescore/musescore-2.1.0.ebuild b/media-sound/musescore/musescore-2.1.0.ebuild
index c5eb58ccd824..71798fdc8e9b 100644
--- a/media-sound/musescore/musescore-2.1.0.ebuild
+++ b/media-sound/musescore/musescore-2.1.0.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=6
@@ -41,9 +41,12 @@ DEPEND="${RDEPEND}
dev-qt/linguist-tools:5
virtual/pkgconfig
"
+
PATCHES=(
"${WORKDIR}/${PN}-2.1.0-fix-buildsystem.patch"
+ "${FILESDIR}/${PN}-2.1.0-qt-5.11.patch"
)
+
S="${WORKDIR}/MuseScore-${PV}"
src_configure() {