mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-06-11 10:08:15 +02:00
64 lines
1.5 KiB
Text
64 lines
1.5 KiB
Text
# The group tag is just to easily find this APKBUILD by some scripts for automation
|
|
# group=kde-plasma
|
|
maintainer="team/kde <bribbers@disroot.org>"
|
|
pkgname=kpipewire
|
|
pkgver=6.3.5
|
|
pkgrel=0
|
|
pkgdesc="Components relating to pipewire use in Plasma"
|
|
# armhf blocked by qt6-qtdeclarative
|
|
arch="all !armhf"
|
|
url="https://kde.org/plasma-desktop/"
|
|
license="BSD-3-Clause AND CC0-1.0 AND LGPL-2.1-only AND LGPL-3.0-only AND LicenseRef-KDE-Accepted-LGPL"
|
|
depends="pipewire"
|
|
depends_dev="
|
|
ffmpeg-dev
|
|
kcoreaddons-dev
|
|
ki18n-dev
|
|
kwayland-dev
|
|
libdrm-dev
|
|
libepoxy-dev
|
|
libva-dev
|
|
pipewire-dev
|
|
plasma-wayland-protocols
|
|
qt6-qtbase-dev
|
|
qt6-qtdeclarative-dev
|
|
qt6-qtwayland-dev
|
|
wayland-dev
|
|
"
|
|
makedepends="$depends_dev
|
|
extra-cmake-modules
|
|
pipewire-tools
|
|
samurai
|
|
"
|
|
checkdepends="xwayland-run"
|
|
|
|
case "$pkgver" in
|
|
*.*.9*) _rel=unstable;;
|
|
*) _rel=stable;;
|
|
esac
|
|
|
|
subpackages="$pkgname-dev $pkgname-lang"
|
|
_repo_url="https://invent.kde.org/plasma/kpipewire.git"
|
|
source="https://download.kde.org/$_rel/plasma/$pkgver/kpipewire-$pkgver.tar.xz"
|
|
# Tests require running pipewire
|
|
options="!check"
|
|
|
|
build() {
|
|
cmake -B build -G Ninja \
|
|
-DCMAKE_BUILD_TYPE=RelWithDebInfo \
|
|
-DCMAKE_INSTALL_PREFIX=/usr \
|
|
-DCMAKE_INSTALL_LIBDIR=lib
|
|
cmake --build build
|
|
}
|
|
|
|
check() {
|
|
wlheadless-run -- ctest --test-dir build
|
|
}
|
|
|
|
package() {
|
|
DESTDIR="$pkgdir" cmake --install build
|
|
}
|
|
|
|
sha512sums="
|
|
0485be74dd663abb7252396fa61fe9976283f6908f3b45bea67706e6cb58aeca68404fb947c903b67b3355c4cbfe430d32446007ceba211ecf8ac660005a00af kpipewire-6.3.5.tar.xz
|
|
"
|