blob: 6aa143b6e750185dd991be039beb44b03a572393 (
plain) (
tree)
|
|
# Contributor: A. Wilcox <awilfox@adelielinux.org>
# Maintainer: A. Wilcox <awilfox@adelielinux.org>
pkgname=kuserfeedback
pkgver=1.2.0
pkgrel=0
pkgdesc="User feedback agent for KDE"
url="https://www.kde.org/"
arch="all"
options="!check" # Requires X11.
license="BSD-3-Clause AND MIT"
depends=""
makedepends="cmake extra-cmake-modules qt5-qtbase-dev qt5-qtdeclarative-dev
qt5-qtsvg-dev qt5-qttools-dev bison flex"
subpackages="$pkgname-dev $pkgname-lang"
source="https://download.kde.org/stable/kuserfeedback/kuserfeedback-$pkgver.tar.xz"
build() {
if [ "$CBUILD" != "$CHOST" ]; then
CMAKE_CROSSOPTS="-DCMAKE_SYSTEM_NAME=Linux -DCMAKE_HOST_SYSTEM_NAME=Linux"
fi
cmake \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_INSTALL_LIBDIR=lib \
-DBUILD_SHARED_LIBS=True \
-DCMAKE_BUILD_TYPE=RelWithDebugInfo \
-DCMAKE_CXX_FLAGS="$CXXFLAGS" \
-DCMAKE_C_FLAGS="$CFLAGS" \
${CMAKE_CROSSOPTS} \
.
make
}
check() {
# Requires OpenGL accelerated desktop.
CTEST_OUTPUT_ON_FAILURE=TRUE ctest -E openglinfosourcetest
}
package() {
make DESTDIR="$pkgdir" install
}
sha512sums="0152233c741a287b623256cac6d109d405441f17dec68c5782d900ddb9ca5a93614d46ea112e1be9e64913cc3f46d107bec64cad4579b766919439b0ed88a470 kuserfeedback-1.2.0.tar.xz"
|