Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:harish2704:obs-studio
obs-studio
obs-studio.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File obs-studio.spec of Package obs-studio
# # spec file for package obs-studio # # Copyright (c) 2020 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via https://bugs.opensuse.org/ # Name: obs-studio Version: 27.0.1 Release: lp150.1.1 Summary: Free and open source software for video recording and live streaming License: GPL-2.0-or-later Group: Productivity/Multimedia/Video/Editors and Convertors URL: https://obsproject.com/ Source: https://github.com/obsproject/obs-studio/archive/%{version}.tar.gz BuildRequires: cmake >= 2.8.12 BuildRequires: gcc BuildRequires: gcc-c++ BuildRequires: hicolor-icon-theme BuildRequires: libqt5-qtbase-devel >= 5.3 BuildRequires: libqt5-qtx11extras-devel >= 5.3 BuildRequires: pkgconfig BuildRequires: update-desktop-files BuildRequires: pkgconfig(Qt5Svg) BuildRequires: pkgconfig(fontconfig) BuildRequires: pkgconfig(freetype2) BuildRequires: pkgconfig(jack) BuildRequires: pkgconfig(jansson) BuildRequires: pkgconfig(libavcodec) BuildRequires: pkgconfig(libavdevice) BuildRequires: pkgconfig(libavfilter) BuildRequires: pkgconfig(libavformat) BuildRequires: pkgconfig(libavutil) BuildRequires: pkgconfig(libcurl) BuildRequires: pkgconfig(libpulse) BuildRequires: pkgconfig(libswresample) BuildRequires: pkgconfig(libswscale) BuildRequires: pkgconfig(libudev) BuildRequires: pkgconfig(libv4l2) BuildRequires: pkgconfig(x264) BuildRequires: pkgconfig(xcomposite) BuildRequires: pkgconfig(xinerama) BuildRequires: pkgconfig(xrandr) BuildRequires: pkgconfig(libpipewire-0.3) %description OBS Studio is software designed for capturing, compositing, encoding, recording, and streaming video content, efficiently. %package devel Summary: A recording/broadcasting program - Development Files Group: Development/Libraries/C and C++ Requires: %{name} = %{version} %description devel Devel files for OBS Studio is software designed for capturing, compositing, encoding, recording, and streaming video content, efficiently. %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 -DBUILD_BROWSER=OFF \ -DCMAKE_INSTALL_PREFIX=%{_prefix} \ -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}%{_prefix}/lib/libobs*.so* %{buildroot}%{_libdir} %endif %suse_update_desktop_file com.obsproject.Studio %post /sbin/ldconfig %icon_theme_cache_postun %postun /sbin/ldconfig %icon_theme_cache_postun %files %{_bindir}/obs %{_bindir}/obs-ffmpeg-mux # needs obs-plugins in lib/ even though 64bit /usr/lib/obs-plugins %{_libdir}/libobs.so.0 %{_libdir}/libobs-frontend-api.so.* %{_libdir}/libobs-opengl.so.* %{_libdir}/libobsglad.so.0 %{_datadir}/applications/com.obsproject.Studio.desktop %{_datadir}/icons/hicolor/256x256/apps/com.obsproject.Studio.png %{_datadir}/metainfo/com.obsproject.Studio.appdata.xml %{_datadir}/obs %files devel /usr/lib//cmake %{_libdir}/libobs.so %{_libdir}/libobs-frontend-api.so %{_libdir}/libobs-opengl.so %{_libdir}/libobsglad.so %{_libdir}/pkgconfig/libobs.pc %{_includedir}/obs %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor