mirror of
https://gitdl.cn/https://github.com/chakralinux/desktop.git
synced 2025-02-03 04:47:15 +08:00
[skip-ci] musescore: fixed build with Qt5.11
This commit is contained in:
parent
be0fff58bc
commit
5a6bc9a428
@ -1,20 +1,27 @@
|
|||||||
pkgname=musescore
|
pkgname=musescore
|
||||||
_pkgname=MuseScore
|
_pkgname=MuseScore
|
||||||
pkgver=2.2.1
|
pkgver=2.2.1
|
||||||
pkgrel=1
|
pkgrel=2
|
||||||
pkgdesc="A music score editor written in Qt"
|
pkgdesc="A music score editor written in Qt"
|
||||||
arch=('x86_64')
|
arch=('x86_64')
|
||||||
url="http://www.musescore.org/en/"
|
url="http://www.musescore.org/en/"
|
||||||
license=('GPL')
|
license=('GPL')
|
||||||
depends=('libpulse' 'portaudio' 'qt5-quickcontrols' 'qt5-svg' 'qt5-tools' 'qt5-webkit')
|
depends=('libpulse' 'portaudio' 'qt5-quickcontrols' 'qt5-svg' 'qt5-tools' 'qt5-webkit' 'portmidi')
|
||||||
makedepends=('cmake' 'doxygen' 'lame' 'qt5-script' 'texlive-core')
|
makedepends=('cmake' 'doxygen' 'lame' 'qt5-script' 'texlive-core')
|
||||||
optdepends=('lame: MP3 export')
|
optdepends=('lame: MP3 export')
|
||||||
categories=('multimedia')
|
categories=('multimedia')
|
||||||
install=musescore.install
|
install=musescore.install
|
||||||
source=("$pkgname-$pkgver.tar.gz::https://github.com/$pkgname/$_pkgname/archive/v$pkgver.tar.gz"
|
source=("$pkgname-$pkgver.tar.gz::https://github.com/$pkgname/$_pkgname/archive/v$pkgver.tar.gz"
|
||||||
'musescore.conf')
|
'musescore.conf'
|
||||||
|
'qt511.patch')
|
||||||
sha256sums=('261a39e34ee314780f75259ec2971acf69b5f4a2e0b2eb190acdb7fbbd4a89d6'
|
sha256sums=('261a39e34ee314780f75259ec2971acf69b5f4a2e0b2eb190acdb7fbbd4a89d6'
|
||||||
'397b5431137d468a64b768670efdf385c27cb7298ee9295a32323a2610427928')
|
'397b5431137d468a64b768670efdf385c27cb7298ee9295a32323a2610427928'
|
||||||
|
'4f3eff67731af1ba05fb29c56ba70a8e244f365c2e6f71f169a6787a8e63a812')
|
||||||
|
|
||||||
|
prepare() {
|
||||||
|
# Fix Qt 5.11 build - taken from https://github.com/musescore/MuseScore/commit/d10e70415c8e52e2ba9d45de564467e42f66c102#diff-b7ba372d02405ba296d1238b72a5b70c
|
||||||
|
patch -i qt511.patch
|
||||||
|
}
|
||||||
|
|
||||||
build() {
|
build() {
|
||||||
cd $_pkgname-$pkgver
|
cd $_pkgname-$pkgver
|
||||||
|
10
musescore/qt511.patch
Normal file
10
musescore/qt511.patch
Normal file
@ -0,0 +1,10 @@
|
|||||||
|
--- a/MuseScore-2.2.1/all.h 2018-04-03 14:22:48.000000000 +0100
|
||||||
|
+++ b/MuseScore-2.2.1/all.h 2018-06-27 09:34:56.542724682 +0100
|
||||||
|
@@ -113,6 +113,7 @@
|
||||||
|
#include <QProgressBar>
|
||||||
|
#include <QProgressDialog>
|
||||||
|
#include <QRadioButton>
|
||||||
|
+#include <QButtonGroup>
|
||||||
|
#include <QSplashScreen>
|
||||||
|
#include <QFontComboBox>
|
||||||
|
#include <QApplication>
|
Loading…
Reference in New Issue
Block a user