mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-07-24 19:55:26 +03:00
54 lines
1.3 KiB
Text
54 lines
1.3 KiB
Text
# Contributor: Bart Ribbers <bribbers@disroot.org>
|
|
# Maintainer: Bart Ribbers <bribbers@disroot.org>
|
|
pkgname=plasma-browser-integration
|
|
pkgver=5.27.2
|
|
pkgrel=0
|
|
pkgdesc="Components necessary to integrate browsers into the Plasma Desktop"
|
|
# armhf blocked by extra-cmake-modules
|
|
# ppc64le, s390x and riscv64 blocked by qt5-qtwebengine -> purpose
|
|
arch="all !armhf !ppc64le !s390x !riscv64"
|
|
url="https://community.kde.org/Plasma/Browser_Integration"
|
|
license="GPL-3.0-or-later"
|
|
makedepends="
|
|
extra-cmake-modules
|
|
kactivities-dev
|
|
kconfig-dev
|
|
kdbusaddons-dev
|
|
kfilemetadata-dev
|
|
ki18n-dev
|
|
kio-dev
|
|
knotifications-dev
|
|
krunner-dev
|
|
plasma-workspace-dev
|
|
purpose-dev
|
|
qt5-qtbase-dev
|
|
samurai
|
|
"
|
|
|
|
case "$pkgver" in
|
|
*.90*) _rel=unstable;;
|
|
*) _rel=stable;;
|
|
esac
|
|
source="https://download.kde.org/$_rel/plasma/$pkgver/plasma-browser-integration-$pkgver.tar.xz"
|
|
subpackages="$pkgname-lang"
|
|
|
|
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 ctest
|
|
}
|
|
|
|
package() {
|
|
DESTDIR="$pkgdir" cmake --install build
|
|
}
|
|
|
|
sha512sums="
|
|
e38dc6ab91295fde5ada42820872a06ef1b83d18f95f6231386104313f516a1b2a4a3d4a4c3692699acb86241cd59ee2b30b8701778bc142a94fb995da19d92c plasma-browser-integration-5.27.2.tar.xz
|
|
"
|