mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-07-22 02:35:23 +03:00
50 lines
1.2 KiB
Text
50 lines
1.2 KiB
Text
# Contributor: Bart Ribbers <bribbers@disroot.org>
|
|
# Maintainer: Bart Ribbers <bribbers@disroot.org>
|
|
pkgname=frameworkintegration
|
|
pkgver=5.103.0
|
|
pkgrel=1
|
|
pkgdesc="Framework providing components to allow applications to integrate with a KDE Workspace"
|
|
# armhf blocked by extra-cmake-modules
|
|
arch="all !armhf"
|
|
url="https://www.kde.org"
|
|
license="LGPL-2.1-or-later"
|
|
depends_dev="
|
|
appstream-dev
|
|
kconfig-dev
|
|
kconfigwidgets-dev
|
|
ki18n-dev
|
|
kiconthemes-dev
|
|
knewstuff-dev
|
|
knotifications-dev
|
|
kpackage-dev
|
|
kwidgetsaddons-dev
|
|
qt5-qtbase-dev
|
|
"
|
|
makedepends="$depends_dev
|
|
extra-cmake-modules
|
|
samurai
|
|
"
|
|
checkdepends="xvfb-run"
|
|
source="https://download.kde.org/stable/frameworks/${pkgver%.*}/frameworkintegration-$pkgver.tar.xz"
|
|
subpackages="$pkgname-dev"
|
|
|
|
build() {
|
|
cmake -B build -G Ninja \
|
|
-DCMAKE_BUILD_TYPE=RelWithDebInfo \
|
|
-DCMAKE_INSTALL_PREFIX=/usr \
|
|
-DCMAKE_INSTALL_LIBDIR=lib
|
|
cmake --build build
|
|
}
|
|
|
|
check() {
|
|
cd build
|
|
CTEST_OUTPUT_ON_FAILURE=TRUE xvfb-run ctest
|
|
}
|
|
|
|
package() {
|
|
DESTDIR="$pkgdir" cmake --install build
|
|
}
|
|
|
|
sha512sums="
|
|
604b3a75a64b91fcf2991e84a5703cd33832342a4c931c90cba15d453cc89287ea248ead8f31f643d0333c4f63c12d93f61bf531e8f7eb99cadd9af72f6e0ea1 frameworkintegration-5.103.0.tar.xz
|
|
"
|