aboutsummaryrefslogtreecommitdiffstats
path: root/testing/obs-studio/APKBUILD
blob: 3e057f278c63ccacf27e444fc0e46358c946a2b3 (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
# Contributor: Francesco Colista <fcolista@alpinelinux.org>
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
pkgname=obs-studio
pkgver=17.0.1
pkgrel=0
pkgdesc="Free and open source software for live streaming and screen recording"
url="https://obsproject.com/"
arch="all !aarch64 !armhf"
license="GPL2"
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"
subpackages="$pkgname-dev"
source="$pkgname-$pkgver.tar.gz::https://github.com/jp9000/$pkgname/archive/$pkgver.tar.gz"
builddir="$srcdir/$pkgname-$pkgver"

build() {
	cd "$builddir"
	mkdir build && cd build
	cmake -DUNIX_STRUCTURE=1 -DCMAKE_INSTALL_PREFIX=/usr ..
	make || return 1
}

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

md5sums="05d176fda7dfaa471c912cfcbafcc86d  obs-studio-17.0.1.tar.gz"
sha256sums="5244032fb2b3ffde2f09422191a81c7cab6a8a13759aa4d57e301211ba6751e0  obs-studio-17.0.1.tar.gz"
sha512sums="7af34c2762f9078f9c81fe3d7dca524b4f33ad72ae44685ffe68feb0be7bca717512d1846a99ef50129b1bc2701112722e0aea16d95f0cd911d08c499fa11d29  obs-studio-17.0.1.tar.gz"