mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-08-05 13:27:09 +02:00
58 lines
1.4 KiB
Plaintext
58 lines
1.4 KiB
Plaintext
# Contributor: Bart Ribbers <bribbers@disroot.org>
|
|
# Maintainer: team/kde <bribbers@disroot.org>
|
|
|
|
# The group tag is just to easily find this APKBUILD by some scripts for automation
|
|
# group=kde-frameworks
|
|
pkgname=kparts
|
|
pkgver=6.5.0
|
|
pkgrel=0
|
|
pkgdesc="Document centric plugin system"
|
|
# armhf blocked by extra-cmake-modules
|
|
arch="all !armhf"
|
|
url="https://community.kde.org/Frameworks"
|
|
license="LGPL-2.1-only AND LGPL-2.1-or-later AND (LGPL-2.1-only OR LGPL-3.0-only)"
|
|
depends_dev="
|
|
kconfig-dev
|
|
kcoreaddons-dev
|
|
ki18n-dev
|
|
kiconthemes-dev
|
|
kio-dev
|
|
kjobwidgets-dev
|
|
kservice-dev
|
|
ktextwidgets-dev
|
|
kwidgetsaddons-dev
|
|
kxmlgui-dev
|
|
qt6-qtbase-dev
|
|
"
|
|
makedepends="$depends_dev
|
|
doxygen
|
|
extra-cmake-modules
|
|
qt6-qttools-dev
|
|
samurai
|
|
"
|
|
checkdepends="xvfb-run"
|
|
subpackages="$pkgname-dev $pkgname-doc $pkgname-lang"
|
|
_repo_url="https://invent.kde.org/frameworks/kparts.git"
|
|
source="https://download.kde.org/stable/frameworks/${pkgver%.*}/kparts-$pkgver.tar.xz"
|
|
|
|
build() {
|
|
cmake -B build -G Ninja \
|
|
-DCMAKE_BUILD_TYPE=RelWithDebInfo \
|
|
-DCMAKE_INSTALL_PREFIX=/usr \
|
|
-DCMAKE_INSTALL_LIBDIR=lib \
|
|
-DBUILD_QCH=ON
|
|
cmake --build build
|
|
}
|
|
|
|
check() {
|
|
xvfb-run ctest --test-dir build --output-on-failure
|
|
}
|
|
|
|
package() {
|
|
DESTDIR="$pkgdir" cmake --install build
|
|
}
|
|
|
|
sha512sums="
|
|
c7ec3ebebfbcddb9716f57739e897274cccbd619f921bcaf2059210d5b56162744284f727ffce22549a8defe304f11178a23cd264990922af563fcf9e85c7a76 kparts-6.5.0.tar.xz
|
|
"
|