aboutsummaryrefslogtreecommitdiffstats
path: root/community/musescore/APKBUILD
blob: ee6a7c4ccb82e270a4dc925f88d0ea55a8af297a (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
# Contributor: Justin Berthault <justin.berthault@zaclys.net>
# Maintainer: Justin Berthault <justin.berthault@zaclys.net>
pkgname=musescore
pkgver=3.6.2
pkgrel=0
pkgdesc="Create, play and print beautiful sheet music"
url="https://musescore.org/"
arch="all !armhf" # qt5-qtdeclarative
arch="$arch !mips !mips64 !s390x" # texlive
license="GPL-2.0-or-later"
depends="
	qt5-qtbase
	qt5-qtgraphicaleffects
	qt5-qtquickcontrols2
	"
install="$pkgname.pre-install $pkgname.pre-upgrade"
makedepends="
	ccache
	cmake
	doxygen
	jack-dev
	lame-dev
	libsndfile-dev
	portaudio-dev
	portmidi-dev
	pulseaudio-dev
	qt5-qtbase-dev
	qt5-qtquickcontrols2-dev
	qt5-qtdeclarative-dev
	qt5-qtscript-dev
	qt5-qtsvg-dev
	qt5-qttools-dev
	qt5-qtwebchannel-dev
	qt5-qtlocation-dev
	qt5-qtxmlpatterns-dev
	qtchooser
	texlive-dev
	"
source="$pkgname-$pkgver.tar.gz::https://github.com/musescore/MuseScore/archive/v$pkgver.tar.gz"
options="!check" # no testsuit provided
builddir="$srcdir"/MuseScore-$pkgver

build() {
	make PREFIX=/usr BUILD_WEBENGINE=OFF USE_SYSTEM_FREETYPE=ON revision release
}

package() {
	DESTDIR="$pkgdir" make UPDATE_CACHE=FALSE -C build.release install
}

sha512sums="04ff1ddd82358c070640f81bbaa9c47c5da95aa57c56a5d1b975ad984744e0def17d5581da6bbeda1aae1c68470100d104d4f8a39ba33bf37bf8891ffcbf1d6e  musescore-3.6.2.tar.gz"