diff --git a/SDL2.changes b/SDL2.changes index cd3ec24..f2a33ef 100644 --- a/SDL2.changes +++ b/SDL2.changes @@ -1,10 +1,3 @@ -------------------------------------------------------------------- -Fri Dec 2 23:51:23 UTC 2022 - Jan Engelhardt - -- Enable libsamplerate and libdecor components -- Remove unused tslib build requirement -- Link rather than dlopen libraries - ------------------------------------------------------------------- Thu Dec 1 20:38:41 UTC 2022 - Jan Engelhardt diff --git a/SDL2.spec b/SDL2.spec index bf6a44c..211b38c 100644 --- a/SDL2.spec +++ b/SDL2.spec @@ -33,7 +33,6 @@ Source4: baselibs.conf Patch1: sdl2-symvers.patch BuildRequires: cmake BuildRequires: gcc-c++ -BuildRequires: libdecor-devel BuildRequires: pkg-config BuildRequires: pkgconfig(alsa) >= 1.0.11 BuildRequires: pkgconfig(dbus-1) @@ -51,10 +50,9 @@ BuildRequires: pkgconfig(ice) # KMS/DRM driver needs libdrm and libgbm BuildRequires: pkgconfig(gbm) >= 11.1.0 BuildRequires: pkgconfig(libdrm) >= 2.4.82 -BuildRequires: pkgconfig(libpipewire-0.3) BuildRequires: pkgconfig(libpulse-simple) >= 0.9 BuildRequires: pkgconfig(libudev) -BuildRequires: pkgconfig(samplerate) +BuildRequires: pkgconfig(tslib) BuildRequires: pkgconfig(udev) BuildRequires: pkgconfig(wayland-client) >= 1.18 BuildRequires: pkgconfig(wayland-cursor) @@ -86,6 +84,9 @@ This is the "Simple DirectMedia Layer" library. It provides a generic API for access to audio, keyboard, mouse, and display framebuffer across multiple platforms. +SDL2 uses dlopen, so if you experience problems under X11, check +again that libXrandr2 and libXi6 are in fact installed. + %package devel Summary: SDL2 Library Developer Files Group: Development/Libraries/X11 @@ -112,7 +113,6 @@ perl -i -pe 's{\r\n}{\n}g' *.txt README.md %build %global _lto_cflags %_lto_cflags -ffat-lto-objects # In this instance, we do want --with-pic because of libSDL2main.a. -# --disable-*-shared -> controls dlopen rather than sharedness %configure --with-pic --disable-alsa-shared --disable-video-directfb \ --enable-video-kmsdrm --enable-video-wayland \ %if 0%{?sle_version} @@ -121,11 +121,7 @@ perl -i -pe 's{\r\n}{\n}g' *.txt README.md %ifarch ix86 --enable-sse2=no \ %endif - --enable-sse3=no --disable-rpath --disable-3dnow \ - --disable-alsa-shared --disable-pipewire-shared \ - --disable-pulseaudio-shared --disable-libsamplerate-shared \ - --disable-wayland-shared --disable-libdecor-shared \ - --disable-x11-shared --disable-kmsdrm-shared + --enable-sse3=no --disable-rpath --disable-3dnow %make_build %install