void-packages/srcpkgs/obs/template
2018-07-01 19:30:17 +02:00

32 lines
1.1 KiB
Bash

# Template file for 'obs'
pkgname=obs
version=21.1.2
revision=2
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="LuaJIT-devel fdk-aac-devel ffmpeg-devel glu-devel jack-devel
libXcomposite-devel libcurl-devel pulseaudio-devel python3-devel
qt5-x11extras-devel speexdsp-devel v4l-utils-devel vlc-devel x264-devel"
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/jp9000/obs-studio/archive/${version}.tar.gz"
checksum=d6eb32d4ff65879945fc19a639b3ae14a55e6034a45b036e00e5f3dbce0e3d4d
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.