Projects
Multimedia
obs-backgroundremoval
obs-backgroundremoval.spec
Sign Up
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File obs-backgroundremoval.spec of Package obs-backgroundremoval
# # spec file for package obs-backgroundremoval # # Copyright (c) 2023 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-backgroundremoval Version: 1.1.6 Release: 0 Summary: OBS Plugin for Background Removal License: GPL-2.0 URL: https://github.com/royshil/obs-backgroundremoval Source: %{name}-%{version}.tar.gz Source1: %{name}-rpmlintrc Source2: opencv-linux-Release-4.8.0-1.tar.gz Source3: onnxruntime-linux-x64-gpu-1.15.1.tgz BuildRequires: cmake BuildRequires: gcc12-c++ BuildRequires: libcurl-devel BuildRequires: obs-studio BuildRequires: cmake(libobs) BuildRequires: cmake(Qt6Core) BuildRequires: cmake(Qt6Widgets) Requires: obs-studio >= 29.0.0 ExclusiveArch: x86_64 %global __requires_exclude_from ^.*libonnxruntime.*$ %global __builddir build_x86_64 %description An OBS plugin for removing background in portrait images (video), making it easy to replace the background when screen recording. %prep %autosetup %build %cmake \ -DCMAKE_C_COMPILER=gcc-12 \ -DCMAKE_CXX_COMPILER=g++-12 \ -DQT_VERSION=6 \ -DCMAKE_BUILD_TYPE=RelWithDebInfo \ -DCMAKE_POSITION_INDEPENDENT_CODE=ON \ -DENABLE_FRONTEND_API=ON \ -DENABLE_QT=ON \ -DCMAKE_COMPILE_WARNING_AS_ERROR=ON \ -DCUSTOM_OPENCV_URL=%{SOURCE2} \ -DCUSTOM_OPENCV_HASH=MD5=7a668fbc3ac536812643c6b8c8f96be9 \ -DCUSTOM_ONNXRUNTIME_URL=%{SOURCE3} \ -DCUSTOM_ONNXRUNTIME_MD5=8d2f5ee9f449bdecb10a45715fe74c53 %cmake_build %install %cmake_install %post %postun %files %license LICENSE %doc README.md %defattr(-,root,root,-) /usr/lib64/obs-plugins/obs-backgroundremoval.so /usr/lib64/obs-plugins/obs-backgroundremoval /usr/share/obs/obs-plugins/obs-backgroundremoval %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
.