Use correct build options

This commit is contained in:
Neal Gompa 2021-12-01 08:36:37 -05:00
parent 0906fd7d1c
commit 2f6f04f449

View File

@ -10,7 +10,7 @@
Name: SDL2 Name: SDL2
Version: 2.0.18 Version: 2.0.18
Release: 1%{?dist} Release: 2%{?dist}
Summary: Cross-platform multimedia library Summary: Cross-platform multimedia library
License: zlib and MIT License: zlib and MIT
URL: http://www.libsdl.org/ URL: http://www.libsdl.org/
@ -106,23 +106,23 @@ export LDFLAGS="%{shrink:%{build_ldflags}}"
%cmake \ %cmake \
-DSDL_DLOPEN=ON \ -DSDL_DLOPEN=ON \
-DVIDEO_KMSDRM=ON \ -DSDL_VIDEO_KMSDRM=ON \
-DARTS=OFF \ -DSDL_ARTS=OFF \
-DESD=OFF \ -DSDL_ESD=OFF \
-DNAS=OFF \ -DSDL_NAS=OFF \
-DPULSEAUDIO_SHARED=ON \ -DSDL_PULSEAUDIO_SHARED=ON \
-DJACK_SHARED=ON \ -DSDL_JACK_SHARED=ON \
-DPIPEWIRE_SHARED=ON \ -DSDL_PIPEWIRE_SHARED=ON \
-DALSA=ON \ -DSDL_ALSA=ON \
-DVIDEO_WAYLAND=ON \ -DSDL_VIDEO_WAYLAND=ON \
-DLIBDECOR_SHARED=ON \ -DSDL_LIBDECOR_SHARED=ON \
-DVIDEO_VULKAN=ON \ -DSDL_VIDEO_VULKAN=ON \
-DSSE3=OFF \ -DSDL_SSE3=OFF \
-DRPATH=OFF \ -DSDL_RPATH=OFF \
-DSDL_STATIC=ON \ -DSDL_STATIC=ON \
-DSDL_STATIC_PIC=ON \ -DSDL_STATIC_PIC=ON \
%ifarch ppc64le %ifarch ppc64le
-DALTIVEC=OFF \ -DSDL_ALTIVEC=OFF \
%endif %endif
%cmake_build %cmake_build
@ -160,6 +160,9 @@ install -p -m 644 %{SOURCE2} %{buildroot}%{_includedir}/SDL2/SDL_revision.h
%{_libdir}/lib*.a %{_libdir}/lib*.a
%changelog %changelog
* Wed Dec 01 2021 Neal Gompa <ngompa@fedoraproject.org> - 2.0.18-2
- Use correct build options
* Wed Dec 01 2021 Neal Gompa <ngompa@fedoraproject.org> - 2.0.18-1 * Wed Dec 01 2021 Neal Gompa <ngompa@fedoraproject.org> - 2.0.18-1
- Update to 2.0.18 - Update to 2.0.18