summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: a2a081ffc03b6767f1da56f3a512ad3fb6e87394 (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
# Maintainer: ServiusHack <serviushack at gmx dot de>
pkgname=casparcg-client
pkgver=2.3.0
pkgrel=1
pkgdesc='A client software used to control the CasparCG Server software'
arch=('x86_64')
url='http://www.casparcg.com/'
license=('GPL')
depends=('boost-libs' 'qt6-base' 'qt6-websockets' 'vlc')
makedepends=('git' 'boost' 'time')
conflicts=('casparcg-client-bin' 'casparcg-client-git')
source=('git+https://github.com/CasparCG/Client.git'
        'git+https://github.com/RossBencina/oscpack.git')
sha256sums=('SKIP' 'SKIP')

prepare() {
	cd "${srcdir}/Client"
	git checkout "v${pkgver}"
	git submodule init
	git config submodule.lib/oscpack.url "$srcdir/oscpack"
	git -c protocol.file.allow=always submodule update
}

build() {
	cd "$srcdir/Client"
	./tools/build-linux.sh
}

package() {
	ar x "${srcdir}/Client/build/CasparCG-Client-1.0-Linux.deb" data.tar.gz
	tar xf ${srcdir}/data.tar.gz -C ${pkgdir}/
}