3d0b44dded
Built and tested on x86_64, everything works as expected. [ci:skip-build]: ollieparanoid made sure, that this builds for all relevant arches. With crossdirect, so that means it is pretty stable now \o/
34 lines
907 B
Text
34 lines
907 B
Text
pkgname=modemmanager-qt
|
|
pkgver=5.57.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="6575eb0ab80b53bbd8cadce0dfbae3a2ec037af267456d52677df88a2d36c1c0c530b98e6839263af88967ca7b1aea8162b7a5e8244e0e1d78e853a62a8f088f modemmanager-qt-5.57.0.tar.xz"
|