- 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:
Stefan Dirsch 2024-02-05 09:17:07 +00:00 committed by Git OBS Bridge
parent fc3929dde8
commit ebcbf3f8f8
2 changed files with 13 additions and 5 deletions

View File

@ -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>

View File

@ -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