blob: 70381e1f6caf9b7e69ed880eac87903ac36e0936 (
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
|
# Maintainer: Noel Knubel <skaredogged97@pm.me>
pkgname=pyrofling-git
pkgver=0.r310.dcd68d3 # This is a placeholder, pkgver() will overwrite this
pkgrel=1
pkgdesc="Simple solution for capturing and broadcasting Vulkan applications via FFmpeg, PyroEnc or PyroWave including latency measurement capabilities"
arch=('x86_64')
url="https://github.com/Themaister/pyrofling"
license=('MIT')
depends=('vulkan-icd-loader' 'ffmpeg' 'libpulse' 'pipewire' 'gtk3' 'dbus' 'libxml2')
makedepends=('cmake' 'git' 'vulkan-headers')
provides=('pyrofling')
conflicts=('pyrofling')
source=("git+https://github.com/Themaister/pyrofling")
sha256sums=('SKIP')
pkgver() {
cd "$srcdir/pyrofling"
printf "0.r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short=7 HEAD)"
}
prepare() {
cd "$srcdir/pyrofling"
git submodule update --init --recursive --jobs 8 --depth 1
}
build() {
cd "$srcdir/pyrofling"
cmake -B build \
-DCMAKE_BUILD_TYPE=Release
cmake --build build
}
package() {
cd "$srcdir/pyrofling"
DESTDIR="$pkgdir" cmake --install build
}
|