blob: 992ab29e1a5f9e1533c4efaf58baeb22971e7e7a (
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
|
# Maintainer: envolution
# Contributor: Stefan Husmann <stefan-husmann@t-online.de>
# Contributor: Sergej Pupykin <pupykin.s+arch@gmail.com>
# Contributor: Arch Linux Pro Audio <dev@archaudio.org>
# Contributor: Coenraad van der Westhuizen <chwesthuizen@gmail.com>
# Contributor: hm_b <holger (at) music-nerds (dot) net>
pkgname=canorus
pkgver=0.7.3rc3
pkgrel=5
pkgdesc="A free music score editor"
arch=('x86_64')
url="http://www.canorus.org/"
license=('GPL')
depends=('qt5-svg' 'qt5-webengine' 'alsa-lib' 'zlib' 'python')
makedepends=('cmake' 'swig' 'qt5-tools' 'ruby')
source=("${pkgname}-${pkgver}.tar.gz::https://github.com/canorusmusic/canorus/archive/refs/tags/${pkgver}.zip")
sha256sums=('a4f54c96172e02d799b30b0939ecea3e43d9b99511e556b208d1811ea3330e41')
build() {
cd $pkgname-$pkgver
# stringop-truncation will be fixes in swig, see https://github.com/swig/swig/issues/893
export CXXFLAGS+=" -Wno-misleading-indentation -Wno-dangling-else -Wno-stringop-truncation -Wno-deprecated -Wno-deprecated-declarations"
cmake . -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX="$pkgdir"/usr \
-DDEFAULT_DATA_DIR="/usr/share/canorus"
}
package() {
cd $pkgname-$pkgver
make install
install -d "$pkgdir"/usr/share/{applications,pixmaps}
cp canorus.desktop "$pkgdir"/usr/share/applications
cp "$pkgdir"/usr/share/{canorus/images/clogosm.png,pixmaps/canorus.png}
}
|