Commit 22ed9c03 authored by Bart Ribbers's avatar Bart Ribbers Committed by Kevin Daudt

testing/kcrash: new aport

Closes GH-8204
parent ce667e4e
# Contributor: Bart Ribbers <bribbers@disroot.org>
# Maintainer: Bart Ribbers <bribbers@disroot.org>
pkgname=kcrash
pkgver=5.58.0
pkgrel=0
pkgdesc="Support for application crash analysis and bug report from apps"
arch="all"
url="https://community.kde.org/Frameworks"
license="LGPL-2.1-or-later"
depends_dev="kcoreaddons-dev kwindowsystem-dev"
makedepends="$depends_dev extra-cmake-modules doxygen qt5-qttools-dev"
source="https://download.kde.org/stable/frameworks/${pkgver%.*}/$pkgname-$pkgver.tar.xz"
subpackages="$pkgname-dev $pkgname-doc"
build() {
cmake \
-DCMAKE_BUILD_TYPE=RelWithDebugInfo \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_INSTALL_LIBDIR=lib \
-DBUILD_QCH=ON
make
}
check() {
# kcrashtest requires X11 to be running
CTEST_OUTPUT_ON_FAILURE=TRUE ctest -E '(kcrashtest)'
}
package() {
DESTDIR="$pkgdir" make install
}
sha512sums="589622d8aa5235d2311d6ed05c97ba9f9ab64adf36b38f2db51efe8d30062a7e416e1111dbb1986eb757b3e52e588c0bf0b81bf3b6a159ee714e88400dc96d1a kcrash-5.58.0.tar.xz"
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment