Projects
Multimedia
obs-studio
obs-studio.spec
Sign Up
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File obs-studio.spec of Package obs-studio (Revision 49)
Currently displaying revision
49
,
Show latest
Name: obs-studio Version: 20.0.1 Release: 0 Summary: A recording/broadcasting program Group: Productivity/Multimedia/Video/Editors and Convertors License: GPL-2.0 URL: https://obsproject.com/ Source: https://github.com/jp9000/obs-studio/archive/%{version}/%{name}-%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: update-desktop-files BuildRequires: cmake >= 2.8.12 BuildRequires: fontconfig-devel BuildRequires: freetype2-devel BuildRequires: gcc BuildRequires: gcc-c++ BuildRequires: hicolor-icon-theme BuildRequires: libXcomposite-devel BuildRequires: libXinerama-devel BuildRequires: libXrandr-devel BuildRequires: libcurl-devel BuildRequires: libjansson-devel BuildRequires: libpulse-devel BuildRequires: libqt5-qtbase-devel >= 5.3 BuildRequires: libqt5-qtx11extras-devel >= 5.3 BuildRequires: libudev-devel BuildRequires: libv4l-devel BuildRequires: libx264-devel BuildRequires: pkgconfig BuildRequires: pkgconfig(jack) BuildRequires: pkgconfig(libavcodec) BuildRequires: pkgconfig(libavdevice) BuildRequires: pkgconfig(libavfilter) BuildRequires: pkgconfig(libavformat) BuildRequires: pkgconfig(libavutil) BuildRequires: pkgconfig(libswresample) BuildRequires: pkgconfig(libswscale) %description Open Broadcaster Software is free and open source software for video recording and live streaming. %package devel Summary: A recording/broadcasting program - Development Files Group: Development/Multimedia Requires: %{name} = %{version} %description devel Open Broadcaster Software is free and open source software for video recording and live streaming. %prep %setup -q %build mkdir -p build && cd build # does not like cmake macro as it fails to link in math.h (-lm) cmake \ -DUNIX_STRUCTURE=1 \ -DCMAKE_INSTALL_PREFIX=/usr \ -DOBS_VERSION_OVERRIDE="$(echo "%{version}" | grep -oE "^[^+]+")" \ .. %install %cmake_install # fix lib package locations which are inconsistent since they are 64bit libs, but placed in lib/ %ifarch x86_64 mkdir -p %{buildroot}%{_libdir}/obs-plugins # needs obs-plugins in lib/ even though 64bit # mv %%{buildroot}/usr/lib/obs-plugins/* %%{buildroot}%%{_libdir}/obs-plugins mv %{buildroot}/usr/lib/libobs*.so* %{buildroot}%{_libdir} %endif %suse_update_desktop_file obs %post /sbin/ldconfig %icon_theme_cache_postun %postun /sbin/ldconfig %icon_theme_cache_postun %files %defattr(-, root, root) %{_bindir}/obs # needs obs-plugins in lib/ even though 64bit %{_libexecdir}/obs-plugins %{_libdir}/libobs.so.0 %{_libdir}/libobs-frontend-api.so.* %{_libdir}/libobs-opengl.so.* %{_libdir}/libobsglad.so.0 %{_datadir}/applications/obs.desktop %{_datadir}/icons/hicolor/256x256/apps/obs.png %{_datadir}/obs %files devel %defattr(-, root, root) %{_libexecdir}/cmake %{_libdir}/libobs.so %{_libdir}/libobs-frontend-api.so %{_libdir}/libobs-opengl.so %{_libdir}/libobsglad.so %{_includedir}/obs %changelog
Locations
Projects
Search
Status Monitor
Help
Open Build Service
OBS Manuals
API Documentation
OBS Portal
Reporting a Bug
Contact
Mailing List
Forums
Chat (IRC)
Twitter
Open Build Service (OBS)
is an
openSUSE project
.