blob: 18bb438a7452072c36f69aed68c4b3ec3eab7d40 (
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
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
|
# Maintainer: Eckso <eckso@eckso.io>
# Contributor: Clemmitt Sigler <cmsigler.online@gmail.com>
# Contributor: Maxime Gauduin <alucryd@archlinux.org>
# Contributor: Stefan Husmann <stefan-husmann@t-online.de>
# Contributor: Cristian Maureira <saint@archlinux.cl>
# Contributor: Dr.Egg <rwhite@archlinux.us>
# Contributor: Assarsson
pkgname=musescore3-git
pkgver=3.7.0.r20338.f391d7b
pkgrel=1
pkgdesc='Create, play and print beautiful sheet music (Jojo Schmitz fork)'
arch=(x86_64)
url=https://musescore.org/
license=(GPL)
groups=(pro-audio)
conflicts=(musescore3)
provides=(musescore3)
depends=(
alsa-lib
freetype2
libpulse
libsndfile
libvorbis
portaudio
portmidi
qt5-base
qt5-declarative
qt5-graphicaleffects
qt5-quickcontrols
qt5-quickcontrols2
qt5-svg
qt5-tools
qt5-xmlpatterns
zlib
)
makedepends=(
cmake
doxygen
git
lame
texlive-core
)
optdepends=('lame: MP3 export')
_commit="f391d7b1c0f6a82d8f960c2f2e917505cb341968"
source=(
"git+https://github.com/Jojo-Schmitz/MuseScore.git#commit=$_commit"
"dtl-gcc14-fix.patch"
)
sha256sums=(
SKIP
'84cd977e5aa7b8bdc3e3652cfd8dda125bc100a919c6dd023c5bef0e6239f112'
)
pkgver() {
cd MuseScore
printf "%s.r%s.%s" \
"$(grep ^Version= build/PortableApps/appinfo.ini.in | cut -d = -f 2 | tr -d '\r')" \
"$(git rev-list --count HEAD)" \
"$(git rev-parse --short=7 HEAD)"
}
build() {
cmake -S MuseScore -B build \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_C_FLAGS_RELEASE="$CFLAGS" \
-DCMAKE_CXX_FLAGS_RELEASE="$CXXFLAGS" \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_SKIP_RPATH=ON \
-DBUILD_CRASH_REPORTER=OFF \
-DBUILD_TELEMETRY_MODULE=OFF \
-DBUILD_WEBENGINE=OFF \
-DDOWNLOAD_SOUNDFONT=OFF \
-DMUSESCORE_BUILD_CONFIG=release \
-DMUSESCORE_REVISION=${_commit:0:7} \
-DPACKAGE_FILE_ASSOCIATION=ON \
-DUSE_SYSTEM_FREETYPE=ON \
-Wno-dev \
-DMSCORE_INSTALL_SUFFIX=3
make -j1 lrelease manpages -C build
make -C build
}
package() {
make DESTDIR="${pkgdir}" install -C build
}
prepare() {
cd MuseScore
patch --strip=1 --input=../dtl-gcc14-fix.patch
}
# vim: ts=2 sw=2 et:
|