Projects
home:darix:branches:Multimedia
obs-studio
Sign Up
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
Expand all
Collapse all
Changes of Revision 3
View file
obs-studio.changes
Changed
@@ -1,4 +1,10 @@ ------------------------------------------------------------------- +Wed Oct 9 00:10:22 UTC 2024 - Marcus 'darix' Rückert <packman@nordisch.org> + +- leap 15.6 needs a compiler that supports C++ standard 17 at least + force gcc 13 + +------------------------------------------------------------------- Tue Oct 8 23:28:51 UTC 2024 - packman@nordisch.org - pkgconfig(nlohmann_json) is also needed outside of the websocket
View file
obs-studio.spec
Changed
@@ -14,6 +14,10 @@ %endif %bcond_with websockets +%if 0%{?suse_version} && 0%{?suse_version} < 1600 +%global force_gcc_version 13 +%endif + Name: obs-studio Version: 31.0.0~beta1 Release: 0 @@ -34,8 +38,8 @@ BuildRequires: fdupes BuildRequires: fontconfig-devel BuildRequires: freetype2-devel -BuildRequires: gcc -BuildRequires: gcc-c++ +BuildRequires: gcc%{?force_gcc_version} +BuildRequires: gcc%{?force_gcc_version}-c++ BuildRequires: hicolor-icon-theme BuildRequires: libXcomposite-devel BuildRequires: libXinerama-devel @@ -132,6 +136,11 @@ %endif %build +%if 0%{?force_gcc_version} +export CC="gcc-%{?force_gcc_version}" +export CXX="g++-%{?force_gcc_version}" +%endif + mkdir -p build && cd build # does not like cmake macro as it fails to link in math.h (-lma # the compile flags must be relaxed in order to compile obs-studio successfully
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
.