Projects
home:umireon
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 (Revision 2)
Currently displaying revision
2
,
Show latest
# # 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.0.3 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-4.7.0.tar.gz Source3: onnxruntime-linux-x64-gpu-1.15.1.tgz BuildRequires: cmake BuildRequires: gcc-c++ BuildRequires: obs-studio BuildRequires: cmake(libobs) Requires: obs-studio >= 28.0.0 %global __requires_exclude_from ^.*libonnxruntime.*$ %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 -DLINUX_PORTABLE=OFF \ -DOPENCV_URL=%{SOURCE2} \ -DOPENCV_MD5=13e13244cb0cc6ec4f01eacd38d05d17 \ -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
.