disable static archive components
OBS-URL: https://build.opensuse.org/package/show/games/SDL3?expand=0&rev=3
This commit is contained in:
parent
8bdffdced9
commit
9a08ae65a0
12
SDL3.spec
12
SDL3.spec
@ -127,32 +127,26 @@ SDL3 C API.
|
|||||||
-DSDL_PIPEWIRE_SHARED:BOOL=OFF -DSDL_PULSEAUDIO_SHARED:BOOL=OFF \
|
-DSDL_PIPEWIRE_SHARED:BOOL=OFF -DSDL_PULSEAUDIO_SHARED:BOOL=OFF \
|
||||||
-DSDL_X11_SHARED:BOOL=OFF -DSDL_WAYLAND_SHARED:BOOL=OFF \
|
-DSDL_X11_SHARED:BOOL=OFF -DSDL_WAYLAND_SHARED:BOOL=OFF \
|
||||||
-DSDL_KMSDRM_SHARED:BOOL=OFF \
|
-DSDL_KMSDRM_SHARED:BOOL=OFF \
|
||||||
-DSDL_STATIC:BOOL=OFF -DSDL_STATIC_PIC:BOOL=ON -DSDL_RPATH:BOOL=OFF
|
-DSDL_STATIC:BOOL=OFF -DSDL_STATIC_PIC:BOOL=ON -DSDL_RPATH:BOOL=OFF \
|
||||||
|
-DSDL_TEST_LIBRARY:BOOL=OFF
|
||||||
|
|
||||||
%cmake_build
|
%cmake_build
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%cmake_install
|
%cmake_install
|
||||||
rm -Rf "%buildroot/%_datadir/licenses" # we use %%license
|
rm -Rf "%buildroot/%_datadir/licenses" # we use %%license
|
||||||
# Need to keep libSDL3main.a (empty lib), because it is referenced by
|
|
||||||
# sdl3-config.cmake, and it seems like that .cmake file cannot be edited to
|
|
||||||
# make SDL3::SDL3main a phony target with no file (just leads to more Makefile
|
|
||||||
# errors down the road).
|
|
||||||
|
|
||||||
%post -n %lname -p /sbin/ldconfig
|
%ldconfig_scriptlets -n %lname
|
||||||
%postun -n %lname -p /sbin/ldconfig
|
|
||||||
|
|
||||||
%files -n %lname
|
%files -n %lname
|
||||||
%license LICENSE.txt
|
%license LICENSE.txt
|
||||||
%_libdir/libSDL3.so.0*
|
%_libdir/libSDL3.so.0*
|
||||||
|
|
||||||
%files devel
|
%files devel
|
||||||
#%doc README.md README-SDL.txt WhatsNew.txt
|
|
||||||
%_libdir/libSDL3.so
|
%_libdir/libSDL3.so
|
||||||
%_includedir/SDL3/
|
%_includedir/SDL3/
|
||||||
%_libdir/pkgconfig/sdl3.pc
|
%_libdir/pkgconfig/sdl3.pc
|
||||||
%_libdir/cmake/SDL3/
|
%_libdir/cmake/SDL3/
|
||||||
%_libdir/libSDL3_test.a
|
|
||||||
|
|
||||||
%files devel-doc
|
%files devel-doc
|
||||||
%_mandir/man3/*.3*
|
%_mandir/man3/*.3*
|
||||||
|
Loading…
Reference in New Issue
Block a user