blob: 31b9d40b0ead97d24a6af51eab01d06a7392843c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
|
# Maintainer: NullBite <aur.archlinux@nullbite.com>
# Contributor: David Runge <dvzrv@archlinux.org>
# Contributor: Jonas Witschel <diabonas@archlinux.org>
pkgname=qpwgraph-git
pkgver=0.6.0.r4.g1665d36
pkgver() {
cd "${pkgname%-git}"
git describe --long --abbrev=7 | sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g'
}
pkgrel=1
pkgdesc='PipeWire Graph Qt GUI Interface (git version)'
arch=(x86_64)
url="https://gitlab.freedesktop.org/rncbc/qpwgraph"
license=(GPL-2.0-or-later)
groups=(pro-audio)
depends=(
gcc-libs
glibc
hicolor-icon-theme
qt6-base
qt6-svg
)
makedepends=(
git
alsa-lib
cmake
pipewire
)
provides=("${pkgname%-git}")
conflicts=("${pkgname%-git}")
source=(qpwgraph::git+$url)
sha512sums=('SKIP')
build() {
local cmake_options=(
-B build
-D CMAKE_BUILD_TYPE=None
-D CMAKE_INSTALL_PREFIX=/usr
-D CONFIG_WAYLAND=ON
-S "${pkgname%-git}"
-W no-dev
)
cmake "${cmake_options[@]}"
cmake --build build
}
package() {
depends+=(
alsa-lib libasound.so
pipewire libpipewire-0.3.so
)
DESTDIR="$pkgdir" cmake --install build
}
|