681fe369c7
[ci skip]
36 lines
1.2 KiB
Bash
36 lines
1.2 KiB
Bash
# Template file for 'obs'
|
|
pkgname=obs
|
|
version=25.0.8
|
|
revision=1
|
|
archs="i686* x86_64* ppc64le*"
|
|
wrksrc="obs-studio-${version}"
|
|
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 qt5-svg-devel speexdsp-devel v4l-utils-devel vlc-devel
|
|
x264-devel mbedtls-devel jansson-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/obsproject/obs-studio/archive/${version}.tar.gz"
|
|
checksum=ef1179c23256c312212e3dce9083d4fa67751db05c3001ad824e2b6995943941
|
|
|
|
CFLAGS="-fcommon"
|
|
|
|
obs-devel_package() {
|
|
short_desc+=" - development files"
|
|
depends="${sourcepkg}>=${version}_${revision}"
|
|
pkg_install() {
|
|
vmove usr/include
|
|
vmove usr/lib/cmake
|
|
vmove usr/lib/pkgconfig
|
|
}
|
|
}
|
|
|
|
# REMARKS:
|
|
# lemmi writes: needed to remove vmove usr/lib/*.so from the devel package,
|
|
# otherwise obs would pull it in.
|