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


                                                  
              
        

                                      
                                


                                             










                           
                                                                                          



                                        
                        
                                         

                                             
                           


         
                



                                          
                                                              

 
                                                                                                                                                                    
# Contributor: Bart Ribbers <bribbers@disroot.org>
# Maintainer: Bart Ribbers <bribbers@disroot.org>
pkgname=kamera
pkgver=20.12.2
pkgrel=0
# armhf blocked by extra-cmake-modules
# s390x blocked by exif
arch="all !armhf !s390x !mips64"
url="https://kde.org/applications/graphics"
pkgdesc="KDE integration for gphoto2 cameras"
license="GPL-2.0-or-later AND GFDL-1.2-only"
makedepends="
	extra-cmake-modules
	kconfig-dev
	kconfigwidgets-dev
	kdoctools-dev
	ki18n-dev
	kio-dev
	kxmlgui-dev
	libgphoto2-dev
	qt5-qtbase-dev
	"
source="https://download.kde.org/stable/release-service/$pkgver/src/kamera-$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="6ffa02fa2d42a130b735f0c8bcdb08350891200ca3c805e05a51e1fe78207c75d0a0348f4d926ceb4d9cd30f03cec1992a9be7a978d7c5edc6c87b2c6befb0dc  kamera-20.12.2.tar.xz"