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


                                                  
              
        
                                      

                                                               


                                                                                    

















                           
                                                                                                   



                                        
                        
                                         

                                             
                           


         
                



                                          
                                               

 
            
                                                                                                                                                                
 
# Contributor: Bart Ribbers <bribbers@disroot.org>
# Maintainer: Bart Ribbers <bribbers@disroot.org>
pkgname=kimagemapeditor
pkgver=21.08.2
pkgrel=0
# armhf blocked by extra-cmake-modules
# mips64, ppc64le, s390x and riscv64 blocked by qt5-qtwebengine
arch="all !armhf !ppc64le !s390x !mips64 !riscv64"
url="https://kde.org/applications/development/org.kde.kimagemapeditor"
pkgdesc="An editor of image maps embedded inside HTML files, based on the <map> tag"
license="GPL-2.0-or-later"
makedepends="
	extra-cmake-modules
	kconfig-dev
	kconfigwidgets-dev
	kcoreaddons-dev
	kcrash-dev
	kdbusaddons-dev
	kdoctools-dev
	kguiaddons-dev
	khtml-dev
	ki18n-dev
	kiconthemes-dev
	kparts-dev
	kwidgetsaddons-dev
	kxmlgui-dev
	qt5-qtbase-dev
	qt5-qtwebengine-dev
	"
source="https://download.kde.org/stable/release-service/$pkgver/src/kimagemapeditor-$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 --install build
}

sha512sums="
d37bc82da8a406eaf3e907e01c4fe72da8c571a0e76bcfa28448c1c60178de5a1fa23524cb49d016f088651e549dcf1956c35104c09cc7378d337db3ae6b9656  kimagemapeditor-21.08.2.tar.xz
"