pmaports/kde/modemmanager-qt/APKBUILD
PureTryOut 09ce31ca20
kde/frameworks: update to 5.55.0 (!212)
[skip ci]: too many packages changed, build won't finish in time.
	   ollieparanoid made sure that this builds for x86_64,
	   aarch64, armhf, armv7. Also he tested that this boots up
	   in qemu-amd64.
2019-02-19 08:40:18 +01:00

34 lines
907 B
Text

pkgname=modemmanager-qt
pkgver=5.55.0
pkgrel=0
pkgdesc="Qt wrapper for ModemManager DBus API"
arch="all"
url="https://community.kde.org/Frameworks"
license="GPL-2.0"
depends_dev="modemmanager-dev qt5-qtbase-dev"
makedepends="$depends_dev extra-cmake-modules doxygen graphviz-dev qt5-qttools-dev"
subpackages="$pkgname-dev $pkgname-doc"
source="https://download.kde.org/stable/frameworks/${pkgver%.*}/$pkgname-$pkgver.tar.xz"
options="!check" # Fails
build() {
cd "$builddir"
cmake \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_INSTALL_LIBDIR=lib \
-DBUILD_QCH=ON
make
}
check() {
cd "$builddir"
CTEST_OUTPUT_ON_FAILURE=TRUE ctest
}
package() {
cd "$builddir"
make DESTDIR="$pkgdir" install
}
sha512sums="b2bdb79ee9ef7e6678c07ebffd6ff68908ffe9df7112bae6d6d7fd9ba80ad14fa7d6c1927cfc0f8695634d9fb5154752b2cba27aea93a54dc22287bec1faed9c modemmanager-qt-5.55.0.tar.xz"