32 lines
1.0 KiB
Bash
32 lines
1.0 KiB
Bash
# Template file for 'obs'
|
|
pkgname=obs
|
|
version=21.0.1
|
|
revision=1
|
|
wrksrc=obs-studio-${version}
|
|
only_for_archs="i686 x86_64 i686-musl x86_64-musl"
|
|
build_style=cmake
|
|
configure_args="-DOBS_VERSION_OVERRIDE=${version}"
|
|
hostmakedepends="pkg-config swig"
|
|
makedepends="glu-devel ffmpeg-devel qt5-x11extras-devel
|
|
libXcomposite-devel pulseaudio-devel v4l-utils-devel jack-devel x264-devel libcurl-devel
|
|
alsa-lib-devel speexdsp-devel vlc-devel fdk-aac-devel LuaJIT-devel python3-devel"
|
|
short_desc="Open Broadcaster Software"
|
|
maintainer="lemmi <lemmi@nerd2nerd.org>"
|
|
license="GPL-2"
|
|
homepage="https://obsproject.com"
|
|
distfiles="https://github.com/jp9000/obs-studio/archive/${version}.tar.gz"
|
|
checksum=c43ecf9f36f52157371650b6fcbd1e66cde1ca2465b7348fa66dfd211258a662
|
|
|
|
obs-devel_package() {
|
|
short_desc+=" - development files"
|
|
depends="${sourcepkg}>=${version}_${revision}"
|
|
pkg_install() {
|
|
vmove usr/include
|
|
vmove usr/lib/cmake
|
|
}
|
|
}
|
|
|
|
# REMARKS:
|
|
# lemmi writes: needed to remove vmove usr/lib/*.so from the devel package,
|
|
# otherwise obs would pull it in.
|