diff --git a/wxGTK3.spec b/wxGTK3.spec index ccdf129..38e1a35 100644 --- a/wxGTK3.spec +++ b/wxGTK3.spec @@ -20,7 +20,7 @@ Name: %{wxgtkname} Version: 3.0.3 -Release: 0.7%{?usesnapshot:.git%{shortcommit0}}%{?dist} +Release: 0.8%{?usesnapshot:.git%{shortcommit0}}%{?dist} Summary: GTK port of the wxWidgets GUI library License: wxWidgets Group: System Environment/Libraries @@ -58,7 +58,7 @@ BuildRequires: libpng-devel BuildRequires: libjpeg-devel BuildRequires: libtiff-devel BuildRequires: expat-devel -BuildRequires: SDL-devel +BuildRequires: SDL2-devel BuildRequires: libGLU-devel BuildRequires: libSM-devel BuildRequires: gstreamer1-plugins-base-devel @@ -209,6 +209,8 @@ CXXFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing" export LDFLAGS="-Wl,--as-needed" # Trick configure into using pkg-config for cppunit-config export CPPUNIT_CONFIG="/usr/bin/pkg-config cppunit" +# Trick configure into building with SDL2 +export SDL_CONFIG=/usr/bin/sdl2-config %if 0%{?usesnapshot} #For snapshots, mo files need to be generated @@ -366,6 +368,9 @@ fi %doc docs/doxygen/out/xml/* %changelog +* Mon Apr 17 2017 Scott Talbert - 3.0.3-0.8.gite4293e9 +- Rebuild against SDL2 + * Wed Mar 08 2017 Scott Talbert - 3.0.3-0.7.gite4293e9 - Update to newer git snapshot - Remove GStreamer patch as it has been incorporated upstream