- disabled compiling samples, tools and tutorials, which are no
longer packaged anyway OBS-URL: https://build.opensuse.org/package/show/X11:XOrg/libmfx?expand=0&rev=61
This commit is contained in:
parent
fc3929dde8
commit
ebcbf3f8f8
@ -1,3 +1,9 @@
|
||||
-------------------------------------------------------------------
|
||||
Mon Feb 5 09:07:36 UTC 2024 - Stefan Dirsch <sndirsch@suse.com>
|
||||
|
||||
- disabled compiling samples, tools and tutorials, which are no
|
||||
longer packaged anyway
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sat Feb 3 18:29:23 UTC 2024 - Stefan Dirsch <sndirsch@suse.com>
|
||||
|
||||
|
12
libmfx.spec
12
libmfx.spec
@ -91,9 +91,11 @@ cmake \
|
||||
-DENABLE_TEXTLOG:BOOL=ON \
|
||||
-DENABLE_STAT:BOOL=ON \
|
||||
-DBUILD_TESTS:BOOL=OFF \
|
||||
-DBUILD_TOOLS:BOOL=ON \
|
||||
-DBUILD_TOOLS:BOOL=OFF \
|
||||
-DENABLE_ITT:BOOL=OFF \
|
||||
-DBUILD_KERNELS:BOOL=OFF \
|
||||
-DBUILD_TUTORIALS:BOOL=OFF \
|
||||
-DBUILD_SAMPLES:BOOL=OFF \
|
||||
..
|
||||
make %{?_smp_mflags}
|
||||
popd
|
||||
@ -102,10 +104,10 @@ popd
|
||||
pushd build
|
||||
%make_install
|
||||
popd
|
||||
mkdir -p %{buildroot}/%{_libdir}/mfx/samples
|
||||
mv %{buildroot}/%{_datadir}/mfx/samples/* \
|
||||
%{buildroot}/%{_libdir}/mfx/samples
|
||||
rmdir %{buildroot}/%{_datadir}/mfx/samples
|
||||
#mkdir -p %{buildroot}/%{_libdir}/mfx/samples
|
||||
#mv %{buildroot}/%{_datadir}/mfx/samples/* \
|
||||
# %{buildroot}/%{_libdir}/mfx/samples
|
||||
#rmdir %{buildroot}/%{_datadir}/mfx/samples
|
||||
|
||||
%post -n %lname -p /sbin/ldconfig
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user