mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-04-05 02:27:10 +02:00
50 lines
1.3 KiB
Text
50 lines
1.3 KiB
Text
# 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-other
|
|
pkgname=xwaylandvideobridge
|
|
pkgver=0.4.0
|
|
pkgrel=1
|
|
# armhf blocked by extra-cmake-modules
|
|
arch="all !armhf"
|
|
url="https://invent.kde.org/system/xwaylandvideobridge"
|
|
pkgdesc="Utility to allow streaming Wayland windows to X applications"
|
|
license="BSD-3-Clause AND LGPL-2.0-or-later"
|
|
makedepends="
|
|
extra-cmake-modules
|
|
kcoreaddons-dev
|
|
ki18n-dev
|
|
knotifications-dev
|
|
kpipewire-dev
|
|
kstatusnotifieritem-dev
|
|
kwindowsystem-dev
|
|
qt6-qtbase-dev
|
|
samurai
|
|
"
|
|
subpackages="$pkgname-lang"
|
|
_repo_url="https://invent.kde.org/system/xwaylandvideobridge.git"
|
|
source="https://download.kde.org/stable/xwaylandvideobridge/xwaylandvideobridge-$pkgver.tar.xz"
|
|
|
|
install_if="xwayland xdg-desktop-portal-kde"
|
|
|
|
build() {
|
|
cmake -B build -G Ninja \
|
|
-DBUILD_WITH_QT6=ON \
|
|
-DCMAKE_BUILD_TYPE=None \
|
|
-DCMAKE_INSTALL_PREFIX=/usr \
|
|
-DCMAKE_INSTALL_LIBDIR=lib
|
|
cmake --build build
|
|
}
|
|
|
|
check() {
|
|
ctest --test-dir build
|
|
}
|
|
|
|
package() {
|
|
DESTDIR="$pkgdir" cmake --install build
|
|
}
|
|
|
|
sha512sums="
|
|
d0352b7ce94f1a355d8fd8f42a45436483a87d90da1904295f984012859651472eabbca39df5107793790d48474b6de1c8766e31461d1548134547cbc7dfd5a4 xwaylandvideobridge-0.4.0.tar.xz
|
|
"
|