1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-02-15 13:33:36 +02:00

[rpm] switch to SDL2

This commit is contained in:
Mikhail Paulyshka 2015-04-02 23:28:02 +03:00
parent 1529464610
commit 2833fed2bf

View File

@ -12,12 +12,13 @@ Group: Amusements/Games
Source: vcmi-0.98-1.tar.gz Source: vcmi-0.98-1.tar.gz
URL: http://forum.vcmi.eu/portal.php URL: http://forum.vcmi.eu/portal.php
BuildRequires: cmake BuildRequires: cmake
BuildRequires: gcc-c++ >= 4.7.2 BuildRequires: gcc-c++ >= 4.7.2
BuildRequires: SDL-devel BuildRequires: SDL2-devel
BuildRequires: SDL_image-devel BuildRequires: SDL2_image-devel
BuildRequires: SDL_ttf-devel BuildRequires: SDL2_ttf-devel
BuildRequires: SDL_mixer-devel >= 1.2.8 BuildRequires: SDL2_mixer-devel
BuildRequires: boost >= 1.51 BuildRequires: boost >= 1.51
BuildRequires: boost-devel >= 1.51 BuildRequires: boost-devel >= 1.51
BuildRequires: boost-filesystem >= 1.51 BuildRequires: boost-filesystem >= 1.51
@ -32,14 +33,13 @@ BuildRequires: ffmpeg-libs
BuildRequires: qt5-qtbase-devel BuildRequires: qt5-qtbase-devel
%description %description
VCMI is an open-source project aiming to reimplement HMM3:WoG game engine, giving it new and extended possibilities.
VCMI is an open-source project aiming to reimplement HoMM3 game engine, giving it new and extended possibilities. VCMI is an open-source project aiming to reimplement HoMM3 game engine, giving it new and extended possibilities.
%prep %prep
%setup -q -n %{name}-%{version}-1 %setup -q -n %{name}-%{version}-1
%build %build
cmake -DCMAKE_INSTALL_PREFIX=/usr ./ -DENABLE_LAUNCHER=ON -DENABLE_PCH=ON cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=/usr ./
make %{?_smp_mflags} make %{?_smp_mflags}
%install %install
@ -47,7 +47,7 @@ rm -rf %{buildroot}
make DESTDIR=%{buildroot} install make DESTDIR=%{buildroot} install
%files %files
%doc README README.linux COPYING AUTHORS ChangeLog %doc README.md README.linux license.txt AUTHORS ChangeLog
%{_bindir}/vcmiclient %{_bindir}/vcmiclient
%{_bindir}/vcmiserver %{_bindir}/vcmiserver
%{_bindir}/vcmibuilder %{_bindir}/vcmibuilder