Changes of Revision 11

obs-backgroundremoval.spec Changed
x
 
1
@@ -31,12 +31,14 @@
2
 BuildRequires:  obs-studio
3
 BuildRequires:  libcurl-devel
4
 BuildRequires:  cmake(libobs)
5
-BuildRequires:  qt6-widgets-devel
6
+BuildRequires:  cmake(Qt6Core)
7
+BuildRequires:  cmake(Qt6Widgets)
8
 Requires:       libcurl4
9
 Requires:       obs-studio >= 29.0.0
10
 ExclusiveArch:  x86_64
11
 
12
 %global __requires_exclude_from ^.*libonnxruntime.*$
13
+%global __builddir build_x86_64
14
 
15
 %description
16
 An OBS plugin for removing background in portrait images (video), making it easy to replace the background when screen recording.
17
@@ -45,7 +47,7 @@
18
 %autosetup
19
 
20
 %build
21
-%cmake \
22
+%cmake --preset linux-ci-x86_64 \
23
   -DCUSTOM_OPENCV_URL=%{SOURCE2} \
24
   -DCUSTOM_OPENCV_HASH=MD5=7a668fbc3ac536812643c6b8c8f96be9 \
25
   -DCUSTOM_ONNXRUNTIME_URL=%{SOURCE3} \
26