aports/community/kpipewire/APKBUILD
2023-05-10 11:01:24 +02:00

58 lines
1.3 KiB
Plaintext

# Contributor: Bart Ribbers <bribbers@disroot.org>
# Maintainer: Bart Ribbers <bribbers@disroot.org>
pkgname=kpipewire
pkgver=5.27.5
pkgrel=1
pkgdesc="Components relating to pipewire use in Plasma"
# armhf blocked by extra-cmake-modules
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
"
makedepends="
extra-cmake-modules
ffmpeg-dev
kcoreaddons-dev
ki18n-dev
kwayland-dev
libdrm-dev
libepoxy-dev
pipewire-dev
plasma-wayland-protocols
qt5-qtbase-dev
qt5-qtdeclarative-dev
qt5-qtwayland-dev
samurai
wayland-dev
"
case "$pkgver" in
*.90*) _rel=unstable;;
*) _rel=stable;;
esac
subpackages="$pkgname-dev $pkgname-lang"
source="https://download.kde.org/$_rel/plasma/$pkgver/kpipewire-$pkgver.tar.xz"
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="
a294b727374f15a88af2017b5cd836670d14c81d2c43aabbb53efc98c05679de2689a8b94462535efb60ad8eee6dc241c241d861a1b646314f98f99234303579 kpipewire-5.27.5.tar.xz
"