blob: 3c86206ae63f2cbac328b7a5300473e01c8cc84e (
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
|
# Maintainer: Benjamin Bädorf <aur at benjaminbaedorf dot eu>
pkgname=wlstreamer-git
_pkgname=wlstreamer
pkgver=0.4.0.23.g2dbdd83
pkgrel=1
pkgdesc="Wrapper around wf-recorder and ffmpeg that automatically switches the screen being recorded based on current window focus. Works with sway."
arch=('i686' 'x86_64' 'armv6h' 'armv7h')
url="https://git.b12f.io/b12f/wlstreamer"
license=('GPL3')
makedepends=('git' 'openssl' 'zlib' 'rust' 'cargo')
depends=('sway' 'wf-recorder' 'ffmpeg' 'v4l2loopback-dkms')
provides=()
conflicts=()
source=("$_pkgname::git+https://git.b12f.io/b12f/wlstreamer.git")
md5sums=('SKIP')
pkgver() {
# cd ${srcdir}/${_pkgname}
cd "$srcdir/$_pkgname"
#git rev-list --count HEAD
echo "$(grep '^version =' Cargo.toml|head -n1|cut -d\" -f2|cut -d\- -f1).$(git rev-list --count HEAD).g$(git rev-parse --short HEAD)"
}
package() {
cd $srcdir
cargo install --no-track --root="$pkgdir/usr" --git=https://git.b12f.io/b12f/wlstreamer.git
}
|