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


                                                  
              
        
                                                           


                                                        
                                  
                                                                                                                                                                                                                                                                                                                             
                                                                                       


                                        
                        
                                         

                                             
                           


         
                



                                          
                                                              

 
                                                                                                                                                                 
# Contributor: Bart Ribbers <bribbers@disroot.org>
# Maintainer: Bart Ribbers <bribbers@disroot.org>
pkgname=juk
pkgver=21.04.0
pkgrel=0
arch="all !armhf !mips64 !s390x" # tons of missing kde deps
url="https://juk.kde.org/"
pkgdesc="A jukebox, tagger and music collection manager"
license="GPL-2.0-or-later"
depends="phonon-backend-gstreamer"
makedepends="extra-cmake-modules qt5-qtbase-dev qt5-qtsvg-dev kcoreaddons-dev kcompletion-dev kconfig-dev kcrash-dev kglobalaccel-dev ki18n-dev kiconthemes-dev kdoctools-dev kio-dev kjobwidgets-dev knotifications-dev ktextwidgets-dev kxmlgui-dev kwallet-dev kwidgetsaddons-dev kwindowsystem-dev phonon-dev taglib-dev"
source="https://download.kde.org/stable/release-service/$pkgver/src/juk-$pkgver.tar.xz"
subpackages="$pkgname-doc $pkgname-lang"

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="9b5d009020f1749b2a0cc9ec97ba428dca8e244de2725ff826056b69db1bf6ad3b5cf1a10e0fb0925b73c3c019d1f2e57c3042b030053daa1f3dc5694aa75576  juk-21.04.0.tar.xz"