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


                                                  
              
        

                                                                                
                                         


                                                                                                      





















                            
                       
                                                                                            



                                        
                        
                                         

                                             
                           


         
                



                                                   
                                                              

 
                                                                                                                                                                      
# Contributor: Bart Ribbers <bribbers@disroot.org>
# Maintainer: Bart Ribbers <bribbers@disroot.org>
pkgname=kdenlive
pkgver=20.12.2
pkgrel=0
# s390x kdeclarative-dev knewstuff-dev knotifyconfig-dev kxmlgui-dev purpose-dev
# ppc64le mlt uses 64bit long double while libgcc uses 128bit long double
arch="all !armhf !s390x !ppc64le !mips64"
url="https://kdenlive.org"
pkgdesc="An intuitive and powerful multi-track video editor, including most recent video technologies"
license="GPL-2.0-or-later"
depends="
	dbus
	ffmpeg
	frei0r-plugins
	mlt
	qt5-qtquickcontrols
	"
makedepends="
	extra-cmake-modules
	kdeclarative-dev
	kdoctools-dev
	kfilemetadata-dev
	knewstuff-dev
	knotifyconfig-dev
	kxmlgui-dev
	mlt-dev
	purpose-dev
	qt5-qtbase-dev
	qt5-qtmultimedia-dev
	qt5-qtsvg-dev
	rttr-dev
	"
checkdepends="xvfb-run"
source="https://download.kde.org/stable/release-service/$pkgver/src/kdenlive-$pkgver.tar.xz"
subpackages="$pkgname-doc $pkgname-lang"
options="!check" # Broken

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 xvfb-run ctest
}

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

sha512sums="9a76e1bc5ab4ac564dd7092f2d29ab8d1648ced4fa6210f60d95c9f3226112b476dcfd044c7965c0841c816bae4e6a8e0e9da111e7846424125fce4b4cf84842  kdenlive-20.12.2.tar.xz"