diff options
author | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2020-01-27 01:03:27 +0000 |
---|---|---|
committer | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2020-01-27 01:03:27 +0000 |
commit | e2f5fb8fd2d151baeb97c2f8fb1b7b56a41eddd4 (patch) | |
tree | a3d7ccf0b97b147478cb769ebec33c19d77aca92 /user/kuserfeedback/APKBUILD | |
parent | c58edf8b9ac4367e08cad2a15987550d4e4a849a (diff) | |
download | packages-e2f5fb8fd2d151baeb97c2f8fb1b7b56a41eddd4.tar.gz packages-e2f5fb8fd2d151baeb97c2f8fb1b7b56a41eddd4.tar.bz2 packages-e2f5fb8fd2d151baeb97c2f8fb1b7b56a41eddd4.tar.xz packages-e2f5fb8fd2d151baeb97c2f8fb1b7b56a41eddd4.zip |
user/[KDE Plasma]: Plasma 5.18 Beta
Diffstat (limited to 'user/kuserfeedback/APKBUILD')
-rw-r--r-- | user/kuserfeedback/APKBUILD | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/user/kuserfeedback/APKBUILD b/user/kuserfeedback/APKBUILD new file mode 100644 index 000000000..ce5f10b6b --- /dev/null +++ b/user/kuserfeedback/APKBUILD @@ -0,0 +1,42 @@ +# Contributor: A. Wilcox <awilfox@adelielinux.org> +# Maintainer: A. Wilcox <awilfox@adelielinux.org> +pkgname=kuserfeedback +pkgver=0.9.90 +pkgrel=0 +pkgdesc="User feedback agent for KDE" +url="https://www.kde.org/" +arch="all" +options="!check" # Requires X11. +license="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/unstable/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="a4f5ee35d54479d0ed8c8e142c6d600a95f6a5e0179398953ef9e9b439b5f286ca90306577797478d53b07da258070710a442b227d6f70e4f2f372dd13b60aae kuserfeedback-0.9.90.tar.xz" |