blob: 06eaee981288595003e9311ee7ee63ebf6f84496 (
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
|
# Maintainer: Malte Jürgens <maltejur@dismail.de>
pkgname=discord-screenaudio
pkgver=1.10.1
pkgrel=1
pkgdesc="Custom discord client with the ability to stream desktop audio"
arch=("x86_64")
url="https://github.com/maltejur/discord-screenaudio"
license=("GPL-3.0")
depends=(qt6-base qt6-webengine knotifications kxmlgui kglobalaccel pipewire xdg-desktop-portal-impl)
makedepends=(qt6-base qt6-webengine knotifications kxmlgui kglobalaccel pipewire cmake)
optdepends=("nodejs: Rich presence support through arRPC")
source=(
"$pkgname-$pkgver.tar.gz::https://github.com/maltejur/$pkgname/archive/refs/tags/v$pkgver.tar.gz"
"rohrkabel-1.2.tar.gz::https://github.com/Soundux/rohrkabel/archive/refs/tags/v1.2.tar.gz"
)
sha256sums=(
"0de1d320f5e156aa27bb9873f33d4619d04c295fdcd1c08987007b23784aebf9"
"e167e50d4c633a2b96dde5faa28cd83dd56828868c669fcf86c7e0ade7db1dcd"
)
prepare() {
rm -rf $pkgname-$pkgver/submodules/rohrkabel
mv -v rohrkabel-1.2 $pkgname-$pkgver/submodules/rohrkabel
echo "$pkgver" >$pkgname-$pkgver/version.txt
}
build() {
cmake -B build -S $pkgname-$pkgver -DCMAKE_INSTALL_PREFIX=/usr
cmake --build build --config Release
}
package() {
DESTDIR="$pkgdir" cmake --install build
}
|