diff options
author | bill-auger <mr.j.spam.me@gmail.com> | 2019-10-20 18:26:06 -0400 |
---|---|---|
committer | bill-auger <mr.j.spam.me@gmail.com> | 2019-10-22 11:22:03 -0400 |
commit | 1fda61d121d8317babb58b28675912904892831a (patch) | |
tree | 4f8ef3e6eb33f31bb9efb031abb5dcd775691f63 /libre/musescore | |
parent | 1bfb1d0d8e8cbb7d8e8c350031176f9cda9048e9 (diff) | |
download | abslibre-1fda61d121d8317babb58b28675912904892831a.tar.gz abslibre-1fda61d121d8317babb58b28675912904892831a.tar.bz2 abslibre-1fda61d121d8317babb58b28675912904892831a.zip |
[musescore]: add package to [libre]
Diffstat (limited to 'libre/musescore')
-rw-r--r-- | libre/musescore/PKGBUILD | 60 |
1 files changed, 60 insertions, 0 deletions
diff --git a/libre/musescore/PKGBUILD b/libre/musescore/PKGBUILD new file mode 100644 index 000000000..e92f05b88 --- /dev/null +++ b/libre/musescore/PKGBUILD @@ -0,0 +1,60 @@ +# Maintainer (arch): Maxime Gauduin <alucryd@archlinux.org> +# Contributor (arch): Stefan Husmann <stefan-husmann@t-online.de> +# Contributor (arch): Cristian Maureira <saint@archlinux.cl> +# Contributor (arch): Dr.Egg <rwhite@archlinux.us> +# Maintainer: bill-auger <bill-auger@programmer.net> + +# parabola changes and rationale: +# - remove qt5-webengine support (redmine #2136) + + +pkgname=musescore +pkgver=3.2.3 +pkgrel=1 +pkgrel+=.parabola1 +pkgdesc='Create, play and print beautiful sheet music' +arch=(x86_64) +arch+=('armv7h' 'i686') +url=https://musescore.org/ +license=(GPL) +depends=( \ + alsa-lib \ + freetype2 \ + libpulse \ + libsndfile \ + libvorbisfile.so \ + portaudio \ + portmidi \ + qt5-base \ + qt5-declarative \ + qt5-quickcontrols \ + qt5-svg \ + qt5-tools \ + qt5-xmlpatterns \ + zlib \ +) +makedepends=( \ + cmake \ + doxygen \ + git \ + lame \ + qt5-script \ + texlive-core \ +) +optdepends=('lame: MP3 export') +source=(git+https://github.com/musescore/MuseScore.git#tag=v${pkgver}) +sha256sums=('SKIP') + +prepare() { + sed 's/BUILD_WEBENGINE="ON"/BUILD_WEBENGINE="OFF"/' -i MuseScore/Makefile + sed 's/option(BUILD_WEBENGINE "Built in webengine support" ON)/option(BUILD_WEBENGINE "Built in webengine support" OFF)/' -i MuseScore/CMakeLists.txt + sed 's/option(BUILD_CRASH_REPORTER "Build with crash reporter" ON)/option(BUILD_CRASH_REPORTER "Build with crash reporter" OFF)/' -i MuseScore/CMakeLists.txt +} + +build() { + make PREFIX=/usr NO_RPATH=TRUE USE_SYSTEM_FREETYPE=ON -C MuseScore revision release +} + +package() { + make DESTDIR="${pkgdir}" UPDATE_CACHE=FALSE -C MuseScore/build.release install +} |