aboutsummaryrefslogblamecommitdiffstats
path: root/testing/obs-studio/APKBUILD
blob: 14a60abe9207571b894d5030e4f875e274492d9e (plain) (tree)
1
2
3
4
5
6
7
8
9


                                                           
             
        

                                                                               
                 
                 
                
                                             
                                                                                

                                                                             
                                                                         
                          
                                                                                           

                                   
           
                       
                      
                   



                            


                                              
            






                                      
                                                                                                                                                                       
# Contributor: Francesco Colista <fcolista@alpinelinux.org>
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
pkgname=obs-studio
pkgver=24.0.6
pkgrel=0
pkgdesc="Free and open source software for live streaming and screen recording"
url="https://obsproject.com/"
arch="x86 x86_64"
license="GPL-2.0"
options="!check"
makedepends="cmake ffmpeg-dev libxinerama-dev
	qt5-qtbase-dev qt5-qtx11extras-dev qt5-qtsvg-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 swig mbedtls-dev python3-dev"
subpackages="$pkgname-dev"
source="$pkgname-$pkgver.tar.gz::https://github.com/jp9000/$pkgname/archive/$pkgver.tar.gz"
builddir="$srcdir/$pkgname-$pkgver"

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

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

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

sha512sums="edbb7d95b1b0f77aa7676835077f5e3fd0cfb1f6ad055778ae2bfc2ff67f04bfa1a809f7b4bb4752ec09e8e17e52d31f967e1844aa67c52b59350a545c54d946  obs-studio-24.0.6.tar.gz"