36 lines
1.3 KiB
Bash
36 lines
1.3 KiB
Bash
# Template file for 'obs'
|
|
pkgname=obs
|
|
version=27.2.4
|
|
revision=1
|
|
archs="i686* x86_64* ppc64le* aarch64*"
|
|
wrksrc="obs-studio-${version}"
|
|
build_style=cmake
|
|
configure_args="-DOBS_VERSION_OVERRIDE=${version} -DBUILD_BROWSER=OFF -DBUILD_VST=OFF"
|
|
hostmakedepends="pkg-config swig qt5-qmake qt5-host-tools"
|
|
makedepends="LuaJIT-devel fdk-aac-devel ffmpeg-devel glu-devel jack-devel
|
|
libXcomposite-devel libcurl-devel pulseaudio-devel python3-devel
|
|
qt5-x11extras-devel qt5-svg-devel speexdsp-devel v4l-utils-devel vlc-devel
|
|
x264-devel mbedtls-devel jansson-devel wayland-devel pipewire-devel
|
|
libxkbcommon-devel pciutils-devel"
|
|
depends="xset xdg-desktop-portal"
|
|
short_desc="Open Broadcaster Software"
|
|
maintainer="lemmi <lemmi@nerd2nerd.org>"
|
|
license="GPL-2.0-or-later"
|
|
homepage="https://obsproject.com"
|
|
changelog="https://github.com/obsproject/obs-studio/releases"
|
|
distfiles="https://github.com/obsproject/obs-studio/archive/${version}.tar.gz"
|
|
checksum=f7297a7421cbfe2bb4bc6bf83659bb873bc8f1186667c35c34bdbaac3f0fd5fd
|
|
|
|
obs-devel_package() {
|
|
short_desc+=" - development files"
|
|
depends="${sourcepkg}>=${version}_${revision}"
|
|
pkg_install() {
|
|
vmove usr/lib/libobs-frontend-api.so
|
|
vmove usr/lib/libobs-opengl.so
|
|
vmove usr/lib/libobs.so
|
|
vmove usr/lib/libobsglad.so
|
|
vmove usr/include
|
|
vmove usr/lib/cmake
|
|
vmove usr/lib/pkgconfig
|
|
}
|
|
}
|