aboutsummaryrefslogblamecommitdiffstats
path: root/community/minuet/APKBUILD
blob: b872fabf75772181dd22a73e4dd820039147fd97 (plain) (tree)
1
2
3
4
5
6
7
8
9
10


                                                  
              
        
                                                      



                                                                                                                                                                               
                                                                                          



                                                     
                        
                                         

                                             
                           


         
                



                                          
                                                              

 
                                                                                                                                                                    
# Contributor: Bart Ribbers <bribbers@disroot.org>
# Maintainer: Bart Ribbers <bribbers@disroot.org>
pkgname=minuet
pkgver=20.12.2
pkgrel=0
arch="all !armhf" # armhf blocked by qt5-qtdeclarative
url="https://minuet.kde.org/"
pkgdesc="Minuet Music Education"
license="GPL-2.0-or-later AND GFDL-1.2-only"
makedepends="extra-cmake-modules qt5-qtbase-dev qt5-qtdeclarative-dev qt5-qtquickcontrols2-dev qt5-qtsvg-dev kcoreaddons-dev ki18n-dev kcrash-dev kdoctools-dev fluidsynth-dev"
source="https://download.kde.org/stable/release-service/$pkgver/src/minuet-$pkgver.tar.xz"
subpackages="$pkgname-doc $pkgname-lang $pkgname-dev"
options="!check" # No tests

build() {
	cmake -B build \
		-DCMAKE_BUILD_TYPE=None \
		-DCMAKE_INSTALL_PREFIX=/usr \
		-DCMAKE_INSTALL_LIBDIR=lib
	cmake --build build
}

check() {
	cd build
	CTEST_OUTPUT_ON_FAILURE=TRUE ctest
}

package() {
	DESTDIR="$pkgdir" cmake --build build --target install
}

sha512sums="73dc96cb09d045c0f2eaa2b0205fc453ad4f24857957171e69fc876a15d05f1996e8c6999e1241ee42a86ffcb3c4704dffcd8cb7680af093aa537cc050a0c63f  minuet-20.12.2.tar.xz"