aboutsummaryrefslogblamecommitdiffstats
path: root/community/dragon/APKBUILD
blob: 0a2c1b830653c7439f46f8fcf4736a23f49f37af (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.08.1
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="1ec08a57d625cb85c9decfe69e029dae0815fe52e624c2a31c354ecb5789c3b34942b5d451c9905bb61d278d1f30c99fa07c2b47c95628cfff996b4f420cabc3  dragon-20.08.1.tar.xz"