Commit 82c5ac7c authored by Bart Ribbers's avatar Bart Ribbers Committed by Rasmus Thomsen

testing/plasma-mycroft: new aport

parent 71f42cba
# Contributor: Bart Ribberse <bribbers@disroot.org>
# Maintainer: Bart Ribberse <bribbers@disroot.org>
pkgname=plasma-mycroft
pkgver=0_git20200427
pkgrel=0
_commit="2b7646a18144615a84ab87c4504b3a979d4570d1"
pkgdesc="Plasma integration of different Mycroft AI services"
url="https://github.com/kde/plasma-mycroft"
# ppc64le, s390x, armhf, mips and mips64 blocked by mycroft-gui
arch="all !ppc64le !s390x !armhf !mips !mips64"
license="Apache-2.0 AND LGPL-2.0-or-later AND LicenseRef-KDE-Accepted-GPL"
depends="mycroft-gui lottie-qml mycroft-skill-mark2"
makedepends="extra-cmake-modules qt5-qtbase-dev qt5-qtdeclarative-dev qt5-qtwebsockets-dev plasma-framework-dev ki18n-dev knotifications-dev"
source="https://github.com/KDE/plasma-mycroft/archive/$_commit/plasma-mycroft-$_commit.tar.gz"
builddir="$srcdir/plasma-mycroft-$_commit"
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
# Conflicts with mycroft-core and is unnecessary
rm "$pkgdir"/etc/mycroft/mycroft.conf
}
sha512sums="2abc327e3a1d70076a05c3c2943e00a2c460947e7065bfa7f0a58e4450cc6eb68f413381114858582528a2ea8d96a831b1ddfeef46130d148de3d0c29978eb56 plasma-mycroft-2b7646a18144615a84ab87c4504b3a979d4570d1.tar.gz"
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