Projects
Multimedia
obs-studio
Sign Up
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
Expand all
Collapse all
Changes of Revision 80
View file
obs-studio.spec
Changed
@@ -61,14 +61,16 @@ Open Broadcaster Software is free and open source software for video recording and live streaming. %prep -%setup -q -%patch0 -p1 +%autosetup -p1 %build mkdir -p build && cd build # does not like cmake macro as it fails to link in math.h (-lm) cmake \ -DUNIX_STRUCTURE=1 \ +%if "%{_lib}" == "lib64" + -DOBS_MULTIARCH_SUFFIX=64 \ +%endif -DCMAKE_INSTALL_PREFIX=/usr \ -DOBS_VERSION_OVERRIDE="$(echo "%{version}" | grep -oE "^[^+]+")" \ .. @@ -86,18 +88,17 @@ %icon_theme_cache_postun %files -%defattr(-, root, root) %{_bindir}/obs %{_bindir}/obs-ffmpeg-mux # Upstream forces libs dir regardless of arch and building plugins is encumbered # by moving them to the proper directory. -%{_libexecdir}/obs-plugins -%{_libexecdir}/libobs.so.0 -%{_libexecdir}/libobs-frontend-api.so.* -%{_libexecdir}/libobs-opengl.so.* -%{_libexecdir}/libobs-scripting.so -%{_libexecdir}/obs-scripting -%{_libexecdir}/libobsglad.so.0 +%{_libdir}/obs-plugins +%{_libdir}/libobs.so.0 +%{_libdir}/libobs-frontend-api.so.* +%{_libdir}/libobs-opengl.so.* +%{_libdir}/libobs-scripting.so +%{_libdir}/obs-scripting +%{_libdir}/libobsglad.so.0 %dir %{_datadir}/metainfo %{_datadir}/metainfo/com.obsproject.Studio.appdata.xml %{_datadir}/applications/com.obsproject.Studio.desktop @@ -105,12 +106,11 @@ %{_datadir}/obs %files devel -%defattr(-, root, root) -%{_libexecdir}/cmake -%{_libexecdir}/libobs.so -%{_libexecdir}/libobs-frontend-api.so -%{_libexecdir}/libobs-opengl.so -%{_libexecdir}/libobsglad.so +%{_libdir}/cmake +%{_libdir}/libobs.so +%{_libdir}/libobs-frontend-api.so +%{_libdir}/libobs-opengl.so +%{_libdir}/libobsglad.so %{_libdir}/pkgconfig/libobs.pc %{_includedir}/obs
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
.