aboutsummaryrefslogtreecommitdiffstats
path: root/testing/obs-studio/APKBUILD
blob: b02f4850fd6c4bfaf2a6c4d669bdd6c7c64c9858 (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
# Contributor: Francesco Colista <fcolista@alpinelinux.org>
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
pkgname=obs-studio
pkgver=19.0.3
pkgrel=0
pkgdesc="Free and open source software for live streaming and screen recording"
url="https://obsproject.com/"
arch="all !aarch64 !armhf !ppc64le"
license="GPL2"
options="!check"
makedepends="cmake ffmpeg-dev libxinerama-dev
	qt5-qtbase-dev qt5-x11extras-dev x264-dev fontconfig-dev
	libxcomposite-dev freetype-dev libx11-dev mesa-dev curl-dev
	pulseaudio-dev jack-dev vlc-dev alsa-lib-dev fdk-aac-dev speexdsp-dev
	v4l-utils-dev jansson-dev eudev-dev"
subpackages="$pkgname-dev"
source="$pkgname-$pkgver.tar.gz::https://github.com/jp9000/$pkgname/archive/$pkgver.tar.gz"
builddir="$srcdir/$pkgname-$pkgver"

prepare() {
	cd "$builddir"
	mkdir build
	default_prepare
}

build() {
	cd "$builddir"/build
	cmake \
		-DUNIX_STRUCTURE=1 \
		-DCMAKE_INSTALL_PREFIX=/usr ..
	make
}

package() {
	cd "$builddir"/build
	make DESTDIR="$pkgdir" install
}

sha512sums="02b91eb8089183f4b2502d3e0b8c01c1f4a224026a37856a0348e79b100077ac0bff69dd38f249a08313d7c7a5ed2275659b7ff5993c90a705b9475fa2b17cd0  obs-studio-19.0.3.tar.gz"