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


                                                  
              
        
                 


                                                                                   
                                  
                                                                                                                                                                                                                                                                              
                                                                                          



                                        
                        
                                         

                                             
                           


         
                



                                          
                                                              

 
                                                                                                                                                                    
# Contributor: Bart Ribbers <bribbers@disroot.org>
# Maintainer: Bart Ribbers <bribbers@disroot.org>
pkgname=dragon
pkgver=20.04.2
pkgrel=0
arch="all !armhf"
url="https://kde.org/applications/multimedia/org.kde.dragonplayer"
pkgdesc="A multimedia player where the focus is on simplicity, instead of features"
license="GPL-2.0-only OR GPL-3.0-only"
depends="phonon-backend-gstreamer"
makedepends="extra-cmake-modules qt5-qtbase-dev kconfig-dev kconfigwidgets-dev kcoreaddons-dev kcrash-dev kdbusaddons-dev kdoctools-dev ki18n-dev kjobwidgets-dev kio-dev kparts-dev solid-dev kwidgetsaddons-dev kwindowsystem-dev kxmlgui-dev knotifications-dev phonon-dev"
source="https://download.kde.org/stable/release-service/$pkgver/src/dragon-$pkgver.tar.xz"
subpackages="$pkgname-doc $pkgname-lang"
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="b22aad43fab5fbdf6b332f10abe9c34e8ca085418cb5ae3ae2c235f4dc98d2da489e1ab57e16a2f67bfea9e4416a53e9062fc490a18d74ae6a004422b5b90a08  dragon-20.04.2.tar.xz"