[arch-commits] Commit in musescore/trunk (PKGBUILD)
Maxime Gauduin
alucryd at archlinux.org
Fri May 7 13:23:15 UTC 2021
Date: Friday, May 7, 2021 @ 13:23:14
Author: alucryd
Revision: 928602
musescore 3.6.2-2: disable telemetry and webengine
Modified:
musescore/trunk/PKGBUILD (contents, properties)
----------+
PKGBUILD | 20 ++++++++++++++++----
1 file changed, 16 insertions(+), 4 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2021-05-07 12:54:35 UTC (rev 928601)
+++ PKGBUILD 2021-05-07 13:23:14 UTC (rev 928602)
@@ -5,7 +5,7 @@
pkgname=musescore
pkgver=3.6.2
-pkgrel=1
+pkgrel=2
pkgdesc='Create, play and print beautiful sheet music'
arch=(x86_64)
url=https://musescore.org/
@@ -46,7 +46,6 @@
prepare() {
cd MuseScore
git cherry-pick -n 63d8b7ee90e9ec6604e334a3ebb12fced7fab36d
- sed 's/option(BUILD_CRASH_REPORTER "Build with crash reporter" ON)/option(BUILD_CRASH_REPORTER "Build with crash reporter" OFF)/' -i CMakeLists.txt
}
pkgver() {
@@ -55,11 +54,24 @@
}
build() {
- make PREFIX=/usr NO_RPATH=TRUE USE_SYSTEM_FREETYPE=ON MUSESCORE_BUILD_CONFIG=release -C MuseScore revision release
+ cmake -S MuseScore -B build \
+ -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=$(git rev-parse --short=7 HEAD) \
+ -DPACKAGE_FILE_ASSOCIATION=ON \
+ -DUSE_SYSTEM_FREETYPE=ON \
+ -Wno-dev
+ make -j1 lrelease manpages -C build;
+ make -C build;
}
package() {
- make DESTDIR="${pkgdir}" UPDATE_CACHE=FALSE -C MuseScore/build.release install
+ make DESTDIR="${pkgdir}" install -C build
}
# vim: ts=2 sw=2 et:
Property changes on: musescore/trunk/PKGBUILD
___________________________________________________________________
Deleted: svn:executable
## -1 +0,0 ##
-*
\ No newline at end of property
More information about the arch-commits
mailing list